summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 13:36:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 06:32:00 +0000
commit3c73942c8c4b97ee9ede65890e1b1db3cac753c5 (patch)
tree1d7187f7c02211f5cc1658022aed0437885d7bdf /cui/source
parent121a202076f0ada98e5e3697e4e15a48b477523e (diff)
loplugin:countusersofdefaultparams in include/svx..unotools
Change-Id: I02e933da66241e99e3b81d90d679f1502bab3fef Reviewed-on: https://gerrit.libreoffice.org/30866 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/factory/dlgfact.hxx2
-rw-r--r--cui/source/tabpages/paragrph.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index adf568ecaaae..2170fd8b637e 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -587,7 +587,7 @@ public:
virtual VclPtr<SfxAbstractTabDialog> CreateSvxLineTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr,
SdrModel* pModel,
const SdrObject* pObj,
- bool bHasObj = true ) override;
+ bool bHasObj ) override;
virtual VclPtr<AbstractSvxPostItDialog> CreateSvxPostItDialog( vcl::Window* pParent,
const SfxItemSet& rCoreSet,
bool bPrevNext = false ) override;
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index e8ffffa958b1..2f630444a9c7 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -610,11 +610,11 @@ void SvxStdParagraphTabPage::EnableRelativeMode()
{
DBG_ASSERT( GetItemSet().GetParent(), "RelativeMode, but no parent-set!" );
- m_pLeftIndent->EnableRelativeMode( 0, 999 );
- m_pFLineIndent->EnableRelativeMode( 0, 999 );
- m_pRightIndent->EnableRelativeMode( 0, 999 );
- m_pTopDist->EnableRelativeMode( 0, 999 );
- m_pBottomDist->EnableRelativeMode( 0, 999 );
+ m_pLeftIndent->EnableRelativeMode( 0, 999, 5 );
+ m_pFLineIndent->EnableRelativeMode( 0, 999, 5 );
+ m_pRightIndent->EnableRelativeMode( 0, 999, 5 );
+ m_pTopDist->EnableRelativeMode( 0, 999, 5 );
+ m_pBottomDist->EnableRelativeMode( 0, 999, 5 );
bRelativeMode = true;
}