Kaydet (Commit) d12e4724 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

comphelper: sal_Bool -> bool sequel

Change-Id: I2b9bd19abf4510fccef0374a539069cb8222ccae
üst 14a502e4
...@@ -1241,13 +1241,13 @@ bool EmbeddedObjectContainer::InsertGraphicStream( const com::sun::star::uno::Re ...@@ -1241,13 +1241,13 @@ bool EmbeddedObjectContainer::InsertGraphicStream( const com::sun::star::uno::Re
throw uno::RuntimeException(); throw uno::RuntimeException();
xPropSet->setPropertyValue("UseCommonStoragePasswordEncryption", xPropSet->setPropertyValue("UseCommonStoragePasswordEncryption",
uno::makeAny( (sal_Bool)sal_True ) ); uno::makeAny( true ) );
uno::Any aAny; uno::Any aAny;
aAny <<= rMediaType; aAny <<= rMediaType;
xPropSet->setPropertyValue("MediaType", aAny ); xPropSet->setPropertyValue("MediaType", aAny );
xPropSet->setPropertyValue("Compressed", xPropSet->setPropertyValue("Compressed",
uno::makeAny( (sal_Bool)sal_True ) ); uno::makeAny( true ) );
} }
catch (const uno::Exception&) catch (const uno::Exception&)
{ {
...@@ -1271,9 +1271,9 @@ bool EmbeddedObjectContainer::InsertGraphicStreamDirectly( const com::sun::star: ...@@ -1271,9 +1271,9 @@ bool EmbeddedObjectContainer::InsertGraphicStreamDirectly( const com::sun::star:
aProps[0].Name = "MediaType"; aProps[0].Name = "MediaType";
aProps[0].Value <<= rMediaType; aProps[0].Value <<= rMediaType;
aProps[1].Name = "UseCommonStoragePasswordEncryption"; aProps[1].Name = "UseCommonStoragePasswordEncryption";
aProps[1].Value <<= (sal_Bool)sal_True; aProps[1].Value <<= true;
aProps[2].Name = "Compressed"; aProps[2].Name = "Compressed";
aProps[2].Value <<= (sal_Bool)sal_True; aProps[2].Value <<= true;
if ( xReplacement->hasByName( rObjectName ) ) if ( xReplacement->hasByName( rObjectName ) )
xReplacement->removeElement( rObjectName ); xReplacement->removeElement( rObjectName );
......
...@@ -136,7 +136,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ ) ...@@ -136,7 +136,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ )
uno::Reference< beans::XPropertySet > xPropertySet( xDesktop, uno::UNO_QUERY_THROW ); uno::Reference< beans::XPropertySet > xPropertySet( xDesktop, uno::UNO_QUERY_THROW );
OUString aVetoPropName( "SuspendQuickstartVeto" ); OUString aVetoPropName( "SuspendQuickstartVeto" );
uno::Any aValue; uno::Any aValue;
aValue <<= (sal_Bool)sal_True; aValue <<= true;
xPropertySet->setPropertyValue( aVetoPropName, aValue ); xPropertySet->setPropertyValue( aVetoPropName, aValue );
try try
...@@ -147,7 +147,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ ) ...@@ -147,7 +147,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ )
if ( !bSuccess ) if ( !bSuccess )
{ {
aValue <<= (sal_Bool)sal_False; aValue <<= false;
xPropertySet->setPropertyValue( aVetoPropName, aValue ); xPropertySet->setPropertyValue( aVetoPropName, aValue );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment