summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optpage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r--sw/source/ui/config/optpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 784a9b533b3a..7cdca6a5c1a9 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -600,7 +600,7 @@ static void lcl_SetColl(SwWrtShell* pWrtShell, sal_uInt16 nType,
aFont = pPrt->GetFontMetric( aFont );
SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(nType);
pColl->SetFmtAttr(SvxFontItem(aFont.GetFamily(), aFont.GetName(),
- aEmptyStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich));
+ aEmptyOUStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich));
}
static void lcl_SetColl(SwWrtShell* pWrtShell, sal_uInt16 nType,
@@ -678,7 +678,7 @@ sal_Bool SwStdFontTabPage::FillItemSet( SfxItemSet& )
if( pPrinter )
aFont = pPrinter->GetFontMetric( aFont );
pWrtShell->SetDefault(SvxFontItem(aFont.GetFamily(), aFont.GetName(),
- aEmptyStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich));
+ aEmptyOUStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich));
SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(RES_POOLCOLL_STANDARD);
pColl->ResetFmtAttr(nFontWhich);
bMod = true;