[Libreoffice-commits] core.git: 2 commits - canvas/source chart2/qa chart2/source svl/source svtools/source sw/qa sw/source

Caolán McNamara caolanm at redhat.com
Mon Jun 8 03:15:03 PDT 2015


 canvas/source/cairo/cairo_textlayout.cxx                                    |    2 
 canvas/source/factory/cf_service.cxx                                        |    2 
 canvas/source/opengl/ogl_spritedevicehelper.cxx                             |    2 
 canvas/source/tools/page.hxx                                                |    4 
 canvas/source/tools/pagemanager.hxx                                         |    2 
 canvas/source/tools/spriteredrawmanager.cxx                                 |    2 
 canvas/source/tools/surfaceproxymanager.cxx                                 |    2 
 canvas/source/vcl/impltools.hxx                                             |    2 
 canvas/source/vcl/textlayout.cxx                                            |    2 
 chart2/qa/extras/chart2export.cxx                                           |    2 
 chart2/source/controller/accessibility/AccStatisticsObject.hxx              |    2 
 chart2/source/controller/chartapiwrapper/AreaWrapper.hxx                    |    2 
 chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx             |    2 
 chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx               |   10 +-
 chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx               |    2 
 chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx           |   10 +-
 chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx         |    6 -
 chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx         |    2 
 chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx                 |   14 +--
 chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx                 |    2 
 chart2/source/controller/chartapiwrapper/LegendWrapper.hxx                  |    2 
 chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx              |    2 
 chart2/source/controller/chartapiwrapper/TitleWrapper.cxx                   |    2 
 chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx           |    8 -
 chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx |    6 -
 chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx        |    4 
 chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx    |    4 
 chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx     |    2 
 chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx           |    2 
 chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx    |    2 
 chart2/source/controller/dialogs/DataBrowser.cxx                            |    2 
 chart2/source/controller/dialogs/DataBrowserModel.cxx                       |    6 -
 chart2/source/controller/dialogs/dlg_DataSource.cxx                         |    4 
 chart2/source/controller/dialogs/res_BarGeometry.hxx                        |    2 
 chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx                |    2 
 chart2/source/controller/dialogs/tp_ChartType.cxx                           |   16 +--
 chart2/source/controller/main/ChartController.hxx                           |    4 
 chart2/source/controller/main/ChartController_Insert.cxx                    |    2 
 chart2/source/controller/main/ChartFrameloader.hxx                          |    2 
 chart2/source/controller/main/CommandDispatch.cxx                           |    2 
 chart2/source/controller/main/ElementSelector.hxx                           |    2 
 chart2/source/controller/main/FeatureCommandDispatchBase.hxx                |    2 
 chart2/source/controller/main/SelectionHelper.hxx                           |    2 
 chart2/source/controller/main/ShapeToolbarController.hxx                    |    2 
 chart2/source/controller/main/UndoActions.hxx                               |    2 
 chart2/source/controller/main/UndoGuard.hxx                                 |    2 
 chart2/source/model/main/Axis.hxx                                           |    2 
 chart2/source/model/main/ChartModel_Persistence.cxx                         |    2 
 chart2/source/model/main/DataPoint.hxx                                      |    2 
 chart2/source/model/main/FormattedString.hxx                                |    2 
 chart2/source/model/main/GridProperties.hxx                                 |    2 
 chart2/source/model/main/Legend.hxx                                         |    2 
 chart2/source/model/main/PageBackground.hxx                                 |    2 
 chart2/source/model/main/Title.hxx                                          |    2 
 chart2/source/model/main/UndoManager.cxx                                    |    2 
 chart2/source/model/template/AreaChartType.hxx                              |    2 
 chart2/source/model/template/BarChartType.hxx                               |    2 
 chart2/source/model/template/BubbleChartType.hxx                            |    2 
 chart2/source/model/template/CandleStickChartType.hxx                       |    2 
 chart2/source/model/template/ColumnChartType.hxx                            |    2 
 chart2/source/model/template/DataInterpreter.cxx                            |    2 
 chart2/source/model/template/FilledNetChartType.hxx                         |    2 
 chart2/source/model/template/GL3DBarChartType.hxx                           |    2 
 chart2/source/model/template/LineChartType.hxx                              |    2 
 chart2/source/model/template/NetChartType.hxx                               |    4 
 chart2/source/tools/ImplOPropertySet.cxx                                    |    4 
 chart2/source/tools/ModifyListenerHelper.cxx                                |    2 
 chart2/source/tools/PropertyHelper.cxx                                      |    4 
 chart2/source/tools/XMLRangeHelper.cxx                                      |    4 
 chart2/source/view/axes/Tickmarks.hxx                                       |    4 
 chart2/source/view/axes/VCartesianCoordinateSystem.cxx                      |    2 
 chart2/source/view/axes/VCartesianCoordinateSystem.hxx                      |    2 
 chart2/source/view/axes/VPolarCoordinateSystem.hxx                          |    2 
 chart2/source/view/charttypes/BarPositionHelper.hxx                         |    2 
 chart2/source/view/charttypes/GL3DBarChart.cxx                              |    6 -
 chart2/source/view/charttypes/Splines.cxx                                   |    2 
 chart2/source/view/charttypes/VSeriesPlotter.cxx                            |    2 
 chart2/source/view/main/ChartView.cxx                                       |    4 
 chart2/source/view/main/DummyXShape.cxx                                     |    4 
 chart2/source/view/main/DummyXShape.hxx                                     |   10 +-
 chart2/source/view/main/VTitle.hxx                                          |    2 
 svl/source/items/style.cxx                                                  |    6 -
 svl/source/misc/sharedstringpool.cxx                                        |    2 
 svl/source/numbers/numuno.cxx                                               |    2 
 svl/source/numbers/supservs.hxx                                             |    2 
 svl/source/numbers/zforfind.hxx                                             |    2 
 svl/source/numbers/zforscan.hxx                                             |    2 
 svl/source/passwordcontainer/syscreds.hxx                                   |    2 
 svl/source/svdde/ddesvr.cxx                                                 |    2 
 svl/source/undo/undo.cxx                                                    |   10 +-
 svtools/source/contnr/treelistentry.cxx                                     |    2 
 sw/qa/extras/ooxmlexport/data/ooo47778-3.odt                                |binary
 sw/qa/extras/ooxmlexport/ooxmlexport5.cxx                                   |    6 +
 sw/source/filter/ww8/wrtww8.cxx                                             |   46 +++++++++-
 94 files changed, 194 insertions(+), 148 deletions(-)

New commits:
commit 89a28f54a295e1e05116176346763b16c8d187e0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jun 8 10:25:13 2015 +0100

    Resolves: crash on export of ooo47778-3.sxw to docx
    
    This is a horror where the table in the frame has its cells out
    of visual sequence, so the last row appears before the last node
    so on hitting the last node we have to really jump backwards to
    a previously skipped set of nodes to find the end of the table
    
    Change-Id: I93545e0c425267647d5f048c3bd95fe0cfddf8f3

diff --git a/sw/qa/extras/ooxmlexport/data/ooo47778-3.odt b/sw/qa/extras/ooxmlexport/data/ooo47778-3.odt
new file mode 100644
index 0000000..69005b1
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/ooo47778-3.odt differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
index f97d6a3..6b2fb6e 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
@@ -813,6 +813,12 @@ DECLARE_OOXMLEXPORT_TEST(testSectionHeader, "sectionprot.odt")
     }
 }
 
+DECLARE_OOXMLEXPORT_TEST(testOO47778, "ooo47778-3.odt")
+{
+    if (xmlDocPtr pXmlDoc = parseExport("word/document.xml"))
+        assertXPathContent(pXmlDoc, "(//w:t)[3]", "c");
+}
+
 CPPUNIT_PLUGIN_IMPLEMENT();
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 432a287..41cf0c2 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -2531,11 +2531,51 @@ void WW8Export::SectionBreaksAndFrames( const SwTextNode& rNode )
         OutWW6FlyFrmsInContent( rNode );
 }
 
+class TrackContentToExport
+{
+private:
+    SwPaM *m_pCurPam;
+    SwPaM m_aOrigPam;
+public:
+    TrackContentToExport(SwPaM *pCurPam)
+        : m_pCurPam(pCurPam)
+        , m_aOrigPam(*pCurPam, NULL)
+    {
+    }
+
+    bool contentRemainsToExport(ww8::WW8TableInfo *pTableInfo)
+    {
+        bool bSimpleContentRemains = m_pCurPam->GetPoint()->nNode < m_pCurPam->GetMark()->nNode ||
+            (m_pCurPam->GetPoint()->nNode == m_pCurPam->GetMark()->nNode &&
+              m_pCurPam->GetPoint()->nContent.GetIndex() <= m_pCurPam->GetMark()->nContent.GetIndex());
+        if (bSimpleContentRemains)
+            return true;
+
+        if (!pTableInfo)
+            return false;
+
+        //An old-school table where one cell may points back to a previous node as the next cell
+        //so if this node is the last node in the range, we may need to jump back to a previously
+        //skipped cell to output it in a sane sequence. See ooo47778-3.sxw for one of these
+        //horrors. So if we are at the end of the selection, but this end point is a table
+        //cell whose next cell is in the selection allow jumping back to it
+        const SwNode* pCurrentNode = &m_pCurPam->GetPoint()->nNode.GetNode();
+        const SwNode* pNextNode = pTableInfo->getNextNode(pCurrentNode);
+
+        if (pNextNode && pCurrentNode != pNextNode)
+        {
+            return pNextNode->GetIndex() >= m_aOrigPam.GetPoint()->nNode.GetIndex() &&
+                   pNextNode->GetIndex() < m_aOrigPam.GetMark()->nNode.GetIndex();
+        }
+
+        return false;
+    }
+};
+
 void MSWordExportBase::WriteText()
 {
-    while( m_pCurPam->GetPoint()->nNode < m_pCurPam->GetMark()->nNode ||
-           ( m_pCurPam->GetPoint()->nNode == m_pCurPam->GetMark()->nNode &&
-             m_pCurPam->GetPoint()->nContent.GetIndex() <= m_pCurPam->GetMark()->nContent.GetIndex() ) )
+    TrackContentToExport aContentTracking(m_pCurPam);
+    while (aContentTracking.contentRemainsToExport(m_pTableInfo.get()))
     {
         SwNode& rNd = m_pCurPam->GetNode();
 
commit 0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jun 8 09:29:35 2015 +0100

    cppcheck: noExplicitConstructor
    
    Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf

diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx
index 03d31947..35e98c7 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -622,7 +622,7 @@ namespace cairocanvas
         class OffsetTransformer
         {
         public:
-            OffsetTransformer( const ::basegfx::B2DHomMatrix& rMat ) :
+            explicit OffsetTransformer( const ::basegfx::B2DHomMatrix& rMat ) :
                 maMatrix( rMat )
             {
             }
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index 427acb7..bbe17fb 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -84,7 +84,7 @@ class CanvasFactory
 
 public:
     virtual ~CanvasFactory();
-    CanvasFactory( Reference<XComponentContext> const & xContext );
+    explicit CanvasFactory( Reference<XComponentContext> const & xContext );
 
     // XServiceInfo
     virtual OUString SAL_CALL getImplementationName() throw (RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index 37122d8..597c615 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -541,7 +541,7 @@ namespace oglcanvas
             }
 
         public:
-            BufferContextImpl(const ::basegfx::B2IVector& rSize) :
+            explicit BufferContextImpl(const ::basegfx::B2IVector& rSize) :
                 maSize(rSize),
                 mnFrambufferId(0),
                 mnDepthId(0),
diff --git a/canvas/source/tools/page.hxx b/canvas/source/tools/page.hxx
index 54773f2..75ef544 100644
--- a/canvas/source/tools/page.hxx
+++ b/canvas/source/tools/page.hxx
@@ -42,7 +42,7 @@ namespace canvas
     class Page
     {
     public:
-        Page( const IRenderModuleSharedPtr& rRenderModule );
+        explicit Page( const IRenderModuleSharedPtr& rRenderModule );
 
         FragmentSharedPtr        allocateSpace( const ::basegfx::B2ISize& rSize );
         bool                     nakedFragment( const FragmentSharedPtr& pFragment );
@@ -80,7 +80,7 @@ namespace canvas
         }
 
         /// Creates a 'naked' fragment.
-        PageFragment( const ::basegfx::B2ISize& rSize ) :
+        explicit PageFragment( const ::basegfx::B2ISize& rSize ) :
             mpPage(NULL),
             maRect(rSize),
             mpBuffer(),
diff --git a/canvas/source/tools/pagemanager.hxx b/canvas/source/tools/pagemanager.hxx
index 06756dd..632d4d6 100644
--- a/canvas/source/tools/pagemanager.hxx
+++ b/canvas/source/tools/pagemanager.hxx
@@ -32,7 +32,7 @@ namespace canvas
     class PageManager
     {
     public:
-        PageManager(const canvas::IRenderModuleSharedPtr& rRenderModule)
+        explicit PageManager(const canvas::IRenderModuleSharedPtr& rRenderModule)
             : mpRenderModule(rRenderModule)
         {
         }
diff --git a/canvas/source/tools/spriteredrawmanager.cxx b/canvas/source/tools/spriteredrawmanager.cxx
index a98a65e..5708b97 100644
--- a/canvas/source/tools/spriteredrawmanager.cxx
+++ b/canvas/source/tools/spriteredrawmanager.cxx
@@ -45,7 +45,7 @@ namespace canvas
         class SpriteTracer
         {
         public:
-            SpriteTracer( const Sprite::Reference& rAffectedSprite ) :
+            explicit SpriteTracer( const Sprite::Reference& rAffectedSprite ) :
                 mpAffectedSprite(rAffectedSprite),
                 maMoveStartArea(),
                 maMoveEndArea(),
diff --git a/canvas/source/tools/surfaceproxymanager.cxx b/canvas/source/tools/surfaceproxymanager.cxx
index 7c0ac71..62bae2b 100644
--- a/canvas/source/tools/surfaceproxymanager.cxx
+++ b/canvas/source/tools/surfaceproxymanager.cxx
@@ -33,7 +33,7 @@ namespace canvas
     {
     public:
 
-        SurfaceProxyManager( const IRenderModuleSharedPtr& rRenderModule ) :
+        explicit SurfaceProxyManager( const IRenderModuleSharedPtr& rRenderModule ) :
             mpPageManager( new PageManager(rRenderModule) )
         {
         }
diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx
index 9d5e0b2..eb639b5 100644
--- a/canvas/source/vcl/impltools.hxx
+++ b/canvas/source/vcl/impltools.hxx
@@ -108,7 +108,7 @@ namespace vclcanvas
             }
 
             /// To be compatible with CanvasBase mutex concept
-            LocalGuard( const ::osl::Mutex& ) :
+            explicit LocalGuard( const ::osl::Mutex& ) :
                 aSolarGuard()
             {
             }
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx
index 6cf5342..9e4c712 100644
--- a/canvas/source/vcl/textlayout.cxx
+++ b/canvas/source/vcl/textlayout.cxx
@@ -412,7 +412,7 @@ namespace vclcanvas
         class OffsetTransformer
         {
         public:
-            OffsetTransformer( const ::basegfx::B2DHomMatrix& rMat ) :
+            explicit OffsetTransformer( const ::basegfx::B2DHomMatrix& rMat ) :
                 maMatrix( rMat )
             {
             }
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index 9540ed5..7e2e11c 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -183,7 +183,7 @@ private:
     OUString aDir;
 
 public:
-    CheckForChartName( const OUString& rDir ):
+    explicit CheckForChartName( const OUString& rDir ):
         aDir(rDir) {}
 
     bool operator()(const OUString& rName)
diff --git a/chart2/source/controller/accessibility/AccStatisticsObject.hxx b/chart2/source/controller/accessibility/AccStatisticsObject.hxx
index c3f9451..9c8fcc7 100644
--- a/chart2/source/controller/accessibility/AccStatisticsObject.hxx
+++ b/chart2/source/controller/accessibility/AccStatisticsObject.hxx
@@ -29,7 +29,7 @@ namespace chart
 class AccStatisticsObject : public AccessibleChartElement
 {
 public:
-    AccStatisticsObject( const AccessibleElementInfo& rAccInfo );
+    explicit AccStatisticsObject( const AccessibleElementInfo& rAccInfo );
 
     virtual ~AccStatisticsObject();
 
diff --git a/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx b/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx
index 5bca101..6e28ff5 100644
--- a/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx
@@ -47,7 +47,7 @@ class AreaWrapper : public ::cppu::ImplInheritanceHelper3<
                     >
 {
 public:
-    AreaWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit AreaWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~AreaWrapper();
 
     /// XServiceInfo declarations
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
index 9b9e437..b315e16 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
@@ -46,7 +46,7 @@ namespace wrapper
 class Chart2ModelContact
 {
 public:
-    Chart2ModelContact( const ::com::sun::star::uno::Reference<
+    explicit Chart2ModelContact( const ::com::sun::star::uno::Reference<
                       ::com::sun::star::uno::XComponentContext >& xContext );
     virtual ~Chart2ModelContact();
 
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
index 1a7c0c2..8c687ad 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
@@ -129,7 +129,7 @@ struct lcl_Operator
 
 struct lcl_AllOperator : public lcl_Operator
 {
-    lcl_AllOperator( const Reference< XChartData >& xDataToApply )
+    explicit lcl_AllOperator( const Reference< XChartData >& xDataToApply )
         : lcl_Operator()
         , m_xDataToApply( xDataToApply )
     {
@@ -176,7 +176,7 @@ struct lcl_AllOperator : public lcl_Operator
 
 struct lcl_DataOperator : public lcl_Operator
 {
-    lcl_DataOperator( const Sequence< Sequence< double > >& rData )
+    explicit lcl_DataOperator( const Sequence< Sequence< double > >& rData )
         : lcl_Operator()
         , m_rData( rData )
     {
@@ -257,7 +257,7 @@ struct lcl_ComplexRowDescriptionsOperator : public lcl_Operator
 
 struct lcl_AnyRowDescriptionsOperator : public lcl_Operator
 {
-    lcl_AnyRowDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyRowDescriptions )
+    explicit lcl_AnyRowDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyRowDescriptions )
         : lcl_Operator()
         , m_rAnyRowDescriptions( rAnyRowDescriptions )
     {
@@ -343,7 +343,7 @@ struct lcl_ComplexColumnDescriptionsOperator : public lcl_Operator
 
 struct lcl_AnyColumnDescriptionsOperator : public lcl_Operator
 {
-    lcl_AnyColumnDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyColumnDescriptions )
+    explicit lcl_AnyColumnDescriptionsOperator( const Sequence< Sequence< uno::Any > >& rAnyColumnDescriptions )
         : lcl_Operator()
         , m_rAnyColumnDescriptions( rAnyColumnDescriptions )
     {
@@ -365,7 +365,7 @@ struct lcl_AnyColumnDescriptionsOperator : public lcl_Operator
 
 struct lcl_DateCategoriesOperator : public lcl_Operator
 {
-    lcl_DateCategoriesOperator( const Sequence< double >& rDates )
+    explicit lcl_DateCategoriesOperator( const Sequence< double >& rDates )
         : lcl_Operator()
         , m_rDates( rDates )
     {
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx
index 23671fa..f1781ee 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx
@@ -48,7 +48,7 @@ class ChartDataWrapper : public MutexContainer, public
     com::sun::star::lang::XComponent >
 {
 public:
-    ChartDataWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit ChartDataWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     ChartDataWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact
         , const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartData >& xNewData );
     virtual ~ChartDataWrapper();
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index 33c06dc..e2c2b3a 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -276,7 +276,7 @@ namespace wrapper
 class WrappedDataSourceLabelsInFirstRowProperty : public WrappedProperty
 {
 public:
-    WrappedDataSourceLabelsInFirstRowProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedDataSourceLabelsInFirstRowProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedDataSourceLabelsInFirstRowProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -374,7 +374,7 @@ Any WrappedDataSourceLabelsInFirstRowProperty::getPropertyDefault( const Referen
 class WrappedDataSourceLabelsInFirstColumnProperty : public WrappedProperty
 {
 public:
-    WrappedDataSourceLabelsInFirstColumnProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedDataSourceLabelsInFirstColumnProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedDataSourceLabelsInFirstColumnProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -472,7 +472,7 @@ Any WrappedDataSourceLabelsInFirstColumnProperty::getPropertyDefault( const Refe
 class WrappedHasLegendProperty : public WrappedProperty
 {
 public:
-    WrappedHasLegendProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedHasLegendProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedHasLegendProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -556,7 +556,7 @@ Any WrappedHasLegendProperty::getPropertyDefault( const Reference< beans::XPrope
 class WrappedHasMainTitleProperty : public WrappedProperty
 {
 public:
-    WrappedHasMainTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedHasMainTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedHasMainTitleProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -629,7 +629,7 @@ Any WrappedHasMainTitleProperty::getPropertyDefault( const Reference< beans::XPr
 class WrappedHasSubTitleProperty : public WrappedProperty
 {
 public:
-    WrappedHasSubTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedHasSubTitleProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedHasSubTitleProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
index f9ded24..4c6c5b5 100644
--- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
@@ -253,7 +253,7 @@ struct StaticPointWrapperPropertyArray : public rtl::StaticAggregate< Sequence<
 class WrappedAttachedAxisProperty : public ::chart::WrappedProperty
 {
 public:
-    WrappedAttachedAxisProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedAttachedAxisProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedAttachedAxisProperty();
 
     virtual void setPropertyValue( const Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -367,7 +367,7 @@ Any WrappedSegmentOffsetProperty::convertOuterToInnerValue( const Any& rOuterVal
 class WrappedLineColorProperty : public WrappedSeriesAreaOrLineProperty
 {
 public:
-    WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper );
+    explicit WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper );
     virtual ~WrappedLineColorProperty();
 
     virtual void setPropertyValue( const Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -428,7 +428,7 @@ Any WrappedLineColorProperty::getPropertyDefault( const Reference< beans::XPrope
 class WrappedLineStyleProperty : public WrappedSeriesAreaOrLineProperty
 {
 public:
-    WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper );
+    explicit WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper );
     virtual ~WrappedLineStyleProperty();
 
     virtual void setPropertyValue( const Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
index 2206607..1fff20b 100644
--- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
@@ -60,7 +60,7 @@ public:
     };
 
     //this constructor needs an initialize call afterwards
-    DataSeriesPointWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit DataSeriesPointWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
 
     DataSeriesPointWrapper( eType eType
             , sal_Int32 nSeriesIndexInNewAPI
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index 3d9112f..0f4216e 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -1203,7 +1203,7 @@ void SAL_CALL DiagramWrapper::removeEventListener(
 class WrappedDataRowSourceProperty : public WrappedProperty
 {
 public:
-    WrappedDataRowSourceProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedDataRowSourceProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedDataRowSourceProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -1417,7 +1417,7 @@ Any WrappedStackingProperty::getPropertyDefault( const Reference< beans::XProper
 class WrappedDim3DProperty : public WrappedProperty
 {
 public:
-    WrappedDim3DProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedDim3DProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedDim3DProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -1488,7 +1488,7 @@ Any WrappedDim3DProperty::getPropertyDefault( const Reference< beans::XPropertyS
 class WrappedVerticalProperty : public WrappedProperty
 {
 public:
-    WrappedVerticalProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedVerticalProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedVerticalProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -1564,7 +1564,7 @@ Any WrappedVerticalProperty::getPropertyDefault( const Reference< beans::XProper
 class WrappedNumberOfLinesProperty : public WrappedProperty
 {
 public:
-    WrappedNumberOfLinesProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedNumberOfLinesProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedNumberOfLinesProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -1718,7 +1718,7 @@ Any WrappedNumberOfLinesProperty::getPropertyDefault( const Reference< beans::XP
 class WrappedAttributedDataPointsProperty : public WrappedProperty
 {
 public:
-    WrappedAttributedDataPointsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedAttributedDataPointsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedAttributedDataPointsProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -1832,7 +1832,7 @@ Any WrappedAttributedDataPointsProperty::getPropertyDefault( const Reference< be
 class WrappedSolidTypeProperty : public WrappedProperty
 {
 public:
-    WrappedSolidTypeProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedSolidTypeProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedSolidTypeProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -1977,7 +1977,7 @@ Any WrappedAutomaticSizeProperty::getPropertyDefault( const Reference< beans::XP
 class WrappedIncludeHiddenCellsProperty : public WrappedProperty
 {
 public:
-    WrappedIncludeHiddenCellsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedIncludeHiddenCellsProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedIncludeHiddenCellsProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx
index 0b78160..36beaf0 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx
@@ -71,7 +71,7 @@ class DiagramWrapper : public cppu::ImplInheritanceHelper<
                     >
 {
 public:
-    DiagramWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit DiagramWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~DiagramWrapper();
 
     /// XServiceInfo declarations
diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx
index 8f76007..c0467f9 100644
--- a/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx
@@ -50,7 +50,7 @@ class LegendWrapper : public ::cppu::ImplInheritanceHelper3<
                     , public ReferenceSizePropertyProvider
 {
 public:
-    LegendWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit LegendWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~LegendWrapper();
 
     /// XServiceInfo declarations
diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx
index 33926f4..7fb2f9c 100644
--- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx
@@ -55,7 +55,7 @@ class MinMaxLineWrapper : public MutexContainer
                         >
 {
 public:
-    MinMaxLineWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit MinMaxLineWrapper( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~MinMaxLineWrapper();
 
     /// XServiceInfo declarations
diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index bf71695..172c807 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
@@ -51,7 +51,7 @@ namespace chart
 class WrappedTitleStringProperty : public WrappedProperty
 {
 public:
-    WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext );
+    explicit WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext );
     virtual ~WrappedTitleStringProperty();
 
     virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx
index 9d84b1f..64dfaa4 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx
@@ -30,7 +30,7 @@ namespace wrapper
 class WrappedAddInProperty : public WrappedProperty
 {
 public:
-    WrappedAddInProperty( ChartDocumentWrapper& rChartDocumentWrapper );
+    explicit WrappedAddInProperty( ChartDocumentWrapper& rChartDocumentWrapper );
     virtual ~WrappedAddInProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -46,7 +46,7 @@ private:
 class WrappedBaseDiagramProperty : public WrappedProperty
 {
 public:
-    WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper );
+    explicit WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper );
     virtual ~WrappedBaseDiagramProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -62,7 +62,7 @@ private:
 class WrappedAdditionalShapesProperty : public WrappedProperty
 {
 public:
-    WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper );
+    explicit WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper );
     virtual ~WrappedAdditionalShapesProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -78,7 +78,7 @@ private:
 class WrappedRefreshAddInAllowedProperty : public WrappedProperty
 {
 public:
-    WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper );
+    explicit WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper );
     virtual ~WrappedRefreshAddInAllowedProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx
index 9e59aab..ce15c5c 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx
@@ -59,7 +59,7 @@ protected:
 class WrappedCharacterHeightProperty : public WrappedCharacterHeightProperty_Base
 {
 public:
-    WrappedCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider );
+    explicit WrappedCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider );
     virtual ~WrappedCharacterHeightProperty();
 
     static void addWrappedProperties( std::vector< WrappedProperty* >& rList, ReferenceSizePropertyProvider* pRefSizePropProvider );
@@ -68,14 +68,14 @@ public:
 class WrappedAsianCharacterHeightProperty : public WrappedCharacterHeightProperty_Base
 {
 public:
-    WrappedAsianCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider );
+    explicit WrappedAsianCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider );
     virtual ~WrappedAsianCharacterHeightProperty();
 };
 
 class WrappedComplexCharacterHeightProperty : public WrappedCharacterHeightProperty_Base
 {
 public:
-    WrappedComplexCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider );
+    explicit WrappedComplexCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider );
     virtual ~WrappedComplexCharacterHeightProperty();
 };
 
diff --git a/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx
index 54f2845..3493bc7 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx
@@ -61,14 +61,14 @@ protected:
 class WrappedGapwidthProperty : public WrappedBarPositionProperty_Base
 {
 public:
-    WrappedGapwidthProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedGapwidthProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedGapwidthProperty();
 };
 
 class WrappedBarOverlapProperty : public WrappedBarPositionProperty_Base
 {
 public:
-    WrappedBarOverlapProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedBarOverlapProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedBarOverlapProperty();
 };
 
diff --git a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx
index d721e6b..7939a91 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx
@@ -34,7 +34,7 @@ class WrappedLinkNumberFormatProperty;
 class WrappedNumberFormatProperty : public WrappedDirectStateProperty
 {
 public:
-    WrappedNumberFormatProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedNumberFormatProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedNumberFormatProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
@@ -54,7 +54,7 @@ private:
 class WrappedLinkNumberFormatProperty : public WrappedDirectStateProperty
 {
 public:
-    WrappedLinkNumberFormatProperty( const boost::shared_ptr<Chart2ModelContact>& pChart2ModelContact );
+    explicit WrappedLinkNumberFormatProperty( const boost::shared_ptr<Chart2ModelContact>& pChart2ModelContact );
     virtual ~WrappedLinkNumberFormatProperty();
 
     virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx
index 5b7c4f4..2e4d2e2 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx
@@ -37,7 +37,7 @@ namespace wrapper
 class WrappedScaleTextProperty : public WrappedProperty
 {
 public:
-    WrappedScaleTextProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
+    explicit WrappedScaleTextProperty( ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedScaleTextProperty();
 
     virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx
index f2e7cd3..e60741d 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx
@@ -40,7 +40,7 @@ public:
 class WrappedD3DTransformMatrixProperty : public WrappedProperty
 {
 public:
-    WrappedD3DTransformMatrixProperty(
+    explicit WrappedD3DTransformMatrixProperty(
         ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact );
     virtual ~WrappedD3DTransformMatrixProperty();
 
diff --git a/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx
index 09fdb7e..2f42d4c 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx
@@ -27,7 +27,7 @@ namespace chart
 class WrappedTextRotationProperty : public WrappedProperty
 {
 public:
-    WrappedTextRotationProperty( bool bDirectState=false );
+    explicit WrappedTextRotationProperty( bool bDirectState=false );
     virtual ~WrappedTextRotationProperty();
 
     virtual ::com::sun::star::beans::PropertyState getPropertyState( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyState >& xInnerPropertyState ) const
diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx
index e39213f..cf01349 100644
--- a/chart2/source/controller/dialogs/DataBrowser.cxx
+++ b/chart2/source/controller/dialogs/DataBrowser.cxx
@@ -101,7 +101,7 @@ namespace impl
 class SeriesHeaderEdit : public Edit
 {
 public:
-    SeriesHeaderEdit( vcl::Window * pParent );
+    explicit SeriesHeaderEdit( vcl::Window * pParent );
     virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
 
     void setStartColumn( sal_Int32 nStartColumn );
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx
index e63151e..d967d6d 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.cxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx
@@ -178,7 +178,7 @@ sal_Int32 lcl_getValuesRepresentationIndex(
 
 struct lcl_RepresentationsOfLSeqMatch : public ::std::unary_function< Reference< chart2::data::XLabeledDataSequence >, bool >
 {
-    lcl_RepresentationsOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) :
+    explicit lcl_RepresentationsOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) :
             m_aValuesRep( xLSeq.is() ?
                           (xLSeq->getValues().is() ? xLSeq->getValues()->getSourceRangeRepresentation() : OUString())
                           : OUString() )
@@ -196,7 +196,7 @@ private:
 
 struct lcl_RolesOfLSeqMatch : public ::std::unary_function< Reference< chart2::data::XLabeledDataSequence >, bool >
 {
-    lcl_RolesOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) :
+    explicit lcl_RolesOfLSeqMatch( const Reference< chart2::data::XLabeledDataSequence > & xLSeq ) :
         m_aRole(DataSeriesHelper::getRole(xLSeq)) {}
 
     bool operator() ( const Reference< chart2::data::XLabeledDataSequence > & xLSeq )
@@ -273,7 +273,7 @@ namespace
 {
 struct lcl_DataSeriesOfHeaderMatches : public ::std::unary_function< ::chart::DataBrowserModel::tDataHeader, bool >
 {
-    lcl_DataSeriesOfHeaderMatches(
+    explicit lcl_DataSeriesOfHeaderMatches(
         const Reference< chart2::XDataSeries > & xSeriesToCompareWith ) :
             m_xSeries( xSeriesToCompareWith )
     {}
diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx
index 0460773..8e55476 100644
--- a/chart2/source/controller/dialogs/dlg_DataSource.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx
@@ -44,7 +44,7 @@ namespace chart
 class DocumentChartTypeTemplateProvider : public ChartTypeTemplateProvider
 {
 public:
-    DocumentChartTypeTemplateProvider(
+    explicit DocumentChartTypeTemplateProvider(
         const Reference< chart2::XChartDocument > & xDoc );
     virtual ~DocumentChartTypeTemplateProvider();
 
@@ -84,7 +84,7 @@ Reference< chart2::XChartTypeTemplate > DocumentChartTypeTemplateProvider::getCu
 class DataSourceTabControl : public TabControl
 {
 public:
-    DataSourceTabControl(vcl::Window* pParent);
+    explicit DataSourceTabControl(vcl::Window* pParent);
 
     virtual bool DeactivatePage() SAL_OVERRIDE;
 
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.hxx b/chart2/source/controller/dialogs/res_BarGeometry.hxx
index a14cf4a..168cd4e 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.hxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.hxx
@@ -29,7 +29,7 @@ namespace chart
 class BarGeometryResources
 {
 public:
-    BarGeometryResources(VclBuilderContainer* pParent);
+    explicit BarGeometryResources(VclBuilderContainer* pParent);
 
     void Show( bool bShow );
     void Enable( bool bEnable );
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
index b7f46f2..bb96e85 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
@@ -36,7 +36,7 @@ namespace chart
 class LightButton : public ImageButton
 {
 public:
-    LightButton( vcl::Window* pParent);
+    explicit LightButton( vcl::Window* pParent);
 
     void switchLightOn(bool bOn);
     bool isLightOn() const { return m_bLightOn;}
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx
index 75e872c..84b9cc2 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -45,7 +45,7 @@ using namespace ::com::sun::star::chart2;
 class Dim3DLookResourceGroup : public ChangingResource
 {
 public:
-    Dim3DLookResourceGroup(VclBuilderContainer* pWindow);
+    explicit Dim3DLookResourceGroup(VclBuilderContainer* pWindow);
 
     void showControls( bool bShow );
 
@@ -119,7 +119,7 @@ IMPL_LINK_NOARG(Dim3DLookResourceGroup, SelectSchemeHdl)
 class SortByXValuesResourceGroup : public ChangingResource
 {
 public:
-    SortByXValuesResourceGroup(VclBuilderContainer* pWindow);
+    explicit SortByXValuesResourceGroup(VclBuilderContainer* pWindow);
 
     void showControls( bool bShow );
 
@@ -165,7 +165,7 @@ IMPL_LINK_NOARG(SortByXValuesResourceGroup, SortByXValuesCheckHdl)
 class StackingResourceGroup : public ChangingResource
 {
 public:
-    StackingResourceGroup(VclBuilderContainer* pWindow);
+    explicit StackingResourceGroup(VclBuilderContainer* pWindow);
 
     void showControls( bool bShow, bool bShowDeepStacking );
 
@@ -270,7 +270,7 @@ IMPL_LINK_NOARG(StackingResourceGroup, StackingEnableHdl)
 class GL3DResourceGroup : public ChangingResource
 {
 public:
-    GL3DResourceGroup( VclBuilderContainer* pWindow );
+    explicit GL3DResourceGroup( VclBuilderContainer* pWindow );
 
     void showControls( bool bShow );
     void fillControls( const ChartTypeParameter& rParam );
@@ -313,7 +313,7 @@ IMPL_LINK_NOARG( GL3DResourceGroup, SettingChangedHdl )
 class SplinePropertiesDialog : public ModalDialog
 {
 public:
-    SplinePropertiesDialog( vcl::Window* pParent );
+    explicit SplinePropertiesDialog( vcl::Window* pParent );
     virtual ~SplinePropertiesDialog() { disposeOnce(); }
     virtual void dispose() SAL_OVERRIDE;
 
@@ -406,7 +406,7 @@ IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl)
 class SteppedPropertiesDialog : public ModalDialog
 {
 public:
-    SteppedPropertiesDialog( vcl::Window* pParent );
+    explicit SteppedPropertiesDialog( vcl::Window* pParent );
     virtual ~SteppedPropertiesDialog() { disposeOnce(); }
     virtual void dispose() SAL_OVERRIDE;
 
@@ -488,7 +488,7 @@ void SteppedPropertiesDialog::fillParameter( ChartTypeParameter& rParameter, boo
 class SplineResourceGroup : public ChangingResource
 {
 public:
-    SplineResourceGroup(VclBuilderContainer* pWindow);
+    explicit SplineResourceGroup(VclBuilderContainer* pWindow);
 
     void showControls( bool bShow );
 
@@ -641,7 +641,7 @@ IMPL_LINK_NOARG(SplineResourceGroup, SteppedDetailsDialogHdl)
 class GeometryResourceGroup : public ChangingResource
 {
 public:
-    GeometryResourceGroup(VclBuilderContainer* pWindow);
+    explicit GeometryResourceGroup(VclBuilderContainer* pWindow);
 
     void showControls( bool bShow );
 
diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx
index 88b5df5..1876dbd 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 e194016..7df062f 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 360f97e..db445c2 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 6b060b7..4886210 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 aa9c182..f0eb612 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 684c78b..92344a1 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 48d3ea3..e10acaa 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 8bdb1ed..f067e40 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 dc8945d..c38bba2 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 acf3275..cd57908 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();
diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx
index faefe36..506c60f 100644
--- a/chart2/source/model/main/Axis.hxx
+++ b/chart2/source/model/main/Axis.hxx
@@ -54,7 +54,7 @@ class Axis :
     public ::property::OPropertySet
 {
 public:
-    Axis( ::com::sun::star::uno::Reference<
+    explicit Axis( ::com::sun::star::uno::Reference<
           ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~Axis();
 
diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx
index 2535c75..ce6d69c 100644
--- a/chart2/source/model/main/ChartModel_Persistence.cxx
+++ b/chart2/source/model/main/ChartModel_Persistence.cxx
@@ -64,7 +64,7 @@ namespace
 {
 struct lcl_PropNameEquals : public ::std::unary_function< beans::PropertyValue, bool >
 {
-    lcl_PropNameEquals( const OUString & rStrToCompareWith ) :
+    explicit lcl_PropNameEquals( const OUString & rStrToCompareWith ) :
             m_aStr( rStrToCompareWith )
     {}
     bool operator() ( const beans::PropertyValue & rProp )
diff --git a/chart2/source/model/main/DataPoint.hxx b/chart2/source/model/main/DataPoint.hxx
index d7c8e6e..c123492 100644
--- a/chart2/source/model/main/DataPoint.hxx
+++ b/chart2/source/model/main/DataPoint.hxx
@@ -51,7 +51,7 @@ class DataPoint :
         public ::property::OPropertySet
 {
 public:
-    DataPoint( const ::com::sun::star::uno::Reference<
+    explicit DataPoint( const ::com::sun::star::uno::Reference<
                    ::com::sun::star::beans::XPropertySet > & rParentProperties );
     virtual ~DataPoint();
 
diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx
index a8d95a8..38c74b2 100644
--- a/chart2/source/model/main/FormattedString.hxx
+++ b/chart2/source/model/main/FormattedString.hxx
@@ -49,7 +49,7 @@ class FormattedString :
     public ::property::OPropertySet
 {
 public:
-    FormattedString( css::uno::Reference<
+    explicit FormattedString( css::uno::Reference<
            css::uno::XComponentContext > const & xContext );
     virtual ~FormattedString();
 
diff --git a/chart2/source/model/main/GridProperties.hxx b/chart2/source/model/main/GridProperties.hxx
index d9ce4aa..7124899 100644
--- a/chart2/source/model/main/GridProperties.hxx
+++ b/chart2/source/model/main/GridProperties.hxx
@@ -51,7 +51,7 @@ class GridProperties :
         public ::property::OPropertySet
 {
 public:
-    GridProperties( ::com::sun::star::uno::Reference<
+    explicit GridProperties( ::com::sun::star::uno::Reference<
           ::com::sun::star::uno::XComponentContext > const & xContext );
     explicit GridProperties();
     virtual ~GridProperties();
diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx
index a5a297b..f95d906 100644
--- a/chart2/source/model/main/Legend.hxx
+++ b/chart2/source/model/main/Legend.hxx
@@ -51,7 +51,7 @@ class Legend :
     public ::property::OPropertySet
 {
 public:
-    Legend( ::com::sun::star::uno::Reference<
+    explicit Legend( ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~Legend();
 
diff --git a/chart2/source/model/main/PageBackground.hxx b/chart2/source/model/main/PageBackground.hxx
index 1cdb817..e91011a 100644
--- a/chart2/source/model/main/PageBackground.hxx
+++ b/chart2/source/model/main/PageBackground.hxx
@@ -48,7 +48,7 @@ class PageBackground :
     public ::property::OPropertySet
 {
 public:
-    PageBackground( const ::com::sun::star::uno::Reference<
+    explicit PageBackground( const ::com::sun::star::uno::Reference<
                         ::com::sun::star::uno::XComponentContext > & xContext );
     virtual ~PageBackground();
 
diff --git a/chart2/source/model/main/Title.hxx b/chart2/source/model/main/Title.hxx
index 5d55dfe..127cb31 100644
--- a/chart2/source/model/main/Title.hxx
+++ b/chart2/source/model/main/Title.hxx
@@ -49,7 +49,7 @@ class Title :
     public ::property::OPropertySet
 {
 public:
-    Title( ::com::sun::star::uno::Reference<
+    explicit Title( ::com::sun::star::uno::Reference<
            ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~Title();
 
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx
index 5422ad8..3ee731e 100644
--- a/chart2/source/model/main/UndoManager.cxx
+++ b/chart2/source/model/main/UndoManager.cxx
@@ -142,7 +142,7 @@ namespace chart
         class UndoManagerMethodGuard : public ::framework::IMutexGuard
         {
         public:
-            UndoManagerMethodGuard( UndoManager_Impl& i_impl )
+            explicit UndoManagerMethodGuard( UndoManager_Impl& i_impl )
             {
                 ::osl::MutexGuard aGuard( i_impl.getMutex() );
                 // throw if the instance is already disposed
diff --git a/chart2/source/model/template/AreaChartType.hxx b/chart2/source/model/template/AreaChartType.hxx
index 21d17a3..c58c84e 100644
--- a/chart2/source/model/template/AreaChartType.hxx
+++ b/chart2/source/model/template/AreaChartType.hxx
@@ -27,7 +27,7 @@ namespace chart
 class AreaChartType : public ChartType
 {
 public:
-    AreaChartType(
+    explicit AreaChartType(
         ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~AreaChartType();
diff --git a/chart2/source/model/template/BarChartType.hxx b/chart2/source/model/template/BarChartType.hxx
index 5000022..97ffcb3 100644
--- a/chart2/source/model/template/BarChartType.hxx
+++ b/chart2/source/model/template/BarChartType.hxx
@@ -27,7 +27,7 @@ namespace chart
 class BarChartType : public ChartType
 {
 public:
-    BarChartType(
+    explicit BarChartType(
         ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~BarChartType();
diff --git a/chart2/source/model/template/BubbleChartType.hxx b/chart2/source/model/template/BubbleChartType.hxx
index 0e8456b..8c6015d 100644
--- a/chart2/source/model/template/BubbleChartType.hxx
+++ b/chart2/source/model/template/BubbleChartType.hxx
@@ -28,7 +28,7 @@ namespace chart
 class BubbleChartType : public ChartType
 {
 public:
-    BubbleChartType(
+    explicit BubbleChartType(
         ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~BubbleChartType();
diff --git a/chart2/source/model/template/CandleStickChartType.hxx b/chart2/source/model/template/CandleStickChartType.hxx
index 7a5ade0b..ee3c007 100644
--- a/chart2/source/model/template/CandleStickChartType.hxx
+++ b/chart2/source/model/template/CandleStickChartType.hxx
@@ -27,7 +27,7 @@ namespace chart
 class CandleStickChartType : public ChartType
 {
 public:
-    CandleStickChartType(
+    explicit CandleStickChartType(
         ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~CandleStickChartType();
diff --git a/chart2/source/model/template/ColumnChartType.hxx b/chart2/source/model/template/ColumnChartType.hxx
index 1f35e27..97e253d 100644
--- a/chart2/source/model/template/ColumnChartType.hxx
+++ b/chart2/source/model/template/ColumnChartType.hxx
@@ -27,7 +27,7 @@ namespace chart
 class ColumnChartType : public ChartType
 {
 public:
-    ColumnChartType(
+    explicit ColumnChartType(
         ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~ColumnChartType();
diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx
index 5db7d66..52be707 100644
--- a/chart2/source/model/template/DataInterpreter.cxx
+++ b/chart2/source/model/template/DataInterpreter.cxx
@@ -221,7 +221,7 @@ namespace
 
 struct lcl_LabeledSequenceEquals : public std::unary_function< Reference< data::XLabeledDataSequence >, bool >
 {
-    lcl_LabeledSequenceEquals( const Reference< data::XLabeledDataSequence > & xLSeqToCmp ) :
+    explicit lcl_LabeledSequenceEquals( const Reference< data::XLabeledDataSequence > & xLSeqToCmp ) :
             m_bHasLabels ( false ),
             m_bHasValues ( false )
     {
diff --git a/chart2/source/model/template/FilledNetChartType.hxx b/chart2/source/model/template/FilledNetChartType.hxx
index 65ce78f..d74e6a2 100644
--- a/chart2/source/model/template/FilledNetChartType.hxx
+++ b/chart2/source/model/template/FilledNetChartType.hxx
@@ -27,7 +27,7 @@ namespace chart
 class FilledNetChartType : public NetChartType_Base
 {
 public:
-    FilledNetChartType( ::com::sun::star::uno::Reference<
+    explicit FilledNetChartType( ::com::sun::star::uno::Reference<
                       ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~FilledNetChartType();
 
diff --git a/chart2/source/model/template/GL3DBarChartType.hxx b/chart2/source/model/template/GL3DBarChartType.hxx
index 3ea07b8..3a41521 100644
--- a/chart2/source/model/template/GL3DBarChartType.hxx
+++ b/chart2/source/model/template/GL3DBarChartType.hxx
@@ -21,7 +21,7 @@ namespace chart {
 class GL3DBarChartType : public ChartType
 {
 public:
-    GL3DBarChartType( const css::uno::Reference<css::uno::XComponentContext>& xContext );
+    explicit GL3DBarChartType( const css::uno::Reference<css::uno::XComponentContext>& xContext );
     virtual ~GL3DBarChartType();
 
     virtual com::sun::star::uno::Sequence< OUString > SAL_CALL
diff --git a/chart2/source/model/template/LineChartType.hxx b/chart2/source/model/template/LineChartType.hxx
index 1628947..c6428c2 100644
--- a/chart2/source/model/template/LineChartType.hxx
+++ b/chart2/source/model/template/LineChartType.hxx
@@ -28,7 +28,7 @@ namespace chart
 class LineChartType : public ChartType
 {
 public:
-    LineChartType(
+    explicit LineChartType(
         ::com::sun::star::uno::Reference<
             ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~LineChartType();
diff --git a/chart2/source/model/template/NetChartType.hxx b/chart2/source/model/template/NetChartType.hxx
index 32152ed..ac75c4c 100644
--- a/chart2/source/model/template/NetChartType.hxx
+++ b/chart2/source/model/template/NetChartType.hxx
@@ -27,7 +27,7 @@ namespace chart
 class NetChartType_Base : public ChartType
 {
 public:
-    NetChartType_Base( ::com::sun::star::uno::Reference<
+    explicit NetChartType_Base( ::com::sun::star::uno::Reference<
                       ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~NetChartType_Base();
 
@@ -55,7 +55,7 @@ protected:
 class NetChartType : public NetChartType_Base
 {
 public:
-    NetChartType( ::com::sun::star::uno::Reference<
+    explicit NetChartType( ::com::sun::star::uno::Reference<
                       ::com::sun::star::uno::XComponentContext > const & xContext );
     virtual ~NetChartType();
 
diff --git a/chart2/source/tools/ImplOPropertySet.cxx b/chart2/source/tools/ImplOPropertySet.cxx
index c8f39c4..239a9c4b 100644
--- a/chart2/source/tools/ImplOPropertySet.cxx
+++ b/chart2/source/tools/ImplOPropertySet.cxx
@@ -37,7 +37,7 @@ namespace
 struct lcl_getPropertyStateByHandle :
         public ::std::unary_function< sal_Int32,  beans::PropertyState >
 {
-    lcl_getPropertyStateByHandle(
+    explicit lcl_getPropertyStateByHandle(
         const ::property::impl::ImplOPropertySet::tPropertyMap & rMap )
             : m_rMap( rMap )
     {}
@@ -57,7 +57,7 @@ template< typename K, typename V >
 struct lcl_eraseMapEntry :
         public ::std::unary_function< K, void >
 {
-    lcl_eraseMapEntry( ::std::map< K, V > & rMap )
+    explicit lcl_eraseMapEntry( ::std::map< K, V > & rMap )
             : m_rMap( rMap )
     {}
 
diff --git a/chart2/source/tools/ModifyListenerHelper.cxx b/chart2/source/tools/ModifyListenerHelper.cxx
index c322a48..f852279 100644
--- a/chart2/source/tools/ModifyListenerHelper.cxx
+++ b/chart2/source/tools/ModifyListenerHelper.cxx
@@ -66,7 +66,7 @@ struct lcl_weakReferenceToSame : public ::std::unary_function<
             ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener > >,
         bool >
 {
-    lcl_weakReferenceToSame( const Reference< util::XModifyListener > & xModListener ) :
+    explicit lcl_weakReferenceToSame( const Reference< util::XModifyListener > & xModListener ) :
             m_xHardRef( xModListener )
     {}
 
diff --git a/chart2/source/tools/PropertyHelper.cxx b/chart2/source/tools/PropertyHelper.cxx
index 365e3a3..de4ea28 100644
--- a/chart2/source/tools/PropertyHelper.cxx
+++ b/chart2/source/tools/PropertyHelper.cxx
@@ -65,7 +65,7 @@ private:
 
 struct lcl_StringMatches : public ::std::unary_function< OUString ,bool >
 {
-    lcl_StringMatches( const OUString & rCmpStr ) :
+    explicit lcl_StringMatches( const OUString & rCmpStr ) :
             m_aCmpStr( rCmpStr )
     {}
 
@@ -80,7 +80,7 @@ private:
 
 struct lcl_OUStringRestToInt32 : public ::std::unary_function< OUString, sal_Int32 >
 {
-    lcl_OUStringRestToInt32( sal_Int32 nPrefixLength ) :
+    explicit lcl_OUStringRestToInt32( sal_Int32 nPrefixLength ) :
             m_nPrefixLength( nPrefixLength )
     {}
     sal_Int32 operator() ( const OUString & rStr )
diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx
index 526499f..2022d60 100644
--- a/chart2/source/tools/XMLRangeHelper.cxx
+++ b/chart2/source/tools/XMLRangeHelper.cxx
@@ -34,7 +34,7 @@ namespace
 class lcl_Escape : public ::std::unary_function< sal_Unicode, void >
 {
 public:
-    lcl_Escape( OUStringBuffer & aResultBuffer ) : m_aResultBuffer( aResultBuffer ) {}
+    explicit lcl_Escape( OUStringBuffer & aResultBuffer ) : m_aResultBuffer( aResultBuffer ) {}
     void operator() ( sal_Unicode aChar )
     {
         static const sal_Unicode m_aQuote( '\'' );
@@ -57,7 +57,7 @@ private:
 class lcl_UnEscape : public ::std::unary_function< sal_Unicode, void >
 {
 public:
-    lcl_UnEscape( OUStringBuffer & aResultBuffer ) : m_aResultBuffer( aResultBuffer ) {}
+    explicit lcl_UnEscape( OUStringBuffer & aResultBuffer ) : m_aResultBuffer( aResultBuffer ) {}
     void operator() ( sal_Unicode aChar )
     {
         static const sal_Unicode m_aBackslash( '\\' );
diff --git a/chart2/source/view/axes/Tickmarks.hxx b/chart2/source/view/axes/Tickmarks.hxx
index b9ecc35..3be50f6 100644
--- a/chart2/source/view/axes/Tickmarks.hxx
+++ b/chart2/source/view/axes/Tickmarks.hxx
@@ -45,7 +45,7 @@ struct TickInfo
     sal_Int32 nFactorForLimitedTextWidth;//categories in higher levels of complex categories can have more place than a single simple category
 
 //methods:
-    TickInfo( const css::uno::Reference<css::chart2::XScaling>& xInverse );
+    explicit TickInfo( const css::uno::Reference<css::chart2::XScaling>& xInverse );
 
     /**
      * Return a value associated with the tick mark. It's normally an original
@@ -72,7 +72,7 @@ public:
 class PureTickIter : public TickIter
 {
 public:
-    PureTickIter( TickInfoArrayType& rTickInfoVector );
+    explicit PureTickIter( TickInfoArrayType& rTickInfoVector );
     virtual ~PureTickIter();
     virtual TickInfo* firstInfo() SAL_OVERRIDE;
     virtual TickInfo* nextInfo() SAL_OVERRIDE;
diff --git a/chart2/source/view/axes/VCartesianCoordinateSystem.cxx b/chart2/source/view/axes/VCartesianCoordinateSystem.cxx
index df7d1bc..81e044c 100644
--- a/chart2/source/view/axes/VCartesianCoordinateSystem.cxx
+++ b/chart2/source/view/axes/VCartesianCoordinateSystem.cxx
@@ -36,7 +36,7 @@ class TextualDataProvider : public ::cppu::WeakImplHelper1<
         >
 {
 public:
-    TextualDataProvider( const uno::Sequence< OUString >& rTextSequence )
+    explicit TextualDataProvider( const uno::Sequence< OUString >& rTextSequence )
         : m_aTextSequence( rTextSequence )
     {
     }
diff --git a/chart2/source/view/axes/VCartesianCoordinateSystem.hxx b/chart2/source/view/axes/VCartesianCoordinateSystem.hxx
index b5a5cc4..b062f38 100644
--- a/chart2/source/view/axes/VCartesianCoordinateSystem.hxx
+++ b/chart2/source/view/axes/VCartesianCoordinateSystem.hxx
@@ -29,7 +29,7 @@ namespace chart
 class VCartesianCoordinateSystem : public VCoordinateSystem
 {
 public:
-    VCartesianCoordinateSystem( const ::com::sun::star::uno::Reference<
+    explicit VCartesianCoordinateSystem( const ::com::sun::star::uno::Reference<
         ::com::sun::star::chart2::XCoordinateSystem >& xCooSys );
     virtual ~VCartesianCoordinateSystem();
 
diff --git a/chart2/source/view/axes/VPolarCoordinateSystem.hxx b/chart2/source/view/axes/VPolarCoordinateSystem.hxx
index 135c3c1..2f5de67 100644
--- a/chart2/source/view/axes/VPolarCoordinateSystem.hxx
+++ b/chart2/source/view/axes/VPolarCoordinateSystem.hxx
@@ -29,7 +29,7 @@ namespace chart
 class VPolarCoordinateSystem : public VCoordinateSystem
 {
 public:
-    VPolarCoordinateSystem( const ::com::sun::star::uno::Reference<
+    explicit VPolarCoordinateSystem( const ::com::sun::star::uno::Reference<
         ::com::sun::star::chart2::XCoordinateSystem >& xCooSys );
     virtual ~VPolarCoordinateSystem();
 
diff --git a/chart2/source/view/charttypes/BarPositionHelper.hxx b/chart2/source/view/charttypes/BarPositionHelper.hxx
index 8e7fa3d..b1fe0bc 100644
--- a/chart2/source/view/charttypes/BarPositionHelper.hxx
+++ b/chart2/source/view/charttypes/BarPositionHelper.hxx
@@ -32,7 +32,7 @@ namespace chart
 class BarPositionHelper : public CategoryPositionHelper, public PlottingPositionHelper
 {
 public:
-    BarPositionHelper( bool bSwapXAndY=true );
+    explicit BarPositionHelper( bool bSwapXAndY=true );
     BarPositionHelper( const BarPositionHelper& rSource );
     virtual ~BarPositionHelper();
 
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 5c5feb4..5bc02d3 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -106,7 +106,7 @@ public:
 class RenderThread : public salhelper::Thread
 {
 public:
-    RenderThread(GL3DBarChart* pChart);
+    explicit RenderThread(GL3DBarChart* pChart);
 
 protected:
 
@@ -136,7 +136,7 @@ void RenderThread::renderFrame()
 class RenderOneFrameThread : public RenderThread
 {
 public:
-    RenderOneFrameThread(GL3DBarChart* pChart):
+    explicit RenderOneFrameThread(GL3DBarChart* pChart):
         RenderThread(pChart)
     {}
 
@@ -194,7 +194,7 @@ void RenderAnimationThread::execute()
 class RenderBenchMarkThread : public RenderThread
 {
 public:
-    RenderBenchMarkThread(GL3DBarChart * pChart)
+    explicit RenderBenchMarkThread(GL3DBarChart * pChart)
         : RenderThread(pChart)
         , mbAutoFlyExecuting(false)
         , mbExecuting(false)
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index c8427a5..d7eae8e 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -63,7 +63,7 @@ public:
         @param rSortedPoints  the points for which splines shall be calculated,
                they need to be sorted in x values. First and last y value must be equal
      */
-    lcl_SplineCalculation( const tPointVecType & rSortedPoints);
+    explicit lcl_SplineCalculation( const tPointVecType & rSortedPoints);
 
     /** @descr this function corresponds to the function splint in [1].
 
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index 52e7596..3bed8ae 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -1992,7 +1992,7 @@ namespace
 {
 struct lcl_setRefSizeAtSeriesGroup : public ::std::unary_function< VDataSeriesGroup, void >
 {
-    lcl_setRefSizeAtSeriesGroup( awt::Size aRefSize ) : m_aRefSize( aRefSize ) {}
+    explicit lcl_setRefSizeAtSeriesGroup( awt::Size aRefSize ) : m_aRefSize( aRefSize ) {}
     void operator()( VDataSeriesGroup & rGroup )
     {
         ::std::vector< VDataSeries* >::iterator aIt( rGroup.m_aSeriesVector.begin());
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index b95b5ab..c8ca5c5 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -258,7 +258,7 @@ typedef boost::ptr_vector<VSeriesPlotter> SeriesPlottersType;
 class SeriesPlotterContainer
 {
 public:
-    SeriesPlotterContainer( std::vector< VCoordinateSystem* >& rVCooSysList );
+    explicit SeriesPlotterContainer( std::vector< VCoordinateSystem* >& rVCooSysList );
     ~SeriesPlotterContainer();
 
     /** It is used to set coordinate systems (`m_rVCooSysList`), this method
@@ -1077,7 +1077,7 @@ struct CreateShapeParam2D
 class GL2DRenderer : public IRenderer
 {
 public:
-    GL2DRenderer(ChartView* pView);
+    explicit GL2DRenderer(ChartView* pView);
     virtual ~GL2DRenderer();
 
     virtual void update() SAL_OVERRIDE;
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index eec97ff..80856f6 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -81,7 +81,7 @@ class DummyPropertySetInfo : public cppu::WeakImplHelper1<
                                 com::sun::star::beans::XPropertySetInfo >
 {
 public:
-    DummyPropertySetInfo(const std::map<OUString, uno::Any>& rProps ):
+    explicit DummyPropertySetInfo(const std::map<OUString, uno::Any>& rProps ):
         mrProperties(rProps) {}
 
     virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& rName )
@@ -764,7 +764,7 @@ namespace {
 
 struct FontAttribSetter
 {
-    FontAttribSetter(vcl::Font& rFont):
+    explicit FontAttribSetter(vcl::Font& rFont):
         mrFont(rFont) {}
 
     void operator()(const std::pair<OUString, uno::Any>& rProp)
diff --git a/chart2/source/view/main/DummyXShape.hxx b/chart2/source/view/main/DummyXShape.hxx
index fd97dff..3467d23 100644
--- a/chart2/source/view/main/DummyXShape.hxx
+++ b/chart2/source/view/main/DummyXShape.hxx
@@ -251,7 +251,7 @@ private:
 class DummyArea3D : public DummyXShape
 {
 public:
-    DummyArea3D(const css::drawing::PolyPolygonShape3D& rShape);
+    explicit DummyArea3D(const css::drawing::PolyPolygonShape3D& rShape);
 
 private:
     css::drawing::PolyPolygonShape3D maShapes;
@@ -260,7 +260,7 @@ private:
 class DummyArea2D : public DummyXShape
 {
 public:
-    DummyArea2D(const css::drawing::PointSequenceSequence& rShape);
+    explicit DummyArea2D(const css::drawing::PointSequenceSequence& rShape);
 
     virtual void render() SAL_OVERRIDE;
 
@@ -324,7 +324,7 @@ class DummyRectangle : public DummyXShape
 {
 public:
     DummyRectangle();
-    DummyRectangle(const css::awt::Size& rSize);
+    explicit DummyRectangle(const css::awt::Size& rSize);
     DummyRectangle(const css::awt::Size& rSize, const css::awt::Point& rPoint, const tNameSequence& rNames,
             const tAnySequence& rValues );
 
@@ -413,7 +413,7 @@ public:
 class DummyGroup2D : public DummyXShapes
 {
 public:
-    DummyGroup2D(const OUString& rName);
+    explicit DummyGroup2D(const OUString& rName);
 
     virtual ::com::sun::star::awt::Point SAL_CALL getPosition() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -424,7 +424,7 @@ public:
 class DummyGroup3D : public DummyXShapes
 {
 public:
-    DummyGroup3D(const OUString& rName);
+    explicit DummyGroup3D(const OUString& rName);
 };
 
 }
diff --git a/chart2/source/view/main/VTitle.hxx b/chart2/source/view/main/VTitle.hxx
index 78fd5c9..66d34b0 100644
--- a/chart2/source/view/main/VTitle.hxx
+++ b/chart2/source/view/main/VTitle.hxx
@@ -32,7 +32,7 @@ namespace chart
 class VTitle
 {
 public:
-    VTitle( const ::com::sun::star::uno::Reference<
+    explicit VTitle( const ::com::sun::star::uno::Reference<
                   ::com::sun::star::chart2::XTitle > & xTitle );
     virtual ~VTitle();
 
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index bbbd45e..a9a9ce3 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -385,7 +385,7 @@ namespace {
 
 struct DoesStyleMatchStyleSheetPredicate SAL_FINAL : public svl::StyleSheetPredicate
 {
-    DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it)
+    explicit DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it)
             : mIterator(it) {;}
 
     bool
@@ -717,7 +717,7 @@ SfxStyleSheetBasePool& SfxStyleSheetBasePool::operator=( const SfxStyleSheetBase
 namespace {
 struct AddStyleSheetCallback : svl::StyleSheetCallback
 {
-    AddStyleSheetCallback(SfxStyleSheetBasePool *pool)
+    explicit AddStyleSheetCallback(SfxStyleSheetBasePool *pool)
     : mPool(pool) {;}
 
     void DoIt(const SfxStyleSheetBase& ssheet) SAL_OVERRIDE
@@ -820,7 +820,7 @@ namespace
 
 struct StyleSheetDisposerFunctor SAL_FINAL : public svl::StyleSheetDisposer
 {
-    StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool)
+    explicit StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool)
             : mPool(pool) {;}
 
     void
diff --git a/svl/source/misc/sharedstringpool.cxx b/svl/source/misc/sharedstringpool.cxx
index e1dfe94..bb9be8c 100644
--- a/svl/source/misc/sharedstringpool.cxx
+++ b/svl/source/misc/sharedstringpool.cxx
@@ -57,7 +57,7 @@ struct SharedStringPool::Impl
     StrStoreType maStrStore;
     const CharClass* mpCharClass;
 
-    Impl( const CharClass* pCharClass ) : mpCharClass(pCharClass) {}
+    explicit Impl( const CharClass* pCharClass ) : mpCharClass(pCharClass) {}
 };
 
 SharedStringPool::SharedStringPool( const CharClass* pCharClass ) :
diff --git a/svl/source/numbers/numuno.cxx b/svl/source/numbers/numuno.cxx
index efcdc2a..4bfb4a4 100644
--- a/svl/source/numbers/numuno.cxx
+++ b/svl/source/numbers/numuno.cxx
@@ -33,7 +33,7 @@ public:
     SvNumberFormatter*                  pFormatter;
     mutable ::comphelper::SharedMutex   aMutex;
 
-    SvNumFmtSuppl_Impl(SvNumberFormatter* p) :
+    explicit SvNumFmtSuppl_Impl(SvNumberFormatter* p) :
         pFormatter(p) {}
 };
 
diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx
index da04e95..9051abb 100644
--- a/svl/source/numbers/supservs.hxx
+++ b/svl/source/numbers/supservs.hxx
@@ -43,7 +43,7 @@ protected:
                         m_xORB;
 
 public:
-    SvNumberFormatsSupplierServiceObject(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
+    explicit SvNumberFormatsSupplierServiceObject(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
     virtual ~SvNumberFormatsSupplierServiceObject();
 
     // XInterface
diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx
index c9f260a..3e34b50 100644
--- a/svl/source/numbers/zforfind.hxx
+++ b/svl/source/numbers/zforfind.hxx
@@ -32,7 +32,7 @@ class SvNumberFormatter;
 class ImpSvNumberInputScan
 {
 public:
-    ImpSvNumberInputScan( SvNumberFormatter* pFormatter );
+    explicit ImpSvNumberInputScan( SvNumberFormatter* pFormatter );
     ~ImpSvNumberInputScan();
 
 /*!*/   void ChangeIntl();                      // MUST be called if language changes
diff --git a/svl/source/numbers/zforscan.hxx b/svl/source/numbers/zforscan.hxx
index 03d5efa..9e8816b 100644
--- a/svl/source/numbers/zforscan.hxx
+++ b/svl/source/numbers/zforscan.hxx
@@ -40,7 +40,7 @@ class ImpSvNumberformatScan
 {
 public:
 
-    ImpSvNumberformatScan( SvNumberFormatter* pFormatter );
+    explicit ImpSvNumberformatScan( SvNumberFormatter* pFormatter );
     ~ImpSvNumberformatScan();
     void ChangeIntl(); // Replaces Keywords
 
diff --git a/svl/source/passwordcontainer/syscreds.hxx b/svl/source/passwordcontainer/syscreds.hxx
index 45574da..f21744c 100644
--- a/svl/source/passwordcontainer/syscreds.hxx
+++ b/svl/source/passwordcontainer/syscreds.hxx
@@ -32,7 +32,7 @@ class SysCredentialsConfig;
 class SysCredentialsConfigItem : public utl::ConfigItem
 {
     public:
-        SysCredentialsConfigItem( SysCredentialsConfig * pOwner );
+        explicit SysCredentialsConfigItem( SysCredentialsConfig * pOwner );
         //virtual ~SysCredentialsConfigItem();
 
         virtual void Notify(
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 923222b..b5a9960 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -39,7 +39,7 @@ struct DdeItemImpData
     sal_uLong nHCnv;
     sal_uInt16 nCnt;
 
-    DdeItemImpData( sal_uLong nH ) : nHCnv( nH ), nCnt( 1 ) {}
+    expliit DdeItemImpData( sal_uLong nH ) : nHCnv( nH ), nCnt( 1 ) {}
 };
 
 class DdeItemImp {
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 0d967f8..a6f75bf 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -150,7 +150,7 @@ struct MarkedUndoAction
     SfxUndoAction*                  pAction;
     ::std::vector< UndoStackMark >  aMarks;
 
-    MarkedUndoAction( SfxUndoAction* i_action )
+    explicit MarkedUndoAction( SfxUndoAction* i_action )
         :pAction( i_action )
         ,aMarks()
     {
@@ -239,7 +239,7 @@ struct SVL_DLLPRIVATE SfxUndoManager_Data
 
     UndoListeners   aListeners;
 
-    SfxUndoManager_Data( size_t i_nMaxUndoActionCount )
+    explicit SfxUndoManager_Data( size_t i_nMaxUndoActionCount )
         :pUndoArray( new SfxUndoArray( i_nMaxUndoActionCount ) )
         ,pActUndoArray( NULL )
         ,pFatherUndoArray( NULL )
@@ -264,7 +264,7 @@ namespace svl { namespace undo { namespace impl
     class SVL_DLLPRIVATE LockGuard
     {
     public:
-        LockGuard( SfxUndoManager& i_manager )
+        explicit LockGuard( SfxUndoManager& i_manager )
             :m_manager( i_manager )
         {
             m_manager.ImplEnableUndo_Lock( false );
@@ -284,7 +284,7 @@ namespace svl { namespace undo { namespace impl
 
     struct SVL_DLLPRIVATE NotifyUndoListener : public ::std::unary_function< SfxUndoListener*, void >
     {
-        NotifyUndoListener( UndoListenerVoidMethod i_notificationMethod )
+        explicit NotifyUndoListener( UndoListenerVoidMethod i_notificationMethod )
             :m_notificationMethod( i_notificationMethod )
             ,m_altNotificationMethod( NULL )
             ,m_sActionComment()
@@ -325,7 +325,7 @@ namespace svl { namespace undo { namespace impl
     class SVL_DLLPRIVATE UndoManagerGuard
     {
     public:
-        UndoManagerGuard( SfxUndoManager_Data& i_managerData )
+        explicit UndoManagerGuard( SfxUndoManager_Data& i_managerData )
             :m_rManagerData( i_managerData )
             ,m_aGuard( i_managerData.aMutex )
             ,m_notifiers()
diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx
index e479b43..a80752c 100644
--- a/svtools/source/contnr/treelistentry.cxx
+++ b/svtools/source/contnr/treelistentry.cxx
@@ -174,7 +174,7 @@ class FindByType : std::unary_function<SvLBoxItem, void>
 {
     sal_uInt16 mnId;
 public:
-    FindByType(sal_uInt16 nId) : mnId(nId) {}
+    explicit FindByType(sal_uInt16 nId) : mnId(nId) {}
     bool operator() (const SvLBoxItem& rItem) const
     {
         return rItem.GetType() == mnId;


More information about the Libreoffice-commits mailing list