From 0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 17:57:54 +0200 Subject: Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kpresenter/KPrTextObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kpresenter/KPrTextObject.cpp') 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; -- cgit v1.2.1