summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
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;