summaryrefslogtreecommitdiffstats
path: root/kpresenter
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter')
-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;