summaryrefslogtreecommitdiff
path: root/tools/source/string
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-18 23:57:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-19 09:59:24 +0100
commit2b7fdc51dc418ac4d9719ece12d383a6661df1cd (patch)
treeadc9cc780bb6debf7a96e551d3f8adc63dea7397 /tools/source/string
parent4ca4cd66694b553717f7540b9c247e77c0e8fe56 (diff)
shrink ByteString api
Diffstat (limited to 'tools/source/string')
-rw-r--r--tools/source/string/strimp.cxx12
-rw-r--r--tools/source/string/tustring.cxx12
2 files changed, 12 insertions, 12 deletions
diff --git a/tools/source/string/strimp.cxx b/tools/source/string/strimp.cxx
index b83b39c312f5..da98a85e09a6 100644
--- a/tools/source/string/strimp.cxx
+++ b/tools/source/string/strimp.cxx
@@ -326,18 +326,6 @@ STRING::STRING( const STRCODE* pCharStr, xub_StrLen nLen )
// -----------------------------------------------------------------------
-STRING::STRING( STRCODE c )
-{
- DBG_CTOR( STRING, DBGCHECKSTRING );
- DBG_ASSERT( c, "String::String() - c is 0" );
-
- // Verwaltungsdaten anlegen und initialisieren
- mpData = ImplAllocData( 1 );
- mpData->maStr[0] = c;
-}
-
-// -----------------------------------------------------------------------
-
STRING::~STRING()
{
DBG_DTOR( STRING, DBGCHECKSTRING );
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index 30c973ecb9c9..30a0fd508f49 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -564,4 +564,16 @@ STRCODE* STRING::AllocBuffer( xub_StrLen nLen )
return mpData->maStr;
}
+// -----------------------------------------------------------------------
+
+STRING::STRING( STRCODE c )
+{
+ DBG_CTOR( STRING, DBGCHECKSTRING );
+ DBG_ASSERT( c, "String::String() - c is 0" );
+
+ // Verwaltungsdaten anlegen und initialisieren
+ mpData = ImplAllocData( 1 );
+ mpData->maStr[0] = c;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */