diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-19 08:46:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-19 09:59:25 +0100 |
commit | d953f02bc8e9cb3a569072da68a5c53d5fdefa51 (patch) | |
tree | fb8f947026657033970516c0f1dbe34b7979b888 /tools/source/string/strimp.cxx | |
parent | a4968af0d141b60d65c0a2b0ebcdf91599f7fe3d (diff) |
remove ByteString::Assign(sal_Char)
Diffstat (limited to 'tools/source/string/strimp.cxx')
-rw-r--r-- | tools/source/string/strimp.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/source/string/strimp.cxx b/tools/source/string/strimp.cxx index da98a85e09a6..495b15aa4616 100644 --- a/tools/source/string/strimp.cxx +++ b/tools/source/string/strimp.cxx @@ -428,20 +428,6 @@ STRING& STRING::Assign( const STRCODE* pCharStr, xub_StrLen nLen ) // ----------------------------------------------------------------------- -STRING& STRING::Assign( STRCODE c ) -{ - DBG_CHKTHIS( STRING, DBGCHECKSTRING ); - DBG_ASSERT( c, "String::Assign() - c is 0" ); - - // Verwaltungsdaten anlegen und initialisieren - STRING_RELEASE((STRING_TYPE *)mpData); - mpData = ImplAllocData( 1 ); - mpData->maStr[0] = c; - return *this; -} - -// ----------------------------------------------------------------------- - STRING& STRING::Append( const STRING& rStr ) { DBG_CHKTHIS( STRING, DBGCHECKSTRING ); |