summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-30 15:25:26 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-30 17:33:53 +0200
commit84fb4be390a7a09c27f3aa1f004c022f0cdc192a (patch)
tree569f66c35ad260da7ab21f20432c2458e02c445e /cui
parent4d23189aee9adeb87e749a21305f22a43fb3fb17 (diff)
editeng: rename misleading SvxBoxItem::GetDistance()/SetDistance()
Change-Id: Iea61f2de2b907974bbb05c66abf6cdaeab87b8b2
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/border.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index c999db8486c3..5ea3bdcae8f0 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -496,7 +496,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet* rSet )
nDefDist != nRightDist ||
nDefDist != nTopDist ||
nDefDist != nBottomDist);
- if((pBoxItem->GetDistance() ||
+ if ((pBoxItem->GetSmallestDistance() ||
bIsAnyBorderVisible) && bDiffDist )
{
m_pLeftMF->SetModifyFlag();