summaryrefslogtreecommitdiff
path: root/unotools/inc
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-22 18:06:02 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-26 12:43:22 +0000
commit4e907bc366d8691a33ec0be389f211e22c6e87d3 (patch)
tree540e80e60537893b62ccc6710c03fdec3ee7175f /unotools/inc
parent269b72069746578dd0d89de6b44adb715c39173b (diff)
Replace String with OUString in RecodeString
Change-Id: I987f738d1cd7d640a253f3cd31864290b6d763bf Reviewed-on: https://gerrit.libreoffice.org/2919 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/fontdefs.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/unotools/inc/unotools/fontdefs.hxx b/unotools/inc/unotools/fontdefs.hxx
index f92346440f57..60c37d498045 100644
--- a/unotools/inc/unotools/fontdefs.hxx
+++ b/unotools/inc/unotools/fontdefs.hxx
@@ -22,6 +22,8 @@
#include <unotools/unotoolsdllapi.h>
#include <sal/types.h>
#include <tools/string.hxx>
+#include <rtl/ustring.hxx>
+#include <rtl/ustrbuf.hxx>
namespace utl {
class FontSubstConfiguration;
@@ -54,7 +56,7 @@ public:
const char* mpSubsFontName;
sal_Unicode (*mpCvtFunc)( sal_Unicode );
sal_Unicode RecodeChar( sal_Unicode c ) const;
- void RecodeString( String& rStra, xub_StrLen nIndex, xub_StrLen nLen ) const;
+ void RecodeString( OUString& rStra, sal_Int32 nIndex, sal_Int32 nLen ) const;
static const ConvertChar* GetRecodeData( const String& rOrgFontName, const String& rMapFontName );
};