summaryrefslogtreecommitdiff
path: root/sw/source/uibase/lingu/hhcwrp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/lingu/hhcwrp.cxx')
-rw-r--r--sw/source/uibase/lingu/hhcwrp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/lingu/hhcwrp.cxx b/sw/source/uibase/lingu/hhcwrp.cxx
index 7bc308468315..bdd6c4aa3b02 100644
--- a/sw/source/uibase/lingu/hhcwrp.cxx
+++ b/sw/source/uibase/lingu/hhcwrp.cxx
@@ -85,7 +85,7 @@ SwHHCWrapper::SwHHCWrapper(
const uno::Reference< uno::XComponentContext >& rxContext,
LanguageType nSourceLanguage,
LanguageType nTargetLanguage,
- const Font *pTargetFont,
+ const vcl::Font *pTargetFont,
sal_Int32 nConvOptions,
bool bIsInteractive,
bool bStart, bool bOther, bool bSelection )
@@ -148,7 +148,7 @@ SwHHCWrapper::~SwHHCWrapper()
//!! Note: This also effects the default language of text boxes (EditEngine/EditView) !!
pDoc->SetDefault( SvxLanguageItem( nTargetLang, RES_CHRATR_CJK_LANGUAGE ) );
- const Font *pFont = GetTargetFont();
+ const vcl::Font *pFont = GetTargetFont();
if (pFont)
{
SvxFontItem aFontItem( pFont->GetFamily(), pFont->GetName(),
@@ -499,7 +499,7 @@ void SwHHCWrapper::ReplaceUnit(
aSet.Put( SvxLanguageItem( *pNewUnitLanguage, RES_CHRATR_CJK_LANGUAGE ) );
}
- const Font *pTargetFont = GetTargetFont();
+ const vcl::Font *pTargetFont = GetTargetFont();
OSL_ENSURE( pTargetFont, "target font missing?" );
if (pTargetFont && pNewUnitLanguage)
{