summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-12 23:52:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-13 10:15:23 +0100
commitba2ec933db81fc178b3661291fb4949ec677575c (patch)
tree9ba5c9f3e9687808b5711fe7ce7585ec2aaeb265 /tools
parentddf93e2c09481609c4f5fe4ab6750379146379cc (diff)
make ByteString::Convert private
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/string.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx
index 0ddeef0f2d60..62d55b2090e2 100644
--- a/tools/inc/tools/string.hxx
+++ b/tools/inc/tools/string.hxx
@@ -181,6 +181,11 @@ private:
// Append(char)
void operator +=(int); // not implemented; to detect misuses
// of operator +=(sal_Char)
+
+ ByteString& Convert( rtl_TextEncoding eSource,
+ rtl_TextEncoding eTarget,
+ sal_Bool bReplace = sal_True );
+
public:
ByteString();
ByteString( const ByteString& rStr );
@@ -245,10 +250,6 @@ public:
ByteString& EraseLeadingAndTrailingChars( sal_Char c = ' ' );
ByteString& EraseAllChars( sal_Char c = ' ' );
- ByteString& Convert( rtl_TextEncoding eSource,
- rtl_TextEncoding eTarget,
- sal_Bool bReplace = sal_True );
-
ByteString& ConvertLineEnd( LineEnd eLineEnd );
ByteString& ConvertLineEnd()
{ return ConvertLineEnd( GetSystemLineEnd() ); }