diff options
author | Tsutomu Uchino <hanya@apache.org> | 2014-01-13 08:23:02 +0000 |
---|---|---|
committer | Tsutomu Uchino <hanya@apache.org> | 2014-01-13 08:23:02 +0000 |
commit | 0635f5cb82f0bb0717b8e74cded79a6fbb0f064c (patch) | |
tree | 0ce920a2d14224392a30dc5570b39f8d6d34ba68 /sc | |
parent | 8cae5708c761ba10a87f3616a669df03e6ba0039 (diff) |
#i91494# use the same font height for CJK text with Western in drawing object on Calc drawing layer
Notes
merged as: c1516d668f3f9c86de2f6e9c4bce60f152c7eb32
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 3f4e2d5012e5..838a8a195669 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -274,10 +274,16 @@ ScDrawLayer::ScDrawLayer( ScDocument* pDocument, const String& rName ) : // #95129# SJ: set FontHeight pool defaults without changing static SdrEngineDefaults SfxItemPool* pOutlinerPool = rOutliner.GetEditTextObjectPool(); if ( pOutlinerPool ) + { pItemPool->SetPoolDefaultItem(SvxFontHeightItem( 423, 100, EE_CHAR_FONTHEIGHT )); // 12Pt + pItemPool->SetPoolDefaultItem(SvxFontHeightItem( 423, 100, EE_CHAR_FONTHEIGHT_CJK )); // 12Pt + } SfxItemPool* pHitOutlinerPool = rHitOutliner.GetEditTextObjectPool(); if ( pHitOutlinerPool ) + { pHitOutlinerPool->SetPoolDefaultItem(SvxFontHeightItem( 423, 100, EE_CHAR_FONTHEIGHT )); // 12Pt + pHitOutlinerPool->SetPoolDefaultItem(SvxFontHeightItem( 423, 100, EE_CHAR_FONTHEIGHT_CJK )); // 12Pt + } // initial undo mode as in Calc document if( pDoc ) |