diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-22 12:40:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-23 11:10:08 +0200 |
commit | 7651fbe98dac41496120c82d1341362dbe45a82a (patch) | |
tree | 773f77ab53c364379a5a400f73878d3dda6a756f /fpicker/source/office/fpinteraction.cxx | |
parent | 32efd885e5a36f3146f6f7d7b6cd6f2f5531e920 (diff) |
fpicker: sal_Bool->bool
Change-Id: I73fd5d0ad28185f53df66408e1e981a3d73482b4
Diffstat (limited to 'fpicker/source/office/fpinteraction.cxx')
-rw-r--r-- | fpicker/source/office/fpinteraction.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx index e2d614f5b444..50e92260c27f 100644 --- a/fpicker/source/office/fpinteraction.cxx +++ b/fpicker/source/office/fpinteraction.cxx @@ -35,7 +35,7 @@ namespace svt OFilePickerInteractionHandler::OFilePickerInteractionHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxMaster ) :m_xMaster( _rxMaster ) - ,m_bUsed( sal_False ) + ,m_bUsed( false ) ,m_eInterceptions( OFilePickerInteractionHandler::E_NOINTERCEPTION ) { DBG_ASSERT( m_xMaster.is(), "OFilePickerInteractionHandler::OFilePickerInteractionHandler: invalid master handler!" ); @@ -52,7 +52,7 @@ namespace svt if (!_rxRequest.is()) return; - m_bUsed = sal_True; + m_bUsed = true; // extract some generic continuations ... might we need it later // if something goes wrong. @@ -115,7 +115,7 @@ namespace svt } - sal_Bool OFilePickerInteractionHandler::wasUsed() const + bool OFilePickerInteractionHandler::wasUsed() const { return m_bUsed; } @@ -123,7 +123,7 @@ namespace svt void OFilePickerInteractionHandler::resetUseState() { - m_bUsed = sal_False; + m_bUsed = false; } @@ -133,7 +133,7 @@ namespace svt } - sal_Bool OFilePickerInteractionHandler::wasAccessDenied() const + bool OFilePickerInteractionHandler::wasAccessDenied() const { InteractiveIOException aIoException; if ( @@ -141,9 +141,9 @@ namespace svt (IOErrorCode_ACCESS_DENIED == aIoException.Code) ) { - return sal_True; + return true; } - return sal_False; + return false; } |