diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/base/object.cxx | 8 | ||||
-rw-r--r-- | sot/source/sdstor/storage.cxx | 16 | ||||
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx index 88e457e4bd8e..7c1054c5e97b 100644 --- a/sot/source/base/object.cxx +++ b/sot/source/base/object.cxx @@ -24,12 +24,12 @@ class SotObjectFactory : public SotFactory { public: - SotObjectFactory( const SvGlobalName & rName ) - : SotFactory( rName ) - {} + explicit SotObjectFactory(const SvGlobalName& rName) + : SotFactory( rName ) + { + } }; - SotFactory * SotObject::ClassFactory() { SotFactory **ppFactory = GetFactoryAdress(); diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 9a23f5f17933..d22db40c8084 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -44,12 +44,12 @@ using namespace ::com::sun::star; class SotStorageStreamFactory : public SotFactory { public: - SotStorageStreamFactory( const SvGlobalName & rName ) - : SotFactory( rName ) - {} + explicit SotStorageStreamFactory(const SvGlobalName& rName) + : SotFactory(rName) + { + } }; - SotFactory * SotStorageStream::ClassFactory() { SotFactory **ppFactory = GetFactoryAdress(); @@ -293,12 +293,12 @@ bool SotStorageStream::SetProperty( const OUString& rName, const ::com::sun::sta class SotStorageFactory : public SotFactory { public: - SotStorageFactory( const SvGlobalName & rName ) - : SotFactory( rName ) - {} + explicit SotStorageFactory(const SvGlobalName & rName) + : SotFactory(rName) + { + } }; - SotFactory * SotStorage::ClassFactory() { SotFactory **ppFactory = GetFactoryAdress(); diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 77ac24956701..d6321fd797bb 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -90,7 +90,7 @@ protected: SvStream* m_pSvStream; public: - FileStreamWrapper_Impl( const OUString& rName ); + explicit FileStreamWrapper_Impl(const OUString& rName); virtual ~FileStreamWrapper_Impl(); virtual void SAL_CALL seek( sal_Int64 _nLocation ) throw ( IllegalArgumentException, IOException, RuntimeException, std::exception) SAL_OVERRIDE; |