summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-20 11:37:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-20 12:57:34 +0000
commit55a40209072bac2526e74d5be7dd7be5ccd2c175 (patch)
tree3dd0257a893fcd6ff16ab164608b952f65041a94 /basic
parenta92129ec175a1362e61a474cf64992f283db74b4 (diff)
remove ToDouble/ToFloat
Diffstat (limited to 'basic')
-rw-r--r--basic/inc/basic/sbx.hxx1
-rw-r--r--basic/inc/basic/sbxcore.hxx1
-rw-r--r--basic/inc/basic/sbxfac.hxx1
-rw-r--r--basic/source/sbx/sbxvalue.cxx2
4 files changed, 1 insertions, 4 deletions
diff --git a/basic/inc/basic/sbx.hxx b/basic/inc/basic/sbx.hxx
index b4db6e65b5d5..a652bec26b87 100644
--- a/basic/inc/basic/sbx.hxx
+++ b/basic/inc/basic/sbx.hxx
@@ -44,7 +44,6 @@
#include <boost/ptr_container/ptr_vector.hpp>
class String;
-class UniString;
class SvStream;
class SbxBase;
class SbxVariable;
diff --git a/basic/inc/basic/sbxcore.hxx b/basic/inc/basic/sbxcore.hxx
index 1969adf0cc1c..781c58e792be 100644
--- a/basic/inc/basic/sbxcore.hxx
+++ b/basic/inc/basic/sbxcore.hxx
@@ -38,7 +38,6 @@
class SvStream;
class String;
-class UniString;
namespace rtl { class OUString; }
// The following Macro defines four (five) necessary methods within a
diff --git a/basic/inc/basic/sbxfac.hxx b/basic/inc/basic/sbxfac.hxx
index 2ef93a1140f8..3759ea809c18 100644
--- a/basic/inc/basic/sbxfac.hxx
+++ b/basic/inc/basic/sbxfac.hxx
@@ -35,7 +35,6 @@
class SbxBase;
class SbxObject;
class String;
-class UniString;
class BASIC_DLLPUBLIC SbxFactory
{
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 74b9d9c96a3e..dcefac7b556d 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -854,7 +854,7 @@ sal_Bool SbxValue::SetType( SbxDataType t )
sal_uInt16 nSlotId = pThisVar
? ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) )
: 0;
- DBG_ASSERT( nSlotId != 5345 || pThisVar->GetName() == UniString::CreateFromAscii( "Parent" ),
+ DBG_ASSERT( nSlotId != 5345 || pThisVar->GetName().EqualsAscii("Parent"),
"SID_PARENTOBJECT heisst nicht 'Parent'" );
sal_Bool bParentProp = 5345 == nSlotId;
if ( !bParentProp )