summaryrefslogtreecommitdiff
path: root/tools/inc/tools/string.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/inc/tools/string.hxx')
-rw-r--r--tools/inc/tools/string.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx
index a8726b5b53da..4ace1289ffdd 100644
--- a/tools/inc/tools/string.hxx
+++ b/tools/inc/tools/string.hxx
@@ -176,6 +176,8 @@ private:
void operator +=(int); // not implemented; to detect misuses
// of operator +=(sal_Char)
+ static sal_Size ConvertFromUnicode( sal_Unicode c, sal_Char* pBuf, sal_Size nBufLen,
+ rtl_TextEncoding eTextEncoding );
public:
ByteString();
ByteString( const ByteString& rStr );
@@ -255,12 +257,8 @@ public:
ByteString& Convert( rtl_TextEncoding eSource,
rtl_TextEncoding eTarget,
sal_Bool bReplace = sal_True );
- static sal_Char ConvertFromUnicode( sal_Unicode c,
- rtl_TextEncoding eTextEncoding,
- sal_Bool bReplace = sal_True );
- static sal_Size ConvertFromUnicode( sal_Unicode c, sal_Char* pBuf, sal_Size nBufLen,
- rtl_TextEncoding eTextEncoding,
- sal_Bool bReplace = sal_True );
+ static sal_Char ConvertFromUnicode(sal_Unicode c,
+ rtl_TextEncoding eTextEncoding);
ByteString& ConvertLineEnd( LineEnd eLineEnd );
ByteString& ConvertLineEnd()
{ return ConvertLineEnd( GetSystemLineEnd() ); }