summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextObject.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 17:57:54 +0200
committerSlávek Banko <[email protected]>2016-09-03 17:57:54 +0200
commit0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d (patch)
tree08d92ab43c99c6b557571ab8261588b2968b6c5c /kpresenter/KPrTextObject.cpp
parenta3814fe7ed9a0e00589137b194a4ebbfec75079b (diff)
downloadkoffice-0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d.tar.gz
koffice-0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kpresenter/KPrTextObject.cpp')
-rw-r--r--kpresenter/KPrTextObject.cpp4
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;