summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 14:52:24 +0200
committerNoel Grandin <noel@peralex.com>2016-03-02 07:57:36 +0200
commitbd5ceabb533a3af7e4140e195de885bf23f650bf (patch)
tree5178589f4616f7d5da32e88eb09f3a73279f63ff /sfx2/source/doc/doctempl.cxx
parent0d34f4ac9b17348d7956285c6cefb28bea2537b6 (diff)
loplugin:unuseddefaultparam in sfx2
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 69a99d030bed..0592e28bd62b 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -1218,11 +1218,9 @@ SfxDocumentTemplates::~SfxDocumentTemplates()
pImp = nullptr;
}
-void SfxDocumentTemplates::Update( bool _bSmart )
+void SfxDocumentTemplates::Update( )
{
- if ( !_bSmart // don't be smart
- || ::svt::TemplateFolderCache( true ).needsUpdate() // update is really necessary
- )
+ if ( ::svt::TemplateFolderCache( true ).needsUpdate() ) // update is really necessary
{
if ( pImp->Construct() )
pImp->Rescan();