summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-20 20:09:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-21 09:17:32 +0100
commit9e6917c21e8a2fa5c40adeddafdaf704a67aef4a (patch)
tree11e3552c58b8a57aba624cb51c133f61ddbaf8c5
parent3714051f1495791095cce885918d48dce7b339f7 (diff)
Related: fdo#38838 remove String::ToInt32
Change-Id: I6f90e9a06acaa5af88cd011015938dba2059ee0e
-rw-r--r--include/tools/string.hxx2
-rw-r--r--tools/source/string/tustring.cxx5
2 files changed, 0 insertions, 7 deletions
diff --git a/include/tools/string.hxx b/include/tools/string.hxx
index 5df5f23b528f..87b268d07243 100644
--- a/include/tools/string.hxx
+++ b/include/tools/string.hxx
@@ -174,8 +174,6 @@ public:
{ return Append( UniString( concat ) ); }
#endif
- sal_Int32 ToInt32() const;
-
UniString& operator =( const OUString& rStr )
{ return Assign( rStr ); }
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index 1476dff0a03f..d386c6abbe4a 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -47,11 +47,6 @@ DBG_NAME( UniString )
UniString::UniString(char c): mpData(ImplAllocData(1)) { mpData->maStr[0] = c; }
-sal_Int32 UniString::ToInt32() const
-{
- return rtl_ustr_toInt32( mpData->maStr, 10 );
-}
-
STRING& STRING::Insert( STRCODE c, xub_StrLen nIndex )
{
// Don't insert 0 char or string size is maximum