summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/string.hxx3
-rw-r--r--tools/source/string/strcvt.cxx14
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 )
{