diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-16 22:51:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-17 17:55:19 +0100 |
commit | 05f742d28b3786f44781af5b069c05c16b84decd (patch) | |
tree | dacb340f99ad4e47d20557eee04e6f69f5d15721 /sfx2 | |
parent | ucbhelper: sal_Bool -> bool (diff) | |
download | core-05f742d28b3786f44781af5b069c05c16b84decd.tar.gz core-05f742d28b3786f44781af5b069c05c16b84decd.zip |
comphelper: sal_Bool -> bool
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/DocumentMetadataAccess.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx index 4d74e08182cc..37622afc65a0 100644 --- a/sfx2/source/doc/DocumentMetadataAccess.cxx +++ b/sfx2/source/doc/DocumentMetadataAccess.cxx @@ -236,7 +236,7 @@ static bool isFileNameValid(const OUString & i_rFileName) segment == "." || // no . segments segment == ".." || // no .. segments !::comphelper::OStorageHelper::IsValidZipEntryFileName( - segment, sal_False)) // no invalid characters + segment, false)) // no invalid characters return false; } while (idx >= 0); return true; diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index 5338ec9c59c9..1610923f989c 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -962,7 +962,7 @@ bool SfxOleSection::SetAnyValue( sal_Int32 nPropId, const Any& rValue ) ::com::sun::star::util::Date aApiDate; if( rValue.getValueType() == ::getBooleanCppuType() ) - SetBoolValue( nPropId, ::comphelper::getBOOL( rValue ) == sal_True ); + SetBoolValue( nPropId, ::comphelper::getBOOL( rValue ) ); else if( rValue >>= nInt32 ) SetInt32Value( nPropId, nInt32 ); else if( rValue >>= fDouble ) diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index f6944a9d3dee..b9b644a495fb 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -198,7 +198,7 @@ static sal_Bool AskPasswordToModify_Impl( const uno::Reference< task::XInteracti bMSType ? ::comphelper::DocPasswordRequestType_MS : ::comphelper::DocPasswordRequestType_STANDARD, bFirstTime ? ::com::sun::star::task::PasswordRequestMode_PASSWORD_ENTER : ::com::sun::star::task::PasswordRequestMode_PASSWORD_REENTER, aPath, - sal_True ) ); + true ) ); uno::Reference< com::sun::star::task::XInteractionRequest > rRequest( pPasswordRequest.get() ); xHandler->handle( rRequest ); |