diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 14:31:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 14:31:09 +0100 |
commit | d12e4724748752b62b38f15f1223df5b87a00530 (patch) | |
tree | 51adbd2d8fc42d0e0a63abe7547b3f4a65624f0a /comphelper | |
parent | 14a502e4988574e4c56d2653d2170e1b14576d4d (diff) |
comphelper: sal_Bool -> bool sequel
Change-Id: I2b9bd19abf4510fccef0374a539069cb8222ccae
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/embeddedobjectcontainer.cxx | 8 | ||||
-rw-r--r-- | comphelper/source/misc/officerestartmanager.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index eaa97721f1a8..ebe4df1f28ea 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1241,13 +1241,13 @@ bool EmbeddedObjectContainer::InsertGraphicStream( const com::sun::star::uno::Re throw uno::RuntimeException(); xPropSet->setPropertyValue("UseCommonStoragePasswordEncryption", - uno::makeAny( (sal_Bool)sal_True ) ); + uno::makeAny( true ) ); uno::Any aAny; aAny <<= rMediaType; xPropSet->setPropertyValue("MediaType", aAny ); xPropSet->setPropertyValue("Compressed", - uno::makeAny( (sal_Bool)sal_True ) ); + uno::makeAny( true ) ); } catch (const uno::Exception&) { @@ -1271,9 +1271,9 @@ bool EmbeddedObjectContainer::InsertGraphicStreamDirectly( const com::sun::star: aProps[0].Name = "MediaType"; aProps[0].Value <<= rMediaType; aProps[1].Name = "UseCommonStoragePasswordEncryption"; - aProps[1].Value <<= (sal_Bool)sal_True; + aProps[1].Value <<= true; aProps[2].Name = "Compressed"; - aProps[2].Value <<= (sal_Bool)sal_True; + aProps[2].Value <<= true; if ( xReplacement->hasByName( rObjectName ) ) xReplacement->removeElement( rObjectName ); diff --git a/comphelper/source/misc/officerestartmanager.cxx b/comphelper/source/misc/officerestartmanager.cxx index 3977fd8c5eea..aec471e511ee 100644 --- a/comphelper/source/misc/officerestartmanager.cxx +++ b/comphelper/source/misc/officerestartmanager.cxx @@ -136,7 +136,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ ) uno::Reference< beans::XPropertySet > xPropertySet( xDesktop, uno::UNO_QUERY_THROW ); OUString aVetoPropName( "SuspendQuickstartVeto" ); uno::Any aValue; - aValue <<= (sal_Bool)sal_True; + aValue <<= true; xPropertySet->setPropertyValue( aVetoPropName, aValue ); try @@ -147,7 +147,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ ) if ( !bSuccess ) { - aValue <<= (sal_Bool)sal_False; + aValue <<= false; xPropertySet->setPropertyValue( aVetoPropName, aValue ); } } |