From 9585c8b8c8d8724cc1bad4a2060c828c15599929 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 22 Mar 2016 10:58:54 +0200 Subject: loplugin:constantparam in sw Change-Id: I56925a8fd776b3ee787cc26adbaa08c58dd022c0 --- sw/source/uibase/dochdl/gloshdl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/source/uibase/dochdl') diff --git a/sw/source/uibase/dochdl/gloshdl.cxx b/sw/source/uibase/dochdl/gloshdl.cxx index 581189b35aee..630149f39d9b 100644 --- a/sw/source/uibase/dochdl/gloshdl.cxx +++ b/sw/source/uibase/dochdl/gloshdl.cxx @@ -45,7 +45,6 @@ #include #include #include -#include #include #include @@ -408,7 +407,7 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName, for(size_t i = 0; i < nGroupCount; ++i) { // get group name with path-extension - const OUString sGroupName = pGlossaryList->GetGroupName(i, false); + const OUString sGroupName = pGlossaryList->GetGroupName(i); if(sGroupName == pGlossary->GetName()) continue; const sal_uInt16 nBlockCount = pGlossaryList->GetBlockCount(i); -- cgit