summaryrefslogtreecommitdiff
path: root/sot/source/sdstor
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/source/sdstor
parentf493f4b9327eba14fc6ceb4eced81cf7ed682955 (diff)
-Werror,-Wunused-private-field
Change-Id: I59979f84602276c9a8aa1ffc1d145c1ef8f0a31f
Diffstat (limited to 'sot/source/sdstor')
-rw-r--r--sot/source/sdstor/storage.cxx16
1 files changed, 6 insertions, 10 deletions
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;