summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/output2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index edfdf60e226f..de84767a1d23 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -567,7 +567,7 @@ void ScDrawStringsVars::RepeatToFill( long colWidth )
return;
long nCharsToInsert = aSpaceToFill / charWidth;
- StringBuffer aFill;
+ OUStringBuffer aFill;
comphelper::string::padToLength(aFill, nCharsToInsert, nChar);
aString.Insert( aFill.makeStringAndClear(), nPos);
TextChanged();