summaryrefslogtreecommitdiff
path: root/sot/source/base/factory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/base/factory.cxx')
-rw-r--r--sot/source/base/factory.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index 6aa6cd03dae5..0cd94cd97439 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -19,7 +19,6 @@
#include <sot/factory.hxx>
#include <tools/debug.hxx>
-#include <tools/string.hxx>
#include <sot/object.hxx>
#include <sot/sotdata.hxx>
#include <comphelper/classids.hxx>
@@ -76,8 +75,8 @@ SotData_Impl * SOTDATA()
TYPEINIT0(SotFactory);
SotFactory::SotFactory( const SvGlobalName & rName,
- const String & rClassName,
- CreateInstanceType pCreateFuncP )
+ const OUString & rClassName,
+ CreateInstanceType pCreateFuncP )
: SvGlobalName ( rName )
, nSuperCount ( 0 )
, pSuperClasses ( NULL )
@@ -200,17 +199,17 @@ void * SotFactory::CreateInstance( SotObject ** ppObj ) const
|*
|* Beschreibung
*************************************************************************/
-sal_Bool SotFactory::Is( const SotFactory * pSuperCl ) const
+bool SotFactory::Is( const SotFactory * pSuperCl ) const
{
if( this == pSuperCl )
- return sal_True;
+ return true;
for( sal_uInt16 i = 0; i < nSuperCount; i++ )
{
if( pSuperClasses[ i ]->Is( pSuperCl ) )
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}