summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-09 14:25:11 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-12 22:06:27 -0400
commit3ded6117176a474588914a02bae3265aa3d58f12 (patch)
tree1cc5df386296631e451bd5cbe061b86ac5cc5a69 /sw
parent3f6d4de28cf5abd7ab043c1009c4b45028a78a1d (diff)
loplugin:constantparam in editeng
Change-Id: I078061c502c09bccf515151d3a5bdcd1176e64fb (cherry picked from commit 70fca3e901e41fa52589eb3f06e6839c4a8582de)
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/SidebarWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index 4d4feb66f0cb..0d3791257708 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -1438,7 +1438,7 @@ IMPL_LINK_NOARG_TYPED(SwSidebarWin, DeleteHdl, void*, void)
void SwSidebarWin::ResetAttributes()
{
mpOutlinerView->RemoveAttribsKeepLanguages(true);
- mpOutliner->RemoveFields(true);
+ mpOutliner->RemoveFields();
mpOutlinerView->SetAttribs(DefaultItem());
}