summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-24 18:20:41 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 22:59:28 -0600
commit621cdc7a446e500a6c1b7fd417199be34cdaf3da (patch)
treecd75c013ac4a3ab30c4aebecd80b4f678282aaa1 /svl/inc
parenta8fe23a16082deb749b0ad8bfef93ef90ef9ce07 (diff)
migrate user of InsertBlanks to OUString
Change-Id: Idc7379daf25a226622e5599124df2ab68b98902a
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/zformat.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/svl/inc/svl/zformat.hxx b/svl/inc/svl/zformat.hxx
index 8e9dd9523190..8958663626fd 100644
--- a/svl/inc/svl/zformat.hxx
+++ b/svl/inc/svl/zformat.hxx
@@ -386,7 +386,16 @@ public:
/** Insert the number of blanks into the string that is needed to simulate
the width of character c for underscore formats */
- static xub_StrLen InsertBlanks( String& r, xub_StrLen nPos, sal_Unicode c );
+ static sal_Int32 InsertBlanks( OUString& r, sal_Int32 nPos, sal_Unicode c )
+ {
+ sal_Int32 result;
+ OUStringBuffer sBuff(r);
+
+ result = InsertBlanks(sBuff, nPos, c);
+ r = sBuff.makeStringAndClear();
+
+ return result;
+ }
/** Insert the number of blanks into the string that is needed to simulate
the width of character c for underscore formats */