summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-09 13:44:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-09 13:56:00 +0100
commit4fd1c9781fb2042eced9ea1b51c8e0b83c603e3a (patch)
tree74a683f8561e30f8bde9847416ae3c052317ffef /cui
parent0f9f361311967375cf8e3409ebc7168322641189 (diff)
use define rather than raw numbers
Change-Id: I62802256780abe92f89a8cde066b26353fc3362a
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optpath.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index fad0d74bd32f..b69dbd89270d 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -228,8 +228,8 @@ SvxPathTabPage::SvxPathTabPage(Window* pParent, const SfxItemSet& rSet)
0,
HIB_LEFT | HIB_VCENTER );
- long nWidth1 = rBar.GetTextWidth(rBar.GetItemText(1));
- long nWidth2 = rBar.GetTextWidth(rBar.GetItemText(2));
+ long nWidth1 = rBar.GetTextWidth(rBar.GetItemText(ITEMID_TYPE));
+ long nWidth2 = rBar.GetTextWidth(rBar.GetItemText(ITEMID_PATH));
long aTabs[] = {3, 0, 0, 0};
aTabs[2] = nWidth1 + 12;