summaryrefslogtreecommitdiff
path: root/svtools/source/filter/sgvtext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/filter/sgvtext.cxx')
-rw-r--r--svtools/source/filter/sgvtext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/sgvtext.cxx b/svtools/source/filter/sgvtext.cxx
index 3f59d6a3e014..3d77afd442b0 100644
--- a/svtools/source/filter/sgvtext.cxx
+++ b/svtools/source/filter/sgvtext.cxx
@@ -693,7 +693,7 @@ sal_uInt16 GetCharWidth(OutputDevice& rOut, UCHAR c)
if (c==' ')
{
- ChrWidth=(sal_uInt16)rOut.GetTextWidth( String('A') );
+ ChrWidth=(sal_uInt16)rOut.GetTextWidth( rtl::OUString('A') );
if (rOut.GetFont().GetPitch()!=PITCH_FIXED) {
ChrWidth=MulDiv(ChrWidth,DefaultSpace,100);
}