summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-09 13:02:01 +0200
committerNoel Grandin <noel@peralex.com>2016-05-09 13:11:52 +0200
commit70d5cd845d4fe218588155cf43bdf854e8fc54f3 (patch)
treed4f31d68add52375d0e170a3050b31427b0b9232 /cui
parent6e970c11645f1a05638e49da9e2911fe59628838 (diff)
fix windows and android build
Change-Id: I4644c1e5ac143efc6b1e75d041f71fe7d9156f0c
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/chardlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 9f53b7a97680..2ea4aa69b6d9 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