summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 32967d0f0bf8..92c4ba424b20 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -904,7 +904,7 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory)
{
eUnit = FUNIT_CUSTOM;
nDigits = 0;
- pMF->SetCustomUnitText( '%' );
+ pMF->SetCustomUnitText(rtl::OUString('%'));
}
else
{
@@ -1519,7 +1519,7 @@ IMPL_LINK( SmSymbolDialog, GetClickHdl, Button *, EMPTYARG pButton )
const SmSym *pSym = GetSymbol();
if (pSym)
{
- String aText ('%');
+ String aText = rtl::OUString('%');
aText += pSym->GetName();
aText += (sal_Unicode)' ';