summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-21 19:56:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-22 09:14:19 +0100
commitb2e954e300f51120387a55bf237cafdcd40ed7e6 (patch)
treeeba358db20f85ed5f5de337646fa3a1448093237 /tools
parent80d4770ee093531d619df65b7f8260e7a05823b5 (diff)
Related: fdo#38838 remove UniString::UniString(const ResId&)
Change-Id: Id881fe3f9c7c89a7bcc1a5d8f653e18494ffa913
Diffstat (limited to 'tools')
-rw-r--r--tools/source/string/strucvt.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/source/string/strucvt.cxx b/tools/source/string/strucvt.cxx
index 9ed5a2063fb4..be8c72de7920 100644
--- a/tools/source/string/strucvt.cxx
+++ b/tools/source/string/strucvt.cxx
@@ -59,25 +59,6 @@ UniString& UniString::Assign( const OUString& rStr )
#include <tools/rc.hxx>
#include <tools/rcid.h>
-UniString::UniString( const ResId& rResId )
- : mpData(NULL)
-{
- OUString sStr(rResId.toString());
-
- OSL_ENSURE(sStr.pData->length < STRING_MAXLEN,
- "Overflowing OUString -> UniString cut to zero length");
-
- if (sStr.pData->length < STRING_MAXLEN)
- {
- mpData = reinterpret_cast< UniStringData * >(sStr.pData);
- STRING_ACQUIRE((STRING_TYPE *)mpData);
- }
- else
- {
- STRING_NEW((STRING_TYPE **)&mpData);
- }
-}
-
OUString ResId::toString() const
{
SetRT( RSC_STRING );