summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 09:29:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-08 11:14:38 +0100
commit0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c (patch)
tree75cb6a18fd360d7b2e53f4048a56b2e79e8499c8 /chart2/source/controller/main
parentvclptr fix in ScrollableWrapper (diff)
downloadcore-0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c.tar.gz
core-0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c.zip
cppcheck: noExplicitConstructor
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
Diffstat (limited to 'chart2/source/controller/main')
-rw-r--r--chart2/source/controller/main/ChartController.hxx4
-rw-r--r--chart2/source/controller/main/ChartController_Insert.cxx2
-rw-r--r--chart2/source/controller/main/ChartFrameloader.hxx2
-rw-r--r--chart2/source/controller/main/CommandDispatch.cxx2
-rw-r--r--chart2/source/controller/main/ElementSelector.hxx2
-rw-r--r--chart2/source/controller/main/FeatureCommandDispatchBase.hxx2
-rw-r--r--chart2/source/controller/main/SelectionHelper.hxx2
-rw-r--r--chart2/source/controller/main/ShapeToolbarController.hxx2
-rw-r--r--chart2/source/controller/main/UndoActions.hxx2
-rw-r--r--chart2/source/controller/main/UndoGuard.hxx2
10 files changed, 11 insertions, 11 deletions
diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx
index 88b5df52f410..1876dbda70ba 100644
--- a/chart2/source/controller/main/ChartController.hxx
+++ b/chart2/source/controller/main/ChartController.hxx
@@ -145,7 +145,7 @@ class ChartController : public ::cppu::WeakImplHelper12 <
public:
//no default constructor
- ChartController(::com::sun::star::uno::Reference<
+ explicit ChartController(::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > const & xContext);
virtual ~ChartController();
@@ -458,7 +458,7 @@ private:
class TheModel : public RefCountable
{
public:
- TheModel( const ::com::sun::star::uno::Reference<
+ explicit TheModel( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > & xModel );
virtual ~TheModel();
diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx
index e194016abd17..7df062fd08fe 100644
--- a/chart2/source/controller/main/ChartController_Insert.cxx
+++ b/chart2/source/controller/main/ChartController_Insert.cxx
@@ -70,7 +70,7 @@ namespace
struct lcl_InsertMeanValueLine
{
public:
- lcl_InsertMeanValueLine( const uno::Reference< uno::XComponentContext > & xContext ) :
+ explicit lcl_InsertMeanValueLine( const uno::Reference< uno::XComponentContext > & xContext ) :
m_xContext( xContext )
{}
diff --git a/chart2/source/controller/main/ChartFrameloader.hxx b/chart2/source/controller/main/ChartFrameloader.hxx
index 360f97e01b97..db445c2d8b18 100644
--- a/chart2/source/controller/main/ChartFrameloader.hxx
+++ b/chart2/source/controller/main/ChartFrameloader.hxx
@@ -47,7 +47,7 @@ private:
//no default constructor
ChartFrameLoader(){}
public:
- ChartFrameLoader(::com::sun::star::uno::Reference<
+ explicit ChartFrameLoader(::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > const & xContext);
virtual ~ChartFrameLoader();
diff --git a/chart2/source/controller/main/CommandDispatch.cxx b/chart2/source/controller/main/CommandDispatch.cxx
index 6b060b76f9f1..4886210cce6b 100644
--- a/chart2/source/controller/main/CommandDispatch.cxx
+++ b/chart2/source/controller/main/CommandDispatch.cxx
@@ -36,7 +36,7 @@ template< class Map >
struct lcl_DisposeAndClearAndDeleteMapElement :
public ::std::unary_function< typename Map::value_type, void >
{
- lcl_DisposeAndClearAndDeleteMapElement( const Reference< uno::XInterface > & xEventSource ) :
+ explicit lcl_DisposeAndClearAndDeleteMapElement( const Reference< uno::XInterface > & xEventSource ) :
m_aEvent( xEventSource )
{}
void operator() ( typename Map::value_type & rElement )
diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx
index aa9c182cf6b2..f0eb612e2d7e 100644
--- a/chart2/source/controller/main/ElementSelector.hxx
+++ b/chart2/source/controller/main/ElementSelector.hxx
@@ -72,7 +72,7 @@ class ElementSelectorToolbarController : public ::svt::ToolboxController
, ElementSelectorToolbarController_BASE
{
public:
- ElementSelectorToolbarController( ::com::sun::star::uno::Reference<
+ explicit ElementSelectorToolbarController( ::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > const & xContext );
virtual ~ElementSelectorToolbarController();
diff --git a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
index 684c78b8c09d..92344a192073 100644
--- a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
+++ b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
@@ -50,7 +50,7 @@ struct FeatureState
class FeatureCommandDispatchBase: public CommandDispatch
{
public:
- FeatureCommandDispatchBase( const ::com::sun::star::uno::Reference<
+ explicit FeatureCommandDispatchBase( const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~FeatureCommandDispatchBase();
diff --git a/chart2/source/controller/main/SelectionHelper.hxx b/chart2/source/controller/main/SelectionHelper.hxx
index 48d3ea355737..e10acaafc8ea 100644
--- a/chart2/source/controller/main/SelectionHelper.hxx
+++ b/chart2/source/controller/main/SelectionHelper.hxx
@@ -102,7 +102,7 @@ public:
, const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel >& xChartModel );
- SelectionHelper( SdrObject* pSelectedObj );
+ explicit SelectionHelper( SdrObject* pSelectedObj );
virtual ~SelectionHelper();
//MarkHandleProvider:
diff --git a/chart2/source/controller/main/ShapeToolbarController.hxx b/chart2/source/controller/main/ShapeToolbarController.hxx
index 8bdb1ed096d2..f067e401ccb0 100644
--- a/chart2/source/controller/main/ShapeToolbarController.hxx
+++ b/chart2/source/controller/main/ShapeToolbarController.hxx
@@ -53,7 +53,7 @@ class ShapeToolbarController : public ::svt::ToolboxController
void operator =( const ShapeToolbarController& ) SAL_DELETED_FUNCTION;
public:
- ShapeToolbarController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
+ explicit ShapeToolbarController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~ShapeToolbarController();
// ::com::sun::star::uno::XInterface
diff --git a/chart2/source/controller/main/UndoActions.hxx b/chart2/source/controller/main/UndoActions.hxx
index dc8945da6228..c38bba27b4fb 100644
--- a/chart2/source/controller/main/UndoActions.hxx
+++ b/chart2/source/controller/main/UndoActions.hxx
@@ -94,7 +94,7 @@ class ShapeUndoElement :public ShapeUndoElement_MBase
,public ShapeUndoElement_TBase
{
public:
- ShapeUndoElement( SdrUndoAction& i_sdrUndoAction );
+ explicit ShapeUndoElement( SdrUndoAction& i_sdrUndoAction );
// XUndoAction
virtual OUString SAL_CALL getTitle() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/chart2/source/controller/main/UndoGuard.hxx b/chart2/source/controller/main/UndoGuard.hxx
index acf3275dd3a4..cd57908f9528 100644
--- a/chart2/source/controller/main/UndoGuard.hxx
+++ b/chart2/source/controller/main/UndoGuard.hxx
@@ -102,7 +102,7 @@ public:
class HiddenUndoContext
{
public:
- HiddenUndoContext(
+ explicit HiddenUndoContext(
const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManager > & i_undoManager
);
~HiddenUndoContext();