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

Noel Grandin noel at peralex.com
Mon May 9 11:12:29 UTC 2016


 cui/source/tabpages/chardlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 70d5cd845d4fe218588155cf43bdf854e8fc54f3
Author: Noel Grandin <noel at peralex.com>
Date:   Mon May 9 13:02:01 2016 +0200

    fix windows and android build
    
    Change-Id: I4644c1e5ac143efc6b1e75d041f71fe7d9156f0c

diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 9f53b7a..2ea4aa6 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -1982,7 +1982,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet )
         rCJKFont.SetEmphasisMark( eMark );
         rCTLFont.SetEmphasisMark( eMark );
 
-        m_pEmphasisLB->SelectEntryPos( (sal_Int32)( eMark & FontEmphasisMark::Style ) );
+        m_pEmphasisLB->SelectEntryPos( (sal_Int32)FontEmphasisMark( eMark & FontEmphasisMark::Style ) );
         eMark &= ~FontEmphasisMark::Style;
         sal_uLong nEntryData = ( eMark == FontEmphasisMark::PosAbove )
             ? CHRDLG_POSITION_OVER


More information about the Libreoffice-commits mailing list