summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-21 13:12:42 +0200
committerNoel Grandin <noel@peralex.com>2015-08-21 15:02:41 +0200
commit0ab1e76a29bbd667a208d63e3b6fe207d32d8374 (patch)
tree14bdec6929b8f47b79b43f32d18a0966b5538bf2 /sw/source/uibase/shells
parent123ee9606938abc2be03ab7d35b66544141ade64 (diff)
loplugin:defaultparams
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r--sw/source/uibase/shells/annotsh.cxx2
-rw-r--r--sw/source/uibase/shells/basesh.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index 614b18177c98..f736e6b8c19a 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -852,7 +852,7 @@ void SwAnnotationShell::GetState(SfxItemSet& rSet)
if(nEEWhich)
{
- rSet.Put(aEditAttr.Get(nEEWhich, true), nWhich);
+ rSet.Put(aEditAttr.Get(nEEWhich), nWhich);
if(nEEWhich == EE_CHAR_KERNING)
{
SfxItemState eState = aEditAttr.GetItemState( EE_CHAR_KERNING, true );
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 2102494000c4..e3eec1c26230 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1385,7 +1385,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
if ( rSh.IsTableMode() )
{
SwFrameFormat *pFormat = rSh.GetTableFormat();
- aSet.Put(pFormat->GetFormatAttr( nWhich, true ));
+ aSet.Put(pFormat->GetFormatAttr( nWhich ));
}
else if( rSh.IsFrmSelected() )
{