summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-12-13 23:28:18 +0100
committerEike Rathke <erack@redhat.com>2016-12-13 23:31:59 +0100
commit5965a4ae5eacb874102af6c4ebdb5147e1544ef6 (patch)
tree032042f26fb0e6a5fcbab49bb9648c14eb204142 /cui
parent3bd6a8c21ff325b77fb2805158115145edf5ffb5 (diff)
use LINK_TOKEN define instead of 0x80 constant
... and comment the relation between those two. Change-Id: I696b09a392e29abd7eed192631a25da81d34d21b
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/numpages.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 4d765ab6b4b1..343470b6ec64 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -1173,8 +1173,10 @@ SvxNumOptionsTabPage::SvxNumOptionsTabPage(vcl::Window* pParent,
eCoreUnit = rSet.GetPool()->GetMetric(rSet.GetPool()->GetWhich(SID_ATTR_NUMBERING_RULE));
// Get advanced numbering types from the component.
- // Watch out for the ugly 0x88/*SVX_NUM_BITMAP|0x80*/ to not remove that.
- SvxNumOptionsTabPageHelper::GetI18nNumbering( *m_pFmtLB, (SVX_NUM_BITMAP | 0x80));
+ // Watch out for the ugly
+ // 136 == 0x88 == SVX_NUM_BITMAP|0x80 == SVX_NUM_BITMAP|LINK_TOKEN
+ // to not remove that.
+ SvxNumOptionsTabPageHelper::GetI18nNumbering( *m_pFmtLB, (SVX_NUM_BITMAP | LINK_TOKEN));
}
SvxNumOptionsTabPage::~SvxNumOptionsTabPage()