cppcheck: noExplicitConstructor
Change-Id: Idcf5460ec59cfb6f13055652c094d460c15da5ed
This commit is contained in:
@@ -38,7 +38,7 @@ class BSeqInputStream
|
||||
sal_Int32 _nPos;
|
||||
|
||||
public:
|
||||
inline BSeqInputStream( ByteSequence const & rSeq )
|
||||
explicit BSeqInputStream( ByteSequence const & rSeq )
|
||||
: _seq( rSeq )
|
||||
, _nPos( 0 )
|
||||
{}
|
||||
@@ -103,7 +103,7 @@ class BSeqOutputStream
|
||||
ByteSequence * _seq;
|
||||
|
||||
public:
|
||||
inline BSeqOutputStream( ByteSequence * seq )
|
||||
explicit BSeqOutputStream( ByteSequence * seq )
|
||||
: _seq( seq )
|
||||
{}
|
||||
|
||||
|
@@ -56,7 +56,7 @@ struct Style
|
||||
|
||||
OUString _id;
|
||||
|
||||
Style( short all_ )
|
||||
explicit Style( short all_ )
|
||||
: _backgroundColor(0)
|
||||
, _textColor(0)
|
||||
, _textLineColor(0)
|
||||
@@ -94,7 +94,7 @@ class ElementDescriptor
|
||||
css::uno::Reference< css::frame::XModel > _xDocument;
|
||||
|
||||
public:
|
||||
inline ElementDescriptor(
|
||||
ElementDescriptor(
|
||||
css::uno::Reference< css::beans::XPropertySet > const & xProps,
|
||||
css::uno::Reference< css::beans::XPropertyState > const & xPropState,
|
||||
OUString const & name, css::uno::Reference< css::frame::XModel > const & xDocument )
|
||||
@@ -103,7 +103,7 @@ public:
|
||||
, _xPropState( xPropState )
|
||||
, _xDocument( xDocument )
|
||||
{}
|
||||
inline ElementDescriptor(
|
||||
explicit ElementDescriptor(
|
||||
OUString const & name )
|
||||
: XMLElement( name )
|
||||
{}
|
||||
|
@@ -41,9 +41,10 @@ class InputStreamProvider
|
||||
ByteSequence _bytes;
|
||||
|
||||
public:
|
||||
inline InputStreamProvider( ByteSequence const & rBytes )
|
||||
explicit InputStreamProvider( ByteSequence const & rBytes )
|
||||
: _bytes( rBytes )
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
// XInputStreamProvider
|
||||
virtual Reference< io::XInputStream > SAL_CALL createInputStream()
|
||||
|
@@ -53,7 +53,7 @@ struct ModuleImport
|
||||
sal_Int32 XMLNS_XLINK_UID;
|
||||
|
||||
public:
|
||||
ModuleImport(ModuleDescriptor& rModuleDesc)
|
||||
explicit ModuleImport(ModuleDescriptor& rModuleDesc)
|
||||
: mrModuleDesc(rModuleDesc)
|
||||
, XMLNS_SCRIPT_UID(0)
|
||||
, XMLNS_LIBRARY_UID(0)
|
||||
|
@@ -45,8 +45,8 @@ class CertificateContainer : public ::cppu::WeakImplHelper2< css::lang::XService
|
||||
|
||||
public:
|
||||
|
||||
CertificateContainer(const css::uno::Reference< css::lang::XMultiServiceFactory >& ) {};
|
||||
virtual ~CertificateContainer(){};
|
||||
explicit CertificateContainer(const css::uno::Reference< css::lang::XMultiServiceFactory >& ) {}
|
||||
virtual ~CertificateContainer() {}
|
||||
|
||||
virtual sal_Bool SAL_CALL addCertificate( const OUString & url, const OUString & certificate_name, sal_Bool trust ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
virtual css::security::CertificateContainerStatus SAL_CALL hasCertificate( const OUString & url, const OUString & certificate_name ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
@@ -57,7 +57,7 @@ private:
|
||||
com::sun::star::uno::Sequence< ::com::sun::star::security::DocumentSignatureInformation > ImplVerifySignatures( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& rxStorage, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xSignStream, DocumentSignatureMode eMode ) throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
public:
|
||||
DocumentDigitalSignatures( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext>& rxCtx );
|
||||
explicit DocumentDigitalSignatures( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext>& rxCtx );
|
||||
|
||||
// for service registration...
|
||||
static OUString GetImplementationName() throw (com::sun::star::uno::RuntimeException);
|
||||
|
@@ -359,7 +359,7 @@ void MacroSecurityTrustedSourcesTP::FillCertLB()
|
||||
class TrustCertLB : public SvSimpleTable
|
||||
{
|
||||
public:
|
||||
TrustCertLB(SvSimpleTableContainer &rContainer)
|
||||
explicit TrustCertLB(SvSimpleTableContainer &rContainer)
|
||||
: SvSimpleTable(rContainer, 0)
|
||||
{
|
||||
}
|
||||
|
@@ -72,7 +72,7 @@ protected:
|
||||
sal_Int32 m_nIdOfBlocker;
|
||||
|
||||
protected:
|
||||
EncryptionEngine( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext );
|
||||
explicit EncryptionEngine( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext );
|
||||
virtual ~EncryptionEngine(){};
|
||||
|
||||
virtual void tryToPerform( )
|
||||
|
@@ -84,7 +84,7 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper3<
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager ;
|
||||
|
||||
public :
|
||||
SecurityEnvironment_MSCryptImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ;
|
||||
explicit SecurityEnvironment_MSCryptImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ;
|
||||
virtual ~SecurityEnvironment_MSCryptImpl() ;
|
||||
|
||||
//Methods from XSecurityEnvironment
|
||||
|
Reference in New Issue
Block a user