diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 17:57:54 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 17:58:05 +0200 |
commit | 8abf888c7d3f3a277fe04ef97df6185dadd9fa48 (patch) | |
tree | 6f66259872aef1e5216e5ca43da2d2b27d83b703 /kpresenter/KPrTextObject.cpp | |
parent | 08500cc118c149f1c8364eaf9ab505ace28913fa (diff) | |
download | koffice-8abf888c7d3f3a277fe04ef97df6185dadd9fa48.tar.gz koffice-8abf888c7d3f3a277fe04ef97df6185dadd9fa48.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d)
Diffstat (limited to 'kpresenter/KPrTextObject.cpp')
-rw-r--r-- | kpresenter/KPrTextObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrTextObject.cpp b/kpresenter/KPrTextObject.cpp index 2d02f6cc..d4fc82bc 100644 --- a/kpresenter/KPrTextObject.cpp +++ b/kpresenter/KPrTextObject.cpp @@ -2407,11 +2407,11 @@ TQDragObject * KPrTextView::newDrag( TQWidget * parent ) oasisStore.closeContentWriter(); if ( !store->open( "styles.xml" ) ) - return false; + return 0; //manifestWriter->addManifestEntry( "styles.xml", "text/xml" ); doc->saveOasisDocumentStyles( store, mainStyles, 0, savingContext, KPrDocument::SaveSelected /* simply means not SaveAll */ ); if ( !store->close() ) // done with styles.xml - return false; + return 0; delete store; |