summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 13:38:26 +0200
committerNoel Grandin <noel@peralex.com>2014-03-18 11:27:38 +0200
commitac01de882d368c4d8044361f874edd4b53e33f2b (patch)
tree50b56ce1efa549fec4b69d04ae9f1cd4ecb3ccfe /sfx2/source/view
parent399724aba4b7297a262a775d000ddf4534e38b6c (diff)
sfx2: sal_Bool->bool
Change-Id: I87c5a180566e9da185c2992844e6522e82c17747
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/frmload.cxx2
-rw-r--r--sfx2/source/view/ipclient.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx8
-rw-r--r--sfx2/source/view/viewfrm2.cxx2
-rw-r--r--sfx2/source/view/viewprn.cxx2
5 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx
index 73263dcb955d..a73b754d6daf 100644
--- a/sfx2/source/view/frmload.cxx
+++ b/sfx2/source/view/frmload.cxx
@@ -405,7 +405,7 @@ void SfxFrameLoader_Impl::impl_determineFilter( ::comphelper::NamedValueCollecti
SfxObjectShellRef SfxFrameLoader_Impl::impl_findObjectShell( const Reference< XModel2 >& i_rxDocument ) const
{
- for ( SfxObjectShell* pDoc = SfxObjectShell::GetFirst( NULL, sal_False ); pDoc; pDoc = SfxObjectShell::GetNext( *pDoc, NULL, sal_False ) )
+ for ( SfxObjectShell* pDoc = SfxObjectShell::GetFirst( NULL, false ); pDoc; pDoc = SfxObjectShell::GetNext( *pDoc, NULL, false ) )
{
if ( i_rxDocument == pDoc->GetModel() )
{
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 0b16d01a9fc7..3d51f9ab46d7 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -302,7 +302,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject()
if ( !pDocShell )
throw uno::RuntimeException();
- pDocShell->SetModified( sal_True );
+ pDocShell->SetModified( true );
//TODO/LATER: invalidation might be necessary when object was modified, but is not
//saved through this method
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index be41c0f6e100..7a521a9c3972 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -430,11 +430,11 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
// open mode among other things, so call SetOpenMode before
// SetReadOnlyUI:
pMed->SetOpenMode( nOpenMode );
- pSh->SetReadOnlyUI( sal_False );
+ pSh->SetReadOnlyUI( false );
return;
}
- pSh->SetReadOnlyUI( sal_False );
+ pSh->SetReadOnlyUI( false );
}
if ( rReq.IsAPI() )
@@ -716,7 +716,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
if (!pDocTemplateItem)
pNewSet->Put( SfxUInt16Item(SID_UPDATEDOCMODE,::com::sun::star::document::UpdateDocMode::ACCORDING_TO_CONFIG) );
- xOldObj->SetModified( sal_False );
+ xOldObj->SetModified( false );
// Do not chache the old Document! Is invalid when loading
// another document.
@@ -792,7 +792,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
{
if ( xNewObj->GetModifyPasswordHash() && xNewObj->GetModifyPasswordHash() != xOldObj->GetModifyPasswordHash() )
{
- xNewObj->SetModifyPasswordEntered( sal_False );
+ xNewObj->SetModifyPasswordEntered( false );
xNewObj->SetReadOnly();
}
else if ( rReq.GetSlot() == SID_EDITDOC )
diff --git a/sfx2/source/view/viewfrm2.cxx b/sfx2/source/view/viewfrm2.cxx
index b48b76ed0026..b5a4ebb349c9 100644
--- a/sfx2/source/view/viewfrm2.cxx
+++ b/sfx2/source/view/viewfrm2.cxx
@@ -254,7 +254,7 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq )
if ( ( bOther || pDocSh->PrepareClose( bUI ) ) )
{
if ( !bOther )
- pDocSh->SetModified( sal_False );
+ pDocSh->SetModified( false );
rReq.Done(); // Must call this before Close()!
bClosed = sal_False;
try
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 3e7e990876b7..f5eece378b2c 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -300,7 +300,7 @@ void SfxPrinterController::jobStarted()
// check configuration: shall update of printing information in DocInfo set the document to "modified"?
if ( m_bOrigStatus && !SvtPrintWarningOptions().IsModifyDocumentOnPrintingAllowed() )
{
- mpObjectShell->EnableSetModified( sal_False );
+ mpObjectShell->EnableSetModified( false );
m_bNeedsChange = sal_True;
}