summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objstor.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 16:21:26 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:46 +0200
commit435d6d50c3cdb6711942ee40dc2fae1865361845 (patch)
treeae76659dca1dfb867c99ae7ca66add9cf3c8ac2d /sfx2/source/doc/objstor.cxx
parent96a2aa94b2a68e12ab74cb6d8f4a16f6c63e4ccf (diff)
loplugin:constantparam in sfx2
Change-Id: I50a2d8221f907f0e844e558f3dbdd0346c010201
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r--sfx2/source/doc/objstor.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 07a3c6dbe5c0..cfc8710804e6 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1519,13 +1519,13 @@ bool SfxObjectShell::SaveTo_Impl
// add new version information into the versionlist and save the versionlist
// the version list must have been transferred from the "old" medium before
rMedium.AddVersion_Impl( aInfo );
- rMedium.SaveVersionList_Impl( true );
+ rMedium.SaveVersionList_Impl();
bOk = PutURLContentsToVersionStream_Impl( aTmpVersionURL, xMedStorage, aInfo.Identifier );
}
}
else if ( bOk && ( pImp->bIsSaving || pImp->bPreserveVersions ) )
{
- rMedium.SaveVersionList_Impl( true );
+ rMedium.SaveVersionList_Impl();
}
}
@@ -2035,7 +2035,7 @@ bool SfxObjectShell::DoSaveCompleted( SfxMedium* pNewMed )
if( pFilter && !IsPackageStorageFormat_Impl( *pMedium ) && (pMedium->GetOpenMode() & StreamMode::WRITE ))
{
pMedium->ReOpen();
- bOk = SaveCompletedChildren( false );
+ bOk = SaveCompletedChildren();
}
else
bOk = SaveCompleted( nullptr );
@@ -3144,7 +3144,7 @@ bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
return bResult;
}
-bool SfxObjectShell::SaveCompletedChildren( bool bSuccess )
+bool SfxObjectShell::SaveCompletedChildren()
{
bool bResult = true;
@@ -3162,7 +3162,7 @@ bool SfxObjectShell::SaveCompletedChildren( bool bSuccess )
{
try
{
- xPersist->saveCompleted( bSuccess );
+ xPersist->saveCompleted( false/*bSuccess*/ );
}
catch( uno::Exception& )
{
@@ -3208,7 +3208,7 @@ bool SfxObjectShell::SaveCompleted( const uno::Reference< embed::XStorage >& xSt
if ( !xStorage.is() || xStorage == GetStorage() )
{
// no persistence change
- bResult = SaveCompletedChildren( false );
+ bResult = SaveCompletedChildren();
}
else
{