summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-27 10:01:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-27 10:01:19 +0100
commita720ff09d8ee03248865599a691314199925dbf8 (patch)
tree88215e04a831d39d3783d2bf1bd68d1343bcf26a /tools
parent7c542bf0daf49f6c733d3f0af0f6e4dee6928479 (diff)
Related: fdo#38838 AllocBuffer is now unused
Change-Id: Ib2cf99f3dd9ce5e3acc7364d07d6b6e5d03de423
Diffstat (limited to 'tools')
-rw-r--r--tools/source/string/tustring.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index 6487eb7628c7..839603e7aae9 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -265,22 +265,6 @@ void STRING::ReleaseBufferAccess( xub_StrLen nLen )
mpData->mnLen = nLen;
}
-STRCODE* STRING::AllocBuffer( xub_StrLen nLen )
-{
- DBG_CHKTHIS( STRING, DBGCHECKSTRING );
-
- STRING_RELEASE((STRING_TYPE *)mpData);
- if ( nLen )
- mpData = ImplAllocData( nLen );
- else
- {
- mpData = NULL;
- STRING_NEW((STRING_TYPE **)&mpData);
- }
-
- return mpData->maStr;
-}
-
STRING& STRING::Insert( STRCODE c, xub_StrLen nIndex )
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );