summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/accelerators/globalacceleratorconfiguration.cxx2
-rw-r--r--framework/source/fwe/dispatch/interaction.cxx2
-rw-r--r--framework/source/fwe/helper/documentundoguard.cxx2
-rw-r--r--framework/source/fwe/helper/undomanagerhelper.cxx6
-rw-r--r--framework/source/jobs/jobdispatch.cxx2
-rw-r--r--framework/source/jobs/jobexecutor.cxx2
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx2
-rw-r--r--framework/source/loadenv/loadenv.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx2
-rw-r--r--framework/source/services/frame.cxx2
-rw-r--r--framework/source/services/modulemanager.cxx2
-rw-r--r--framework/source/services/pathsettings.cxx2
-rw-r--r--framework/source/services/sessionlistener.cxx2
-rw-r--r--framework/source/services/substitutepathvars.cxx2
-rw-r--r--framework/source/services/tabwindowservice.cxx2
-rw-r--r--framework/source/services/taskcreatorsrv.cxx2
-rw-r--r--framework/source/uiconfiguration/globalsettings.cxx2
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.hxx2
-rw-r--r--hwpfilter/source/hwpreader.hxx2
-rw-r--r--sc/source/ui/docshell/documentlinkmgr.cxx4
-rw-r--r--sc/source/ui/vba/vbarange.cxx4
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
-rw-r--r--sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx2
-rw-r--r--svx/source/form/tabwin.cxx2
-rw-r--r--sw/source/core/unocore/unosett.cxx6
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
-rw-r--r--sw/source/core/unocore/unotbl.cxx6
-rw-r--r--sw/source/uibase/sidebar/StylePresetsPanel.hxx2
-rw-r--r--vcl/opengl/gdiimpl.cxx2
-rw-r--r--vcl/source/app/svapp.cxx7
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx2
-rw-r--r--xmloff/source/meta/MetaImportComponent.cxx2
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.hxx2
33 files changed, 44 insertions, 45 deletions
diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx
index 942c2f0d65ea..eb7ddedb34b7 100644
--- a/framework/source/accelerators/globalacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx
@@ -52,7 +52,7 @@ public:
@param xSMGR
reference to an uno service manager, which is used internally.
*/
- GlobalAcceleratorConfiguration(const css::uno::Reference< css::uno::XComponentContext >& xContext);
+ explicit GlobalAcceleratorConfiguration(const css::uno::Reference< css::uno::XComponentContext >& xContext);
/** TODO */
virtual ~GlobalAcceleratorConfiguration() {}
diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx
index 1a0aabeaa207..f97b18bc3e3b 100644
--- a/framework/source/fwe/dispatch/interaction.cxx
+++ b/framework/source/fwe/dispatch/interaction.cxx
@@ -86,7 +86,7 @@ OUString SAL_CALL ContinuationFilterSelect::getFilter() throw( css::uno::Runtime
class RequestFilterSelect_Impl : public ::cppu::WeakImplHelper< css::task::XInteractionRequest >
{
public:
- RequestFilterSelect_Impl( const OUString& sURL );
+ explicit RequestFilterSelect_Impl(const OUString& rURL);
bool isAbort () const;
OUString getFilter() const;
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx
index bd29d5d0932a..c65d94bf4caa 100644
--- a/framework/source/fwe/helper/documentundoguard.cxx
+++ b/framework/source/fwe/helper/documentundoguard.cxx
@@ -51,7 +51,7 @@ namespace framework
class UndoManagerContextListener : public UndoManagerContextListener_Base
{
public:
- UndoManagerContextListener( const Reference< XUndoManager >& i_undoManager )
+ explicit UndoManagerContextListener( const Reference< XUndoManager >& i_undoManager )
:m_xUndoManager( i_undoManager )
,m_nRelativeContextDepth( 0 )
,m_documentDisposed( false )
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx
index 91a7e44ba4da..952b17f21563 100644
--- a/framework/source/fwe/helper/undomanagerhelper.cxx
+++ b/framework/source/fwe/helper/undomanagerhelper.cxx
@@ -69,7 +69,7 @@ namespace framework
class UndoActionWrapper : public SfxUndoAction
{
public:
- UndoActionWrapper(
+ explicit UndoActionWrapper(
Reference< XUndoAction > const& i_undoAction
);
virtual ~UndoActionWrapper();
@@ -138,7 +138,7 @@ namespace framework
class UndoManagerRequest : public ::comphelper::AnyEvent
{
public:
- UndoManagerRequest( ::std::function<void ()> const& i_request )
+ explicit UndoManagerRequest( ::std::function<void ()> const& i_request )
:m_request( i_request )
,m_caughtException()
,m_finishCondition()
@@ -211,7 +211,7 @@ namespace framework
::osl::Mutex& getMutex() { return m_aMutex; }
public:
- UndoManagerHelper_Impl( IUndoManagerImplementation& i_undoManagerImpl )
+ explicit UndoManagerHelper_Impl( IUndoManagerImplementation& i_undoManagerImpl )
:m_aMutex()
,m_aQueueMutex()
,m_disposed( false )
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx
index 07fcef45e691..022b2040ff2f 100644
--- a/framework/source/jobs/jobdispatch.cxx
+++ b/framework/source/jobs/jobdispatch.cxx
@@ -76,7 +76,7 @@ private:
public:
- JobDispatch( const css::uno::Reference< css::uno::XComponentContext >& xContext );
+ explicit JobDispatch(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~JobDispatch();
void impl_dispatchEvent ( const OUString& sEvent ,
diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx
index 7091256b790f..05fd77de3eb0 100644
--- a/framework/source/jobs/jobexecutor.cxx
+++ b/framework/source/jobs/jobexecutor.cxx
@@ -83,7 +83,7 @@ private:
public:
- JobExecutor( const css::uno::Reference< css::uno::XComponentContext >& xContext );
+ explicit JobExecutor(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~JobExecutor();
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 36a2d5431460..9ed838224db1 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -3132,7 +3132,7 @@ namespace detail
private:
::cppu::OPropertyArrayHelper *m_pInfoHelper;
public:
- InfoHelperBuilder(const LayoutManager &rManager)
+ explicit InfoHelperBuilder(const LayoutManager &rManager)
{
uno::Sequence< beans::Property > aProperties;
rManager.describeProperties(aProperties);
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx
index 0bed59228682..323926a57973 100644
--- a/framework/source/loadenv/loadenv.cxx
+++ b/framework/source/loadenv/loadenv.cxx
@@ -102,7 +102,7 @@ class LoadEnvListener : public ::cppu::WeakImplHelper< css::frame::XLoadEventLis
public:
- LoadEnvListener(LoadEnv* pLoadEnv)
+ explicit LoadEnvListener(LoadEnv* pLoadEnv)
: m_bWaitingResult(true)
, m_pLoadEnv(pLoadEnv)
{
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 26e174a0007c..e45ebdcaae36 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -447,7 +447,7 @@ private:
public:
- AutoRecovery(const css::uno::Reference< css::uno::XComponentContext >& xContext);
+ explicit AutoRecovery(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~AutoRecovery( );
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 69692ecc66c3..615bae9e5f2a 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -144,7 +144,7 @@ class Frame : // interfaces
{
public:
- Frame( const css::uno::Reference< css::uno::XComponentContext >& xContext );
+ explicit Frame(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~Frame();
/// Initialization function after having acquire()'d.
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index 942e6cf32fdc..e558ed068625 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -62,7 +62,7 @@ private:
public:
- ModuleManager(const css::uno::Reference< css::uno::XComponentContext >& xContext);
+ explicit ModuleManager(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~ModuleManager();
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index 83543c69c960..063966f5b3f0 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -180,7 +180,7 @@ public:
Attention: It's necessary for right function of this class, that the order of base
classes is the right one. Because we transfer information from one base to another
during this ctor runs! */
- PathSettings(const css::uno::Reference< css::uno::XComponentContext >& xContext);
+ explicit PathSettings(const css::uno::Reference< css::uno::XComponentContext >& xContext);
/** free all used resources ... if it was not already done. */
virtual ~PathSettings();
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index 8ba90ab5e2bb..851a6572f2ca 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -107,7 +107,7 @@ private:
void QuitSessionQuietly();
public:
- SessionListener( const css::uno::Reference< css::uno::XComponentContext >& xContext );
+ explicit SessionListener(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~SessionListener();
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 3bf6c89b9219..7d4dc86dbed8 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -227,7 +227,7 @@ class SubstitutePathVariables : private cppu::BaseMutex,
friend class SubstitutePathVariables_Impl;
public:
- SubstitutePathVariables( const css::uno::Reference< css::uno::XComponentContext >& xContext );
+ explicit SubstitutePathVariables(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~SubstitutePathVariables();
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/services/tabwindowservice.cxx b/framework/source/services/tabwindowservice.cxx
index dde0162b3dcc..a31de095aeca 100644
--- a/framework/source/services/tabwindowservice.cxx
+++ b/framework/source/services/tabwindowservice.cxx
@@ -57,7 +57,7 @@ struct TTabPageInfo
, m_lProperties ( )
{}
- TTabPageInfo(::sal_Int32 nID)
+ explicit TTabPageInfo(::sal_Int32 nID)
: m_nIndex ( nID )
, m_bCreated (false)
, m_pPage ( nullptr )
diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx
index d46b9ba41bee..6f73c4df7942 100644
--- a/framework/source/services/taskcreatorsrv.cxx
+++ b/framework/source/services/taskcreatorsrv.cxx
@@ -63,7 +63,7 @@ private:
public:
- TaskCreatorService(const css::uno::Reference< css::uno::XComponentContext >& xContext);
+ explicit TaskCreatorService(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~TaskCreatorService( );
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/uiconfiguration/globalsettings.cxx b/framework/source/uiconfiguration/globalsettings.cxx
index e9076b042e97..80ec574f9d8d 100644
--- a/framework/source/uiconfiguration/globalsettings.cxx
+++ b/framework/source/uiconfiguration/globalsettings.cxx
@@ -56,7 +56,7 @@ class GlobalSettings_Access : public ::cppu::WeakImplHelper<
css::lang::XEventListener>
{
public:
- GlobalSettings_Access( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit GlobalSettings_Access( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~GlobalSettings_Access();
// XComponent
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx
index f756f0b0ab9d..9b4af2536b68 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.hxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx
@@ -76,7 +76,7 @@ namespace framework
class GlobalImageList : public CmdImageList, public salhelper::SimpleReferenceObject
{
public:
- GlobalImageList( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit GlobalImageList(const css::uno::Reference< css::uno::XComponentContext >& rxContext);
virtual ~GlobalImageList();
virtual Image getImageFromCommandURL( sal_Int16 nImageType, const OUString& rCommandURL ) override;
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx
index 3353bdd65617..d11870e035c0 100644
--- a/hwpfilter/source/hwpreader.hxx
+++ b/hwpfilter/source/hwpreader.hxx
@@ -152,7 +152,7 @@ private:
class HwpImportFilter : public WeakImplHelper< XFilter, XImporter, XServiceInfo, XExtendedFilterDetection >
{
public:
- HwpImportFilter(const Reference< XMultiServiceFactory >& rFact);
+ explicit HwpImportFilter(const Reference< XMultiServiceFactory >& rFact);
virtual ~HwpImportFilter();
public:
diff --git a/sc/source/ui/docshell/documentlinkmgr.cxx b/sc/source/ui/docshell/documentlinkmgr.cxx
index 9609781eec55..24e156a4b456 100644
--- a/sc/source/ui/docshell/documentlinkmgr.cxx
+++ b/sc/source/ui/docshell/documentlinkmgr.cxx
@@ -37,8 +37,8 @@ struct DocumentLinkManagerImpl : boost::noncopyable
std::unique_ptr<DataStream> mpDataStream;
std::unique_ptr<sfx2::LinkManager> mpLinkManager;
- DocumentLinkManagerImpl( SfxObjectShell* pShell ) :
- mpShell(pShell), mpDataStream(nullptr), mpLinkManager(nullptr) {}
+ explicit DocumentLinkManagerImpl(SfxObjectShell* pShell)
+ : mpShell(pShell), mpDataStream(nullptr), mpLinkManager(nullptr) {}
~DocumentLinkManagerImpl()
{
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 378f5b7b710a..ad2ddbf7a00e 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -295,7 +295,7 @@ class SingleRangeEnumeration : public EnumerationHelper_BASE
bool bHasMore;
public:
- SingleRangeEnumeration( const uno::Reference< table::XCellRange >& xRange ) throw ( uno::RuntimeException ) : m_xRange( xRange ), bHasMore( true ) { }
+ explicit SingleRangeEnumeration( const uno::Reference< table::XCellRange >& xRange ) throw ( uno::RuntimeException ) : m_xRange( xRange ), bHasMore( true ) { }
virtual sal_Bool SAL_CALL hasMoreElements( ) throw (uno::RuntimeException, std::exception) override { return bHasMore; }
virtual uno::Any SAL_CALL nextElement( ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
@@ -316,7 +316,7 @@ private:
uno::Reference< table::XCellRange > m_xRange;
public:
- SingleRangeIndexAccess( const uno::Reference< table::XCellRange >& xRange ) : m_xRange( xRange ) {}
+ explicit SingleRangeIndexAccess( const uno::Reference< table::XCellRange >& xRange ) : m_xRange( xRange ) {}
// XIndexAccess
virtual ::sal_Int32 SAL_CALL getCount() throw (::uno::RuntimeException, std::exception) override { return 1; }
virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 0e383b044d0f..5a93fc7fcb29 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -1250,7 +1250,7 @@ class BinaryOutput
Reference< io::XOutputStream > m_xOutputStream;
public:
- BinaryOutput( Reference< XComponentContext > xContext );
+ explicit BinaryOutput( Reference< XComponentContext > xContext );
Reference< io::XOutputStream > getOutputStream() const
{ return m_xOutputStream; }
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
index 214efb528d2a..725b799ab0be 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
@@ -54,7 +54,7 @@ public:
ConfigurationController so that its UpdateConfiguration() method can
be called when the queue becomes empty.
*/
- ChangeRequestQueueProcessor (
+ explicit ChangeRequestQueueProcessor (
const std::shared_ptr<ConfigurationUpdater>& rpUpdater);
~ChangeRequestQueueProcessor();
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx
index bc3ee5784134..c2ba42afd83a 100644
--- a/svx/source/form/tabwin.cxx
+++ b/svx/source/form/tabwin.cxx
@@ -76,7 +76,7 @@ namespace {
struct ColumnInfo
{
OUString sColumnName;
- ColumnInfo(const OUString& i_sColumnName)
+ explicit ColumnInfo(const OUString& i_sColumnName)
: sColumnName(i_sColumnName)
{
}
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index b3a55713c4e4..16c42bfa5ea7 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -1050,19 +1050,17 @@ OSL_FAIL("not implemented");
static const char aInvalidStyle[] = "__XXX___invalid";
-
class SwXNumberingRules::Impl : public SwClient
{
private:
SwXNumberingRules& m_rParent;
public:
- Impl(SwXNumberingRules& rParent) : m_rParent(rParent) {}
+ explicit Impl(SwXNumberingRules& rParent) : m_rParent(rParent) {}
protected:
//SwClient
- virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
+ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
};
-
bool SwXNumberingRules::isInvalidStyle(const OUString &rName)
{
return rName == aInvalidStyle;
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 390352de5350..ffb0f0fa0944 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -376,7 +376,7 @@ public:
SwDoc* pDoc,
const OUString& rStyleName) :
SwXStyle(&rPool, SFX_STYLE_FAMILY_FRAME, pDoc, rStyleName){}
- SwXFrameStyle( SwDoc *pDoc );
+ explicit SwXFrameStyle(SwDoc *pDoc);
virtual ~SwXFrameStyle();
virtual void SAL_CALL acquire( ) throw() override {SwXStyle::acquire();}
@@ -409,7 +409,7 @@ protected:
public:
SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, SfxStyleFamily eFam,
const OUString& rStyleName);
- SwXPageStyle(SwDocShell* pDocSh);
+ explicit SwXPageStyle(SwDocShell* pDocSh);
virtual ~SwXPageStyle();
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index bd7403fe4172..2bf55f160156 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -3777,7 +3777,7 @@ void SwXCellRange::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew)
class SwXTableRows::Impl : public SwClient
{
public:
- Impl(SwFrameFormat& rFrameFormat) : SwClient(&rFrameFormat) {}
+ explicit Impl(SwFrameFormat& rFrameFormat) : SwClient(&rFrameFormat) {}
protected:
//SwClient
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
@@ -3944,10 +3944,10 @@ void SwXTableRows::Impl::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNe
class SwXTableColumns::Impl : public SwClient
{
public:
- Impl(SwFrameFormat& rFrameFormat) : SwClient(&rFrameFormat) {}
+ explicit Impl(SwFrameFormat& rFrameFormat) : SwClient(&rFrameFormat) {}
protected:
//SwClient
- virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
+ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
};
OUString SwXTableColumns::getImplementationName() throw( uno::RuntimeException, std::exception )
diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
index d0ca77567c2e..552e96c6ae45 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
@@ -58,7 +58,7 @@ public:
private:
struct TemplateEntry
{
- TemplateEntry(OUString& rURL)
+ explicit TemplateEntry(const OUString& rURL)
: maURL(rURL)
{}
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 1c6be7187943..549f8ae01778 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -43,7 +43,7 @@ class OpenGLFlushIdle : public Idle
{
OpenGLSalGraphicsImpl *m_pImpl;
public:
- OpenGLFlushIdle( OpenGLSalGraphicsImpl *pImpl )
+ explicit OpenGLFlushIdle( OpenGLSalGraphicsImpl *pImpl )
: Idle( "gl idle swap" )
, m_pImpl( pImpl )
{
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index d26a350f1957..ab18d70d6438 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -88,9 +88,10 @@ void InitSettings(ImplSVData* pSVData);
class ImplReservedKey
{
public:
- ImplReservedKey( vcl::KeyCode aKeyCode ) :
- mKeyCode(aKeyCode)
- {}
+ explicit ImplReservedKey( vcl::KeyCode aKeyCode )
+ : mKeyCode(aKeyCode)
+ {
+ }
vcl::KeyCode mKeyCode;
};
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 17f81a0a6206..fea19c96f5e4 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -339,7 +339,7 @@ namespace {
/// Decouple SalFrame lifetime from damagetracker lifetime
struct DamageTracker : public basebmp::IBitmapDeviceDamageTracker
{
- DamageTracker(GtkSalFrame& rFrame) : m_rFrame(rFrame)
+ explicit DamageTracker(GtkSalFrame& rFrame) : m_rFrame(rFrame)
{}
virtual ~DamageTracker() {}
diff --git a/xmloff/source/meta/MetaImportComponent.cxx b/xmloff/source/meta/MetaImportComponent.cxx
index ed544443ae99..c9af8afc01fd 100644
--- a/xmloff/source/meta/MetaImportComponent.cxx
+++ b/xmloff/source/meta/MetaImportComponent.cxx
@@ -37,7 +37,7 @@ private:
public:
// XMLMetaImportComponent() throw();
- XMLMetaImportComponent(
+ explicit XMLMetaImportComponent(
const css::uno::Reference< css::uno::XComponentContext >& xContext
) throw();
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
index 2747599da2a3..199528bdbbe7 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
@@ -48,7 +48,7 @@ namespace xmlscript
bool m_bOasis;
public:
- XMLBasicExporterBase(bool bOasis );
+ explicit XMLBasicExporterBase(bool bOasis);
virtual ~XMLBasicExporterBase();
// XServiceInfo