From fe4901829f7e1ff397945a7abd5af977a80978e9 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sun, 9 Nov 2014 20:00:53 +0100 Subject: SetStrmStgPtr can return bool instead of sal_True/sal_False in an int Change-Id: I5348977de17d3f916cecabe4b5c3f7630a89667e --- sw/source/filter/basflt/shellio.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sw/source/filter/basflt/shellio.cxx') diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 497d11c3015f..052c607e98d5 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -574,7 +574,7 @@ void Reader::MakeHTMLDummyTemplateDoc() // Users that do not need to open these Streams / Storages, // have to overload this method -int Reader::SetStrmStgPtr() +bool Reader::SetStrmStgPtr() { OSL_ENSURE( pMedium, "Where is the Media??" ); @@ -583,7 +583,7 @@ int Reader::SetStrmStgPtr() if( SW_STORAGE_READER & GetReaderType() ) { xStg = pMedium->GetStorage(); - return sal_True; + return true; } } else @@ -597,12 +597,12 @@ int Reader::SetStrmStgPtr() else if ( !(SW_STREAM_READER & GetReaderType()) ) { pStrm = NULL; - return sal_False; + return false; } - return sal_True; + return true; } - return sal_False; + return false; } int Reader::GetReaderType() -- cgit