[Libreoffice-commits] core.git: cui/source

Eike Rathke erack at redhat.com
Tue Dec 13 22:32:45 UTC 2016


 cui/source/tabpages/numpages.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 5965a4ae5eacb874102af6c4ebdb5147e1544ef6
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Dec 13 23:28:18 2016 +0100

    use LINK_TOKEN define instead of 0x80 constant
    
    ... and comment the relation between those two.
    
    Change-Id: I696b09a392e29abd7eed192631a25da81d34d21b

diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 4d765ab..343470b 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()


More information about the Libreoffice-commits mailing list