diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:17 +0200 |
commit | e5da350e4dd9b175c2f50cb392b23a805dac9a27 (patch) | |
tree | 1abf5f6a2342a09895ade05a92a3550897c14e38 /sfx2/source/doc/objmisc.cxx | |
parent | c85cda1eb461d1b27b49ad746e2b2299908b9e75 (diff) |
loplugin: defaultparams
Change-Id: Ibff26c023655d36f0fa71ead399a6116c2988607
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index ff6099de91ac..a45c99f00686 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -213,7 +213,7 @@ void SfxObjectShell::FlushDocInfo() if ( IsLoading() ) return; - SetModified(true); + SetModified(); uno::Reference<document::XDocumentProperties> xDocProps(getDocProperties()); DoFlushDocInfo(); // call template method OUString url(xDocProps->getAutoloadURL()); @@ -555,7 +555,7 @@ bool SfxObjectShell::SwitchToShared( bool bShared, bool bSave ) if ( pViewFrame ) { // TODO/LATER: currently the application guards against the reentrance problem - SetModified( true ); // the modified flag has to be set to let the document be stored with the shared flag + SetModified(); // the modified flag has to be set to let the document be stored with the shared flag const SfxPoolItem* pItem = pViewFrame->GetBindings().ExecuteSynchron( HasName() ? SID_SAVEDOC : SID_SAVEASDOC ); const SfxBoolItem* pResult = PTR_CAST( SfxBoolItem, pItem ); bResult = ( pResult && pResult->GetValue() ); @@ -1215,7 +1215,7 @@ void SfxObjectShell::FinishedLoading( SfxLoadedFlags nFlags ) bSetModifiedTRUE = true; if ( !IsEnableSetModified() ) - EnableSetModified( true ); + EnableSetModified(); if( !bSetModifiedTRUE && IsEnableSetModified() ) SetModified( false ); @@ -1252,7 +1252,7 @@ void SfxObjectShell::FinishedLoading( SfxLoadedFlags nFlags ) // should do the notification, in result the notification is done when all the FinishedLoading() calls are finished if ( bSetModifiedTRUE ) - SetModified( true ); + SetModified(); else SetModified( false ); @@ -1363,7 +1363,7 @@ void SfxObjectShell::TemplateDisconnectionAfterLoad() { // some further initializations for templates SetTemplate_Impl( aName, aTemplateName, this ); - pTmpMedium->CreateTempFile( true ); + pTmpMedium->CreateTempFile(); } // templates are never readonly @@ -1418,7 +1418,7 @@ void SfxObjectShell::CancelTransfers() { AbortImport(); if( IsLoading() ) - FinishedLoading( SfxLoadedFlags::ALL ); + FinishedLoading(); } } |