summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/paragrph.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-01 14:21:06 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-02 07:14:20 +0000
commit5e7cf50756232b08964dfb15d027697b4eba004f (patch)
tree6dd2019c2945b1cd55d7663f30789c9a1db90617 /cui/source/tabpages/paragrph.cxx
parentfd3d1bbaa9ab338f374fd20798fca71a888c9ab7 (diff)
SetXXX(bool) with a default value of false are just wrong
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/tabpages/paragrph.cxx')
-rw-r--r--cui/source/tabpages/paragrph.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 1544e8d3482d..1c19ea8ec920 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -450,7 +450,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
}
else
{
- m_pLeftIndent->SetRelative();
+ m_pLeftIndent->SetRelative(false);
SetFieldUnit( *m_pLeftIndent, eFUnit );
SetMetricValue( *m_pLeftIndent, rOldItem.GetTextLeft(), eUnit );
}
@@ -462,7 +462,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
}
else
{
- m_pRightIndent->SetRelative();
+ m_pRightIndent->SetRelative(false);
SetFieldUnit( *m_pRightIndent, eFUnit );
SetMetricValue( *m_pRightIndent, rOldItem.GetRight(), eUnit );
}
@@ -474,7 +474,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
}
else
{
- m_pFLineIndent->SetRelative();
+ m_pFLineIndent->SetRelative(false);
m_pFLineIndent->SetMin(-9999);
SetFieldUnit( *m_pFLineIndent, eFUnit );
SetMetricValue( *m_pFLineIndent, rOldItem.GetTextFirstLineOfst(),
@@ -520,7 +520,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
}
else
{
- m_pTopDist->SetRelative();
+ m_pTopDist->SetRelative(false);
if ( eFUnit == FUNIT_CHAR )
SetFieldUnit( *m_pTopDist, FUNIT_LINE );
else
@@ -535,7 +535,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
}
else
{
- m_pBottomDist->SetRelative();
+ m_pBottomDist->SetRelative(false);
if ( eFUnit == FUNIT_CHAR )
SetFieldUnit( *m_pBottomDist, FUNIT_LINE );
else