diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 21:20:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-12 11:51:10 +0100 |
commit | fd0e548c4a1528499e95ff169866ed153d08bf54 (patch) | |
tree | c4f9666325a2cee76296e50a61ca37eb88508701 /tools | |
parent | 616fa2e637852d31d61342625ce9c7d92834904d (diff) |
shrink api further
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/string.hxx | 3 | ||||
-rw-r--r-- | tools/source/string/strcvt.cxx | 14 |
2 files changed, 0 insertions, 17 deletions
diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx index 72f7489ef324..a1428a6c2f73 100644 --- a/tools/inc/tools/string.hxx +++ b/tools/inc/tools/string.hxx @@ -189,9 +189,6 @@ public: ByteString( const UniString& rUniStr, xub_StrLen nPos, xub_StrLen nLen, rtl_TextEncoding eTextEncoding, sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); - ByteString( const sal_Unicode* pUniStr, - rtl_TextEncoding eTextEncoding, - sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); ByteString( const sal_Unicode* pUniStr, xub_StrLen nLen, rtl_TextEncoding eTextEncoding, sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); diff --git a/tools/source/string/strcvt.cxx b/tools/source/string/strcvt.cxx index 1345a87d3297..22bb517e8582 100644 --- a/tools/source/string/strcvt.cxx +++ b/tools/source/string/strcvt.cxx @@ -82,20 +82,6 @@ ByteString::ByteString( const UniString& rUniStr, xub_StrLen nPos, xub_StrLen nL // ----------------------------------------------------------------------- -ByteString::ByteString( const sal_Unicode* pUniStr, - rtl_TextEncoding eTextEncoding, sal_uInt32 nCvtFlags ) -{ - DBG_CTOR( ByteString, DbgCheckByteString ); - DBG_ASSERT( pUniStr, "ByteString::ByteString() - pUniStr is NULL" ); - - mpData = NULL; - rtl_uString2String( (rtl_String **)(&mpData), - pUniStr, ImplStringLen( pUniStr ), - eTextEncoding, nCvtFlags ); -} - -// ----------------------------------------------------------------------- - ByteString::ByteString( const sal_Unicode* pUniStr, xub_StrLen nLen, rtl_TextEncoding eTextEncoding, sal_uInt32 nCvtFlags ) { |