summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-03 21:03:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-03 21:03:01 +0200
commit8b7ec376c38886ed26520034db35ce094b94c114 (patch)
treedfce3329a4142786ee38daf57cecf59130cb6d1e /sot
parentf493f4b9327eba14fc6ceb4eced81cf7ed682955 (diff)
-Werror,-Wunused-private-field
Change-Id: I59979f84602276c9a8aa1ffc1d145c1ef8f0a31f
Diffstat (limited to 'sot')
-rw-r--r--sot/source/base/factory.cxx4
-rw-r--r--sot/source/base/object.cxx8
-rw-r--r--sot/source/sdstor/storage.cxx16
3 files changed, 10 insertions, 18 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index 3fc95ad6dda9..3310739d5ec1 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -74,12 +74,10 @@ SotData_Impl * SOTDATA()
|* Beschreibung
*************************************************************************/
-SotFactory::SotFactory( const SvGlobalName & rName,
- const OUString & rClassName )
+SotFactory::SotFactory( const SvGlobalName & rName )
: SvGlobalName ( rName )
, nSuperCount ( 0 )
, pSuperClasses ( NULL )
- , aClassName ( rClassName )
{
#ifdef DBG_UTIL
SvGlobalName aEmptyName;
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx
index 3ed71d7d17ad..1cb951b3fbfc 100644
--- a/sot/source/base/object.cxx
+++ b/sot/source/base/object.cxx
@@ -24,9 +24,8 @@
class SotObjectFactory : public SotFactory
{
public:
- SotObjectFactory( const SvGlobalName & rName,
- const OUString & rClassName )
- : SotFactory( rName, rClassName )
+ SotObjectFactory( const SvGlobalName & rName )
+ : SotFactory( rName )
{}
};
@@ -38,8 +37,7 @@ SotFactory * SotObject::ClassFactory()
{
*ppFactory = new SotObjectFactory(
SvGlobalName( 0xf44b7830, 0xf83c, 0x11d0,
- 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ),
- OUString( "SotObject" ) );
+ 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ) );
}
return *ppFactory;
}
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 67307125f11e..70dd249b7a2d 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -45,9 +45,8 @@ using namespace ::com::sun::star;
class SotStorageStreamFactory : public SotFactory
{
public:
- SotStorageStreamFactory( const SvGlobalName & rName,
- const OUString & rClassName )
- : SotFactory( rName, rClassName )
+ SotStorageStreamFactory( const SvGlobalName & rName )
+ : SotFactory( rName )
{}
};
@@ -59,8 +58,7 @@ SotFactory * SotStorageStream::ClassFactory()
{
*ppFactory = new SotStorageStreamFactory(
SvGlobalName( 0xd7deb420, 0xf902, 0x11d0,
- 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ),
- OUString( "SotStorageStream" ) );
+ 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ) );
(*ppFactory)->PutSuperClass( SotObject::ClassFactory() );
}
return *ppFactory;
@@ -306,9 +304,8 @@ bool SotStorageStream::SetProperty( const OUString& rName, const ::com::sun::sta
class SotStorageFactory : public SotFactory
{
public:
- SotStorageFactory( const SvGlobalName & rName,
- const OUString & rClassName )
- : SotFactory( rName, rClassName )
+ SotStorageFactory( const SvGlobalName & rName )
+ : SotFactory( rName )
{}
};
@@ -320,8 +317,7 @@ SotFactory * SotStorage::ClassFactory()
{
*ppFactory = new SotStorageFactory(
SvGlobalName( 0x980ce7e0, 0xf905, 0x11d0,
- 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ),
- OUString( "SotStorage" ) );
+ 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ) );
(*ppFactory)->PutSuperClass( SotObject::ClassFactory() );
}
return *ppFactory;