summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-21 11:41:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-21 14:26:33 +0100
commit6e03e292e5e887053dfd7746d6f9df12abc0bab7 (patch)
tree346488139e14effc46c2e0751991e84fd3867211 /tools
parent42def53fb1fee0b4e57279d11c05e54601aeed1b (diff)
Related: fdo#38838 remove a pile of ctors
Change-Id: I5d19eadc3dc24b0aeeb61c677f440eef83af78c2
Diffstat (limited to 'tools')
-rw-r--r--tools/source/string/strucvt.cxx25
-rw-r--r--tools/source/string/tustring.cxx2
2 files changed, 0 insertions, 27 deletions
diff --git a/tools/source/string/strucvt.cxx b/tools/source/string/strucvt.cxx
index f85d7d6c6f65..9ed5a2063fb4 100644
--- a/tools/source/string/strucvt.cxx
+++ b/tools/source/string/strucvt.cxx
@@ -17,31 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-UniString::UniString( const char* pByteStr,
- rtl_TextEncoding eTextEncoding, sal_uInt32 nCvtFlags )
-{
- DBG_ASSERT( pByteStr, "UniString::UniString() - pByteStr is NULL" );
-
- mpData = NULL;
- rtl_string2UString( (rtl_uString **)(&mpData),
- pByteStr, ImplStringLen( pByteStr ),
- eTextEncoding, nCvtFlags );
-}
-
-UniString::UniString( const char* pByteStr, xub_StrLen nLen,
- rtl_TextEncoding eTextEncoding, sal_uInt32 nCvtFlags )
-{
- DBG_ASSERT( pByteStr, "UniString::UniString() - pByteStr is NULL" );
-
- if ( nLen == STRING_LEN )
- nLen = ImplStringLen( pByteStr );
-
- mpData = NULL;
- rtl_string2UString( (rtl_uString **)(&mpData),
- pByteStr, nLen,
- eTextEncoding, nCvtFlags );
-}
-
UniString::UniString( const OUString& rStr )
: mpData(NULL)
{
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index f4f3bd27086d..cc4f27d3915b 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -45,8 +45,6 @@ DBG_NAME( UniString )
#include <strimp.cxx>
#include <strucvt.cxx>
-UniString::UniString(char c): mpData(ImplAllocData(1)) { mpData->maStr[0] = c; }
-
StringCompare STRING::CompareTo( const STRING& rStr, xub_StrLen nLen ) const
{
if ( mpData == rStr.mpData )