diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 01:42:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:04:35 +0100 |
commit | d65c43f31b40d9ea33a35749df32916332d5baa6 (patch) | |
tree | 7c08611a865e19c804eee70f910ed01dd6979890 | |
parent | 361e89bd672d1e3c75c70d57972f887d7e5883e0 (diff) |
callcatcher: unused ImpGetDefaultFontsLanguage
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index f7a18f4f2d1d..c8d87094c447 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -819,32 +819,6 @@ void SdrModel::SetTextDefaults() const SetTextDefaults( pItemPool, nDefTextHgt ); } -void ImpGetDefaultFontsLanguage( SvxFontItem& rLatin, SvxFontItem& rAsian, SvxFontItem& rComplex) -{ - const sal_uInt16 nItemCnt = 3; - static struct { - sal_uInt16 nFntType, nLanguage; - } aOutTypeArr[ nItemCnt ] = { - { DEFAULTFONT_LATIN_TEXT, LANGUAGE_ENGLISH_US }, - { DEFAULTFONT_CJK_TEXT, LANGUAGE_ENGLISH_US }, - { DEFAULTFONT_CTL_TEXT, LANGUAGE_ARABIC_SAUDI_ARABIA } - }; - SvxFontItem* aItemArr[ nItemCnt ] = { &rLatin, &rAsian, &rComplex }; - - for( sal_uInt16 n = 0; n < nItemCnt; ++n ) - { - Font aFnt( OutputDevice::GetDefaultFont( - aOutTypeArr[ n ].nFntType, aOutTypeArr[ n ].nLanguage, - DEFAULTFONT_FLAGS_ONLYONE, 0 )); - SvxFontItem* pI = aItemArr[ n ]; - pI->SetFamily( aFnt.GetFamily()); - pI->SetFamilyName( aFnt.GetName()); - pI->SetStyleName( String() ); - pI->SetPitch( aFnt.GetPitch()); - pI->SetCharSet( aFnt.GetCharSet() ); - } -} - void SdrModel::SetTextDefaults( SfxItemPool* pItemPool, sal_uIntPtr nDefTextHgt ) { // #95114# set application-language specific dynamic pool language defaults |