[Libreoffice-commits] .: 2 commits - svx/inc svx/source

David Tardon dtardon at kemper.freedesktop.org
Sat Jul 14 01:47:00 PDT 2012


 svx/inc/svx/sdr/animation/scheduler.hxx                       |    2 -
 svx/inc/svx/sdr/contact/objectcontactofpageview.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofe3d.hxx                  |    2 -
 svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx             |    2 -
 svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx             |    2 -
 svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx            |    2 -
 svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx              |    2 -
 svx/inc/svx/sdr/contact/viewcontactofgroup.hxx                |    2 -
 svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx |    2 -
 svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx              |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx        |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx        |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx          |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx               |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx    |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx              |   18 +++++-----
 svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx              |    2 -
 svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx           |    2 -
 svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx              |    2 -
 svx/inc/svx/sdr/overlay/overlaycrosshair.hxx                  |    2 -
 svx/inc/svx/sdr/overlay/overlayhelpline.hxx                   |    2 -
 svx/inc/svx/sdr/overlay/overlayobject.hxx                     |    2 -
 svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx                |    2 -
 svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx  |    2 -
 svx/inc/svx/sdr/properties/attributeproperties.hxx            |    2 -
 svx/inc/svx/sdr/properties/captionproperties.hxx              |    2 -
 svx/inc/svx/sdr/properties/circleproperties.hxx               |    2 -
 svx/inc/svx/sdr/properties/connectorproperties.hxx            |    2 -
 svx/inc/svx/sdr/properties/customshapeproperties.hxx          |    2 -
 svx/inc/svx/sdr/properties/defaultproperties.hxx              |    2 -
 svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx          |    2 -
 svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx           |    2 -
 svx/inc/svx/sdr/properties/e3dlatheproperties.hxx             |    2 -
 svx/inc/svx/sdr/properties/e3dproperties.hxx                  |    2 -
 svx/inc/svx/sdr/properties/e3dsceneproperties.hxx             |    2 -
 svx/inc/svx/sdr/properties/e3dsphereproperties.hxx            |    2 -
 svx/inc/svx/sdr/properties/emptyproperties.hxx                |    2 -
 svx/inc/svx/sdr/properties/graphicproperties.hxx              |    2 -
 svx/inc/svx/sdr/properties/groupproperties.hxx                |    2 -
 svx/inc/svx/sdr/properties/itemsettools.hxx                   |    2 -
 svx/inc/svx/sdr/properties/measureproperties.hxx              |    2 -
 svx/inc/svx/sdr/properties/oleproperties.hxx                  |    2 -
 svx/inc/svx/sdr/properties/pageproperties.hxx                 |    2 -
 svx/inc/svx/sdr/properties/properties.hxx                     |    2 -
 svx/inc/svx/sdr/properties/rectangleproperties.hxx            |    2 -
 svx/inc/svx/sdr/properties/textproperties.hxx                 |    2 -
 svx/inc/svx/sdrpaintwindow.hxx                                |    2 -
 svx/inc/svx/svdhdl.hxx                                        |    8 ++--
 svx/inc/svx/svdhlpln.hxx                                      |    2 -
 svx/inc/svx/svdlayer.hxx                                      |    2 -
 svx/inc/svx/svdmark.hxx                                       |    2 -
 svx/inc/svx/svdmodel.hxx                                      |    8 ++--
 svx/inc/svx/svdobj.hxx                                        |   18 ----------
 svx/inc/svx/svdouno.hxx                                       |    2 -
 svx/inc/svx/svdpntv.hxx                                       |    2 -
 svx/inc/svx/svdsob.hxx                                        |    2 -
 svx/inc/svx/svdview.hxx                                       |    2 -
 svx/source/sdr/attribute/sdrformtextattribute.cxx             |    2 -
 svx/source/sdr/contact/viewobjectcontactofpageobj.cxx         |    2 -
 svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx      |    8 ++--
 67 files changed, 83 insertions(+), 101 deletions(-)

New commits:
commit 538c3d597de2cfe9e3ef108d71f310f1d7ca51b6
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Jul 9 16:58:31 2012 +0200

    drop obsolete class
    
    Change-Id: Ia3485961f2d0a610ae7be6ab82446e89fab70b1f

diff --git a/svx/inc/svx/svdobj.hxx b/svx/inc/svx/svdobj.hxx
index d3282c1..e0fac26 100644
--- a/svx/inc/svx/svdobj.hxx
+++ b/svx/inc/svx/svdobj.hxx
@@ -340,24 +340,6 @@ public:
 };
 
 ////////////////////////////////////////////////////////////////////////////////////////////////////
-// To make things more safe, allow users of the object to register at it. The users need to be derived
-// from SdrObjectUser to get a call. The users do not need to call RemoveObjectUser() at the object
-// when they get called from PageInDestruction().
-class SdrObject;
-
-class SdrObjectUser
-{
-public:
-    virtual void ObjectInDestruction(const SdrObject& rObject) = 0;
-
-protected:
-    ~SdrObjectUser() {}
-};
-
-// typedef for GetParentContacts()
-typedef ::std::vector< SdrObjectUser* > ObjectUserVector;
-
-////////////////////////////////////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 //
 //   @@@@  @@@@@  @@@@@@ @@@@@  @@@@  @@@@@@
commit dd7d4db073a5d11b173a417ce54caaae810a1610
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Jul 6 17:42:51 2012 +0200

    sprinkle 'explicit' over constructors
    
    Change-Id: I5929a480904460a92272d8e1da94ac1e55417ac2

diff --git a/svx/inc/svx/sdr/animation/scheduler.hxx b/svx/inc/svx/sdr/animation/scheduler.hxx
index be2fa36..ffb627a 100644
--- a/svx/inc/svx/sdr/animation/scheduler.hxx
+++ b/svx/inc/svx/sdr/animation/scheduler.hxx
@@ -50,7 +50,7 @@ namespace sdr
 
         public:
             // constructor/destructor
-            Event(sal_uInt32 nTime);
+            explicit Event(sal_uInt32 nTime);
             SVX_DLLPUBLIC virtual ~Event();
 
             // access to mpNext
diff --git a/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx b/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx
index 4f8f37d..e371f2b 100644
--- a/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx
+++ b/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx
@@ -53,7 +53,7 @@ namespace sdr
             SdrPage* GetSdrPage() const;
 
             // basic constructor, used from SdrPageView.
-            ObjectContactOfPageView(SdrPageWindow& rPageWindow);
+            explicit ObjectContactOfPageView(SdrPageWindow& rPageWindow);
             virtual ~ObjectContactOfPageView();
 
             // LazyInvalidate request. This is used from the VOCs to mark that they
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx
index 5dc37c5..d75b25d 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx
@@ -65,7 +65,7 @@ namespace sdr
 
         public:
             // basic constructor, used from E3dObject.
-            ViewContactOfE3d(E3dObject& rObj);
+            explicit ViewContactOfE3d(E3dObject& rObj);
             virtual ~ViewContactOfE3d();
 
             // access to E3dObject
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx
index f916a16..2d74117 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx
@@ -37,7 +37,7 @@ namespace sdr
         {
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfE3dExtrude(E3dExtrudeObj& rExtrude);
+            explicit ViewContactOfE3dExtrude(E3dExtrudeObj& rExtrude);
             virtual ~ViewContactOfE3dExtrude();
 
             // access to SdrObject
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx
index d115afc..4a343b8 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx
@@ -37,7 +37,7 @@ namespace sdr
         {
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfE3dLathe(E3dLatheObj& rLathe);
+            explicit ViewContactOfE3dLathe(E3dLatheObj& rLathe);
             virtual ~ViewContactOfE3dLathe();
 
             // access to SdrObject
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx
index 4e79605..aee648b 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx
@@ -37,7 +37,7 @@ namespace sdr
         {
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfE3dPolygon(E3dPolygonObj& rPolygon);
+            explicit ViewContactOfE3dPolygon(E3dPolygonObj& rPolygon);
             virtual ~ViewContactOfE3dPolygon();
 
             // access to SdrObject
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx
index 42d63d2..cb92073 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx
@@ -52,7 +52,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfE3dScene(E3dScene& rScene);
+            explicit ViewContactOfE3dScene(E3dScene& rScene);
 
             // access to SdrObject
             E3dScene& GetE3dScene() const
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx
index 2d2adbf..a90b985 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx
@@ -37,7 +37,7 @@ namespace sdr
         {
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfE3dSphere(E3dSphereObj& rSphere);
+            explicit ViewContactOfE3dSphere(E3dSphereObj& rSphere);
             virtual ~ViewContactOfE3dSphere();
 
             // access to SdrObject
diff --git a/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx b/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
index 917288f..dc7ef1a 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
@@ -61,7 +61,7 @@ namespace sdr
             }
 
             // basic constructor, destructor
-            ViewContactOfGraphic(SdrGrafObj& rGrafObj);
+            explicit ViewContactOfGraphic(SdrGrafObj& rGrafObj);
             virtual ~ViewContactOfGraphic();
 
             // #i102380#
diff --git a/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx b/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx
index 6b9c568..7bf86ab 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx
@@ -49,7 +49,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfGroup(SdrObjGroup& rGroup);
+            explicit ViewContactOfGroup(SdrObjGroup& rGroup);
             virtual ~ViewContactOfGroup();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx b/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx
index a2add05..df0d556 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx
@@ -51,7 +51,7 @@ namespace sdr
 
         public:
             // basic constructor
-            ViewContactOfMasterPageDescriptor(sdr::MasterPageDescriptor& rDescriptor);
+            explicit ViewContactOfMasterPageDescriptor(sdr::MasterPageDescriptor& rDescriptor);
 
             // The destructor.
             virtual ~ViewContactOfMasterPageDescriptor();
diff --git a/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx
index 71e5fc6..c567081 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx
@@ -55,7 +55,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfPageObj(SdrPageObj& rPageObj);
+            explicit ViewContactOfPageObj(SdrPageObj& rPageObj);
             virtual ~ViewContactOfPageObj();
 
             // #WIP# React on changes of the object of this ViewContact
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx
index bd04dfd..58caf1f 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrCaptionObj(SdrCaptionObj& rCaptionObj);
+            explicit ViewContactOfSdrCaptionObj(SdrCaptionObj& rCaptionObj);
             virtual ~ViewContactOfSdrCaptionObj();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx
index 6ced3b0..024fd3f 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrCircObj(SdrCircObj& rCircObj);
+            explicit ViewContactOfSdrCircObj(SdrCircObj& rCircObj);
             virtual ~ViewContactOfSdrCircObj();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx
index 4c5da89..2506fac 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrEdgeObj(SdrEdgeObj& rEdgeObj);
+            explicit ViewContactOfSdrEdgeObj(SdrEdgeObj& rEdgeObj);
             virtual ~ViewContactOfSdrEdgeObj();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx
index 01d647c..c2b03a4 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrMeasureObj(SdrMeasureObj& rMeasureObj);
+            explicit ViewContactOfSdrMeasureObj(SdrMeasureObj& rMeasureObj);
             virtual ~ViewContactOfSdrMeasureObj();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx
index 483ea83..b82c0b3 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx
@@ -51,7 +51,7 @@ namespace sdr
         public:
 
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrMediaObj( SdrMediaObj& rMediaObj );
+            explicit ViewContactOfSdrMediaObj( SdrMediaObj& rMediaObj );
             virtual ~ViewContactOfSdrMediaObj();
 
         public:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx
index 85e8f10..2b74bcc 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx
@@ -61,7 +61,7 @@ namespace sdr
             }
 
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrObj(SdrObject& rObj);
+            explicit ViewContactOfSdrObj(SdrObject& rObj);
             virtual ~ViewContactOfSdrObj();
 
             // Access to possible sub-hierarchy
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx
index 72bbd39..6c1afa7 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx
@@ -47,7 +47,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrObjCustomShape(SdrObjCustomShape& rCustomShape);
+            explicit ViewContactOfSdrObjCustomShape(SdrObjCustomShape& rCustomShape);
             virtual ~ViewContactOfSdrObjCustomShape();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx
index c67fae1..3670c0b 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx
@@ -58,7 +58,7 @@ namespace sdr
             }
 
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj);
+            explicit ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj);
             virtual ~ViewContactOfSdrOle2Obj();
 
             // helper for creating a OLE sequence for this object. It takes care od attributes, needed
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
index 0b0d409..1410cfa 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
@@ -43,7 +43,7 @@ namespace sdr
             ViewContactOfSdrPage&                       mrParentViewContactOfSdrPage;
 
         public:
-            ViewContactOfPageSubObject(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfPageSubObject(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfPageSubObject();
 
             virtual ViewContact* GetParentContact() const;
@@ -65,7 +65,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfPageBackground(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfPageBackground(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfPageBackground();
         };
     } // end of namespace contact
@@ -84,7 +84,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfPageShadow(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfPageShadow(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfPageShadow();
         };
     } // end of namespace contact
@@ -103,7 +103,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfPageFill(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfPageFill(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfPageFill();
         };
     } // end of namespace contact
@@ -122,7 +122,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfMasterPage(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfMasterPage(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfMasterPage();
         };
     } // end of namespace contact
@@ -141,7 +141,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfOuterPageBorder(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfOuterPageBorder(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfOuterPageBorder();
         };
     } // end of namespace contact
@@ -160,7 +160,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfInnerPageBorder(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfInnerPageBorder(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfInnerPageBorder();
         };
     } // end of namespace contact
@@ -179,7 +179,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
 
         public:
-            ViewContactOfPageHierarchy(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
+            explicit ViewContactOfPageHierarchy(ViewContactOfSdrPage& rParentViewContactOfSdrPage);
             virtual ~ViewContactOfPageHierarchy();
 
             virtual sal_uInt32 GetObjectCount() const;
@@ -275,7 +275,7 @@ namespace sdr
             }
 
             // basic constructor, used from SdrPage.
-            ViewContactOfSdrPage(SdrPage& rObj);
+            explicit ViewContactOfSdrPage(SdrPage& rObj);
             virtual ~ViewContactOfSdrPage();
 
             // Access to possible sub-hierarchy
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx
index a0c8c17..8515aa4 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrPathObj(SdrPathObj& rTextObj);
+            explicit ViewContactOfSdrPathObj(SdrPathObj& rTextObj);
             virtual ~ViewContactOfSdrPathObj();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx
index 3017030..e605c9d 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfSdrRectObj(SdrRectObj& rTextObj);
+            explicit ViewContactOfSdrRectObj(SdrRectObj& rTextObj);
             virtual ~ViewContactOfSdrRectObj();
 
         protected:
diff --git a/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx b/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx
index 09d5989..f6d5ba4 100644
--- a/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx
@@ -44,7 +44,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfTextObj(SdrTextObj& rTextObj);
+            explicit ViewContactOfTextObj(SdrTextObj& rTextObj);
             virtual ~ViewContactOfTextObj();
         };
     } // end of namespace contact
diff --git a/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx b/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx
index 6ed1ef5..5d042ec 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx
@@ -56,7 +56,7 @@ namespace sdr { namespace contact {
             return ((SdrUnoObj&)GetSdrObject());
         }
 
-        ViewContactOfUnoControl( SdrUnoObj& _rUnoObject );
+        explicit ViewContactOfUnoControl( SdrUnoObj& _rUnoObject );
         virtual ~ViewContactOfUnoControl();
 
         /** access control to selected members
diff --git a/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx
index 91e4fe6..3869525 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx
@@ -41,7 +41,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            ViewContactOfVirtObj(SdrVirtObj& rObj);
+            explicit ViewContactOfVirtObj(SdrVirtObj& rObj);
             virtual ~ViewContactOfVirtObj();
 
             // Access to possible sub-hierarchy
diff --git a/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx b/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx
index 65d6507..881ce11 100644
--- a/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx
@@ -35,7 +35,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createOverlayObjectPrimitive2DSequence();
 
         public:
-            OverlayCrosshairStriped(const basegfx::B2DPoint& rBasePos);
+            explicit OverlayCrosshairStriped(const basegfx::B2DPoint& rBasePos);
             virtual ~OverlayCrosshairStriped();
 
             // react on stripe definition change
diff --git a/svx/inc/svx/sdr/overlay/overlayhelpline.hxx b/svx/inc/svx/sdr/overlay/overlayhelpline.hxx
index ab7ccd5..bc068ed 100644
--- a/svx/inc/svx/sdr/overlay/overlayhelpline.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayhelpline.hxx
@@ -39,7 +39,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createOverlayObjectPrimitive2DSequence();
 
         public:
-            OverlayHelplineStriped(
+            explicit OverlayHelplineStriped(
                 const basegfx::B2DPoint& rBasePos,
                 SdrHelpLineKind eNewKind = SDRHELPLINE_POINT);
             virtual ~OverlayHelplineStriped();
diff --git a/svx/inc/svx/sdr/overlay/overlayobject.hxx b/svx/inc/svx/sdr/overlay/overlayobject.hxx
index 5cf7960..7459546 100644
--- a/svx/inc/svx/sdr/overlay/overlayobject.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayobject.hxx
@@ -116,7 +116,7 @@ namespace sdr
             void allowAntiAliase(bool bNew);
 
         public:
-            OverlayObject(Color aBaseColor);
+            explicit OverlayObject(Color aBaseColor);
             virtual ~OverlayObject();
 
             // get OverlayManager
diff --git a/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx b/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
index adf4816..e3b77e0 100644
--- a/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
@@ -48,7 +48,7 @@ namespace sdr
             virtual drawinglayer::primitive2d::Primitive2DSequence createOverlayObjectPrimitive2DSequence();
 
         public:
-            OverlayPolyPolygonStriped(const basegfx::B2DPolyPolygon& rPolyPolygon);
+            explicit OverlayPolyPolygonStriped(const basegfx::B2DPolyPolygon& rPolyPolygon);
             virtual ~OverlayPolyPolygonStriped();
 
             // change geometry
diff --git a/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx b/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx
index 7667564..f917058 100644
--- a/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx
@@ -45,7 +45,7 @@ namespace sdr
             drawinglayer::geometry::ViewInformation2D impCreateViewInformation2D(OutputDevice& rOutputDevice) const;
 
         public:
-            OverlayPrimitive2DSequenceObject(const drawinglayer::primitive2d::Primitive2DSequence& rSequence);
+            explicit OverlayPrimitive2DSequenceObject(const drawinglayer::primitive2d::Primitive2DSequence& rSequence);
 
             virtual ~OverlayPrimitive2DSequenceObject();
 
diff --git a/svx/inc/svx/sdr/properties/attributeproperties.hxx b/svx/inc/svx/sdr/properties/attributeproperties.hxx
index 1c64d9b..a339cb6 100644
--- a/svx/inc/svx/sdr/properties/attributeproperties.hxx
+++ b/svx/inc/svx/sdr/properties/attributeproperties.hxx
@@ -53,7 +53,7 @@ namespace sdr
 
         public:
             // basic constructor
-            AttributeProperties(SdrObject& rObj);
+            explicit AttributeProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             AttributeProperties(const AttributeProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/captionproperties.hxx b/svx/inc/svx/sdr/properties/captionproperties.hxx
index f565a19..b67e8da 100644
--- a/svx/inc/svx/sdr/properties/captionproperties.hxx
+++ b/svx/inc/svx/sdr/properties/captionproperties.hxx
@@ -39,7 +39,7 @@ namespace sdr
 
         public:
             // basic constructor
-            CaptionProperties(SdrObject& rObj);
+            explicit CaptionProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             CaptionProperties(const CaptionProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/circleproperties.hxx b/svx/inc/svx/sdr/properties/circleproperties.hxx
index be0fed6..a783354 100644
--- a/svx/inc/svx/sdr/properties/circleproperties.hxx
+++ b/svx/inc/svx/sdr/properties/circleproperties.hxx
@@ -39,7 +39,7 @@ namespace sdr
 
         public:
             // basic constructor
-            CircleProperties(SdrObject& rObj);
+            explicit CircleProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             CircleProperties(const CircleProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/connectorproperties.hxx b/svx/inc/svx/sdr/properties/connectorproperties.hxx
index e075fd5..beabe5a 100644
--- a/svx/inc/svx/sdr/properties/connectorproperties.hxx
+++ b/svx/inc/svx/sdr/properties/connectorproperties.hxx
@@ -39,7 +39,7 @@ namespace sdr
 
         public:
             // basic constructor
-            ConnectorProperties(SdrObject& rObj);
+            explicit ConnectorProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             ConnectorProperties(const ConnectorProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/customshapeproperties.hxx b/svx/inc/svx/sdr/properties/customshapeproperties.hxx
index 7025a45..1a81673 100644
--- a/svx/inc/svx/sdr/properties/customshapeproperties.hxx
+++ b/svx/inc/svx/sdr/properties/customshapeproperties.hxx
@@ -62,7 +62,7 @@ namespace sdr
             virtual void ForceDefaultAttributes();
 
             // basic constructor
-            CustomShapeProperties(SdrObject& rObj);
+            explicit CustomShapeProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             CustomShapeProperties(const CustomShapeProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/defaultproperties.hxx b/svx/inc/svx/sdr/properties/defaultproperties.hxx
index 3cff34e..44fb7ae 100644
--- a/svx/inc/svx/sdr/properties/defaultproperties.hxx
+++ b/svx/inc/svx/sdr/properties/defaultproperties.hxx
@@ -52,7 +52,7 @@ namespace sdr
 
         public:
             // basic constructor
-            DefaultProperties(SdrObject& rObj);
+            explicit DefaultProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             DefaultProperties(const DefaultProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx b/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx
index 8018206..f7b67a2 100644
--- a/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx
@@ -37,7 +37,7 @@ namespace sdr
 
         public:
             // basic constructor
-            E3dCompoundProperties(SdrObject& rObj);
+            explicit E3dCompoundProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             E3dCompoundProperties(const E3dCompoundProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx b/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx
index aec3515..8c4176d 100644
--- a/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx
@@ -37,7 +37,7 @@ namespace sdr
 
         public:
             // basic constructor
-            E3dExtrudeProperties(SdrObject& rObj);
+            explicit E3dExtrudeProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             E3dExtrudeProperties(const E3dExtrudeProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx b/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx
index d599ca5..9401916 100644
--- a/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx
@@ -37,7 +37,7 @@ namespace sdr
 
         public:
             // basic constructor
-            E3dLatheProperties(SdrObject& rObj);
+            explicit E3dLatheProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             E3dLatheProperties(const E3dLatheProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/e3dproperties.hxx b/svx/inc/svx/sdr/properties/e3dproperties.hxx
index 7ad3263..bdf5f8a 100644
--- a/svx/inc/svx/sdr/properties/e3dproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dproperties.hxx
@@ -40,7 +40,7 @@ namespace sdr
 
         public:
             // basic constructor
-            E3dProperties(SdrObject& rObj);
+            explicit E3dProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             E3dProperties(const E3dProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx b/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx
index 1f281b8..fbbaa4e 100644
--- a/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx
@@ -36,7 +36,7 @@ namespace sdr
 
         public:
             // basic constructor
-            E3dSceneProperties(SdrObject& rObj);
+            explicit E3dSceneProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             E3dSceneProperties(const E3dSceneProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx b/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx
index 9d9595b..11e8195 100644
--- a/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx
@@ -36,7 +36,7 @@ namespace sdr
 
         public:
             // basic constructor
-            E3dSphereProperties(SdrObject& rObj);
+            explicit E3dSphereProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             E3dSphereProperties(const E3dSphereProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/emptyproperties.hxx b/svx/inc/svx/sdr/properties/emptyproperties.hxx
index c47d5c2..7104208 100644
--- a/svx/inc/svx/sdr/properties/emptyproperties.hxx
+++ b/svx/inc/svx/sdr/properties/emptyproperties.hxx
@@ -52,7 +52,7 @@ namespace sdr
 
         public:
             // basic constructor
-            EmptyProperties(SdrObject& rObj);
+            explicit EmptyProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             EmptyProperties(const EmptyProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/graphicproperties.hxx b/svx/inc/svx/sdr/properties/graphicproperties.hxx
index d65a235..9b7c1cc 100644
--- a/svx/inc/svx/sdr/properties/graphicproperties.hxx
+++ b/svx/inc/svx/sdr/properties/graphicproperties.hxx
@@ -39,7 +39,7 @@ namespace sdr
 
         public:
             // basic constructor
-            GraphicProperties(SdrObject& rObj);
+            explicit GraphicProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             GraphicProperties(const GraphicProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/groupproperties.hxx b/svx/inc/svx/sdr/properties/groupproperties.hxx
index 409838b..eea4a99 100644
--- a/svx/inc/svx/sdr/properties/groupproperties.hxx
+++ b/svx/inc/svx/sdr/properties/groupproperties.hxx
@@ -48,7 +48,7 @@ namespace sdr
 
         public:
             // basic constructor
-            GroupProperties(SdrObject& rObj);
+            explicit GroupProperties(SdrObject& rObj);
 
             // copy constructor
             GroupProperties(const GroupProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/itemsettools.hxx b/svx/inc/svx/sdr/properties/itemsettools.hxx
index c18c32a..3178db7 100644
--- a/svx/inc/svx/sdr/properties/itemsettools.hxx
+++ b/svx/inc/svx/sdr/properties/itemsettools.hxx
@@ -42,7 +42,7 @@ namespace sdr
             void*                                           mpData;
 
         public:
-            ItemChangeBroadcaster(const SdrObject& rObj);
+            explicit ItemChangeBroadcaster(const SdrObject& rObj);
             ~ItemChangeBroadcaster();
 
             sal_uInt32 GetRectangleCount() const;
diff --git a/svx/inc/svx/sdr/properties/measureproperties.hxx b/svx/inc/svx/sdr/properties/measureproperties.hxx
index 5f4195e..a015518 100644
--- a/svx/inc/svx/sdr/properties/measureproperties.hxx
+++ b/svx/inc/svx/sdr/properties/measureproperties.hxx
@@ -39,7 +39,7 @@ namespace sdr
 
         public:
             // basic constructor
-            MeasureProperties(SdrObject& rObj);
+            explicit MeasureProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             MeasureProperties(const MeasureProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/oleproperties.hxx b/svx/inc/svx/sdr/properties/oleproperties.hxx
index 7cec924..214f4f0 100644
--- a/svx/inc/svx/sdr/properties/oleproperties.hxx
+++ b/svx/inc/svx/sdr/properties/oleproperties.hxx
@@ -33,7 +33,7 @@ namespace sdr
         protected:
         public:
             // basic constructor
-            OleProperties(SdrObject& rObj);
+            explicit OleProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             OleProperties(const OleProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/pageproperties.hxx b/svx/inc/svx/sdr/properties/pageproperties.hxx
index 0e87ccc..edaa932 100644
--- a/svx/inc/svx/sdr/properties/pageproperties.hxx
+++ b/svx/inc/svx/sdr/properties/pageproperties.hxx
@@ -51,7 +51,7 @@ namespace sdr
 
         public:
             // basic constructor
-            PageProperties(SdrObject& rObj);
+            explicit PageProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             PageProperties(const PageProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/properties.hxx b/svx/inc/svx/sdr/properties/properties.hxx
index a6a202f..b349558 100644
--- a/svx/inc/svx/sdr/properties/properties.hxx
+++ b/svx/inc/svx/sdr/properties/properties.hxx
@@ -90,7 +90,7 @@ namespace sdr
 
         public:
             // basic constructor, used from SdrObject.
-            BaseProperties(SdrObject& rObj);
+            explicit BaseProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object. Used from the Clone()
             // method.
diff --git a/svx/inc/svx/sdr/properties/rectangleproperties.hxx b/svx/inc/svx/sdr/properties/rectangleproperties.hxx
index 72f0061..b061a07 100644
--- a/svx/inc/svx/sdr/properties/rectangleproperties.hxx
+++ b/svx/inc/svx/sdr/properties/rectangleproperties.hxx
@@ -37,7 +37,7 @@ namespace sdr
 
         public:
             // basic constructor
-            RectangleProperties(SdrObject& rObj);
+            explicit RectangleProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             RectangleProperties(const RectangleProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdr/properties/textproperties.hxx b/svx/inc/svx/sdr/properties/textproperties.hxx
index eadf53e..98bc753 100644
--- a/svx/inc/svx/sdr/properties/textproperties.hxx
+++ b/svx/inc/svx/sdr/properties/textproperties.hxx
@@ -47,7 +47,7 @@ namespace sdr
 
         public:
             // basic constructor
-            TextProperties(SdrObject& rObj);
+            explicit TextProperties(SdrObject& rObj);
 
             // constructor for copying, but using new object
             TextProperties(const TextProperties& rProps, SdrObject& rObj);
diff --git a/svx/inc/svx/sdrpaintwindow.hxx b/svx/inc/svx/sdrpaintwindow.hxx
index c6faaa2..b550870 100644
--- a/svx/inc/svx/sdrpaintwindow.hxx
+++ b/svx/inc/svx/sdrpaintwindow.hxx
@@ -59,7 +59,7 @@ class SdrPreRenderDevice
     VirtualDevice                                       maPreRenderDevice;
 
 public:
-    SdrPreRenderDevice(OutputDevice& rOriginal);
+    explicit SdrPreRenderDevice(OutputDevice& rOriginal);
     ~SdrPreRenderDevice();
 
     void PreparePreRenderDevice();
diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx
index c31a966..8a0d7f4 100644
--- a/svx/inc/svx/svdhdl.hxx
+++ b/svx/inc/svx/svdhdl.hxx
@@ -191,7 +191,7 @@ protected:
 
 public:
     SdrHdl();
-    SdrHdl(const Point& rPnt, SdrHdlKind eNewKind=HDL_MOVE);
+    explicit SdrHdl(const Point& rPnt, SdrHdlKind eNewKind=HDL_MOVE);
     virtual ~SdrHdl();
 
     const ::sdr::overlay::OverlayObjectList& getOverlayObjectList() const { return maOverlayGroup; }
@@ -281,7 +281,7 @@ private:
     SVX_DLLPRIVATE void CallColorChangeLink();
 
 public:
-    SdrHdlColor(const Point& rRef, Color aCol = Color(COL_BLACK), const Size& rSize = Size(11, 11), sal_Bool bLum = sal_False);
+    explicit SdrHdlColor(const Point& rRef, Color aCol = Color(COL_BLACK), const Size& rSize = Size(11, 11), sal_Bool bLum = sal_False);
     virtual ~SdrHdlColor();
 
     sal_Bool IsUseLuminance() const { return bUseLuminance; }
@@ -391,7 +391,7 @@ class E3dVolumeMarker : public SdrHdl
     virtual void CreateB2dIAObject();
 
 public:
-    E3dVolumeMarker(const basegfx::B2DPolyPolygon& rWireframePoly);
+    explicit E3dVolumeMarker(const basegfx::B2DPolyPolygon& rWireframePoly);
 };
 
 ////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -466,7 +466,7 @@ private:
     SVX_DLLPRIVATE sal_Bool operator!=(const SdrHdlList&) const      { return sal_False; }
 
 public:
-    SdrHdlList(SdrMarkView* pV);
+    explicit SdrHdlList(SdrMarkView* pV);
     ~SdrHdlList();
     void Clear();
 
diff --git a/svx/inc/svx/svdhlpln.hxx b/svx/inc/svx/svdhlpln.hxx
index b963671..33b0a8c 100644
--- a/svx/inc/svx/svdhlpln.hxx
+++ b/svx/inc/svx/svdhlpln.hxx
@@ -54,7 +54,7 @@ class SdrHelpLine {
         sal_Int32 nStepWidth, Color aColA, Color aColB, sal_Bool bHorizontal) const;
 
 public:
-    SdrHelpLine(SdrHelpLineKind eNewKind=SDRHELPLINE_POINT): eKind(eNewKind) {}
+    explicit SdrHelpLine(SdrHelpLineKind eNewKind=SDRHELPLINE_POINT): eKind(eNewKind) {}
     SdrHelpLine(SdrHelpLineKind eNewKind, const Point& rNewPos): aPos(rNewPos), eKind(eNewKind) {}
     bool operator==(const SdrHelpLine& rCmp) const { return aPos==rCmp.aPos && eKind==rCmp.eKind; }
     bool operator!=(const SdrHelpLine& rCmp) const { return !operator==(rCmp); }
diff --git a/svx/inc/svx/svdlayer.hxx b/svx/inc/svx/svdlayer.hxx
index a98154f..25b27ef 100644
--- a/svx/inc/svx/svdlayer.hxx
+++ b/svx/inc/svx/svdlayer.hxx
@@ -96,7 +96,7 @@ protected:
     SdrLayerID           GetUniqueLayerID() const;
     void                 Broadcast() const;
 public:
-    SdrLayerAdmin(SdrLayerAdmin* pNewParent=NULL);
+    explicit SdrLayerAdmin(SdrLayerAdmin* pNewParent=NULL);
     SdrLayerAdmin(const SdrLayerAdmin& rSrcLayerAdmin);
     ~SdrLayerAdmin();
     const SdrLayerAdmin& operator=(const SdrLayerAdmin& rSrcLayerAdmin);
diff --git a/svx/inc/svx/svdmark.hxx b/svx/inc/svx/svdmark.hxx
index 5dd6ce3..afbc073 100644
--- a/svx/inc/svx/svdmark.hxx
+++ b/svx/inc/svx/svdmark.hxx
@@ -160,7 +160,7 @@ protected:
     sal_uInt16                                          mnUser;       // z.B. fuer CopyObjects, mitkopieren von Edges
 
 public:
-    SdrMark(SdrObject* pNewObj = 0L, SdrPageView* pNewPageView = 0L);
+    explicit SdrMark(SdrObject* pNewObj = 0L, SdrPageView* pNewPageView = 0L);
     SdrMark(const SdrMark& rMark);
     virtual ~SdrMark();
 
diff --git a/svx/inc/svx/svdmodel.hxx b/svx/inc/svx/svdmodel.hxx
index 279098c..87a0965 100644
--- a/svx/inc/svx/svdmodel.hxx
+++ b/svx/inc/svx/svdmodel.hxx
@@ -140,8 +140,8 @@ public:
 public:
     TYPEINFO();
 
-    SdrHint(SdrHintKind eNewHint);
-    SdrHint(const SdrObject& rNewObj);
+    explicit SdrHint(SdrHintKind eNewHint);
+    explicit SdrHint(const SdrObject& rNewObj);
 
     void SetPage(const SdrPage* pNewPage);
     void SetObject(const SdrObject* pNewObj);
@@ -309,8 +309,8 @@ public:
     // Zeichenobjekte verwenden moechte. Setzt man degegen nur vom abstrakten
     // Basisobjekt SdrObject abgeleitete Objekte ein, so ist man frei in der
     // Wahl des Pools.
-    SdrModel(SfxItemPool* pPool=NULL, ::comphelper::IEmbeddedHelper* pPers=NULL, sal_Bool bLoadRefCounts = LOADREFCOUNTS);
-    SdrModel(const String& rPath, SfxItemPool* pPool=NULL, ::comphelper::IEmbeddedHelper* pPers=NULL, sal_Bool bLoadRefCounts = LOADREFCOUNTS);
+    explicit SdrModel(SfxItemPool* pPool=NULL, ::comphelper::IEmbeddedHelper* pPers=NULL, sal_Bool bLoadRefCounts = LOADREFCOUNTS);
+    explicit SdrModel(const String& rPath, SfxItemPool* pPool=NULL, ::comphelper::IEmbeddedHelper* pPers=NULL, sal_Bool bLoadRefCounts = LOADREFCOUNTS);
     SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, sal_Bool bLoadRefCounts = LOADREFCOUNTS);
     SdrModel(const String& rPath, SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable, sal_Bool bLoadRefCounts = LOADREFCOUNTS);
     virtual ~SdrModel();
diff --git a/svx/inc/svx/svdouno.hxx b/svx/inc/svx/svdouno.hxx
index fe2e8f2..90cef32 100644
--- a/svx/inc/svx/svdouno.hxx
+++ b/svx/inc/svx/svdouno.hxx
@@ -75,7 +75,7 @@ private:
 public:
     TYPEINFO();
 
-    SdrUnoObj(const String& rModelName, sal_Bool bOwnsModel = sal_True);
+    explicit SdrUnoObj(const String& rModelName, sal_Bool bOwnsModel = sal_True);
     SdrUnoObj(const String& rModelName,
         const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rxSFac,
         sal_Bool bOwnsModel = sal_True);
diff --git a/svx/inc/svx/svdpntv.hxx b/svx/inc/svx/svdpntv.hxx
index 19594c3..53f40b1 100644
--- a/svx/inc/svx/svdpntv.hxx
+++ b/svx/inc/svx/svdpntv.hxx
@@ -113,7 +113,7 @@ class SVX_DLLPUBLIC SvxViewHint : public SfxHint
 public:
     enum HintType { SVX_HINT_VIEWCHANGED };
     TYPEINFO();
-    SvxViewHint (HintType eType);
+    explicit SvxViewHint (HintType eType);
     HintType GetHintType (void) const;
 
 private:
diff --git a/svx/inc/svx/svdsob.hxx b/svx/inc/svx/svdsob.hxx
index feec79e..b10c196 100644
--- a/svx/inc/svx/svdsob.hxx
+++ b/svx/inc/svx/svdsob.hxx
@@ -46,7 +46,7 @@ protected:
     sal_uInt8 aData[32];
 
 public:
-    SetOfByte(sal_Bool bInitVal = sal_False)
+    explicit SetOfByte(sal_Bool bInitVal = sal_False)
     {
         memset(aData, bInitVal ? 0xFF : 0x00, sizeof(aData));
     }
diff --git a/svx/inc/svx/svdview.hxx b/svx/inc/svx/svdview.hxx
index 71c7403..19c1a1d 100644
--- a/svx/inc/svx/svdview.hxx
+++ b/svx/inc/svx/svdview.hxx
@@ -198,7 +198,7 @@ protected:
 
 public:
     TYPEINFO();
-    SdrView(SdrModel* pModel1, OutputDevice* pOut = 0L);
+    explicit SdrView(SdrModel* pModel1, OutputDevice* pOut = 0L);
     virtual ~SdrView();
 
     // Default sind alle Dispatcher aktiviert. Will die App z.B. fuer
diff --git a/svx/source/sdr/attribute/sdrformtextattribute.cxx b/svx/source/sdr/attribute/sdrformtextattribute.cxx
index 8269870..d18e64a 100644
--- a/svx/source/sdr/attribute/sdrformtextattribute.cxx
+++ b/svx/source/sdr/attribute/sdrformtextattribute.cxx
@@ -175,7 +175,7 @@ namespace drawinglayer
             unsigned                                mbFormTextMirror : 1;   // change orientation
             unsigned                                mbFormTextOutline : 1;  // show contour of objects
 
-            ImpSdrFormTextAttribute(const SfxItemSet& rSet)
+            explicit ImpSdrFormTextAttribute(const SfxItemSet& rSet)
             :   mnRefCount(0),
                 mnFormTextDistance(((const XFormTextDistanceItem&)rSet.Get(XATTR_FORMTXTDISTANCE)).GetValue()),
                 mnFormTextStart(((const XFormTextStartItem&)rSet.Get(XATTR_FORMTXTSTART)).GetValue()),
diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
index d641ee0..5c0edb7 100644
--- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
@@ -50,7 +50,7 @@ namespace sdr
 
         public:
             // basic constructor/destructor
-            PagePrimitiveExtractor(ViewObjectContactOfPageObj& rVOC);
+            explicit PagePrimitiveExtractor(ViewObjectContactOfPageObj& rVOC);
             virtual ~PagePrimitiveExtractor();
 
             // LazyInvalidate request. Supported here to not automatically
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
index 17f6e09..06f1b4d 100644
--- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
@@ -434,7 +434,7 @@ namespace sdr { namespace contact {
     {
         const SdrPageView&  m_rPageView;
     public:
-        SdrPageViewAccess( const SdrPageView& _rPageView ) : m_rPageView( _rPageView ) { }
+        explicit SdrPageViewAccess( const SdrPageView& _rPageView ) : m_rPageView( _rPageView ) { }
 
         virtual ~SdrPageViewAccess() {}
 
@@ -476,7 +476,7 @@ namespace sdr { namespace contact {
     private:
         Reference< XControlContainer >& m_rControlContainer;
     public:
-        InvisibleControlViewAccess( Reference< XControlContainer >& _inout_ControlContainer )
+        explicit InvisibleControlViewAccess( Reference< XControlContainer >& _inout_ControlContainer )
             :m_rControlContainer( _inout_ControlContainer )
         {
         }
@@ -605,7 +605,7 @@ namespace sdr { namespace contact {
         ::basegfx::B2DHomMatrix         m_aZoomLevelNormalization;
 
     public:
-        ViewObjectContactOfUnoControl_Impl( ViewObjectContactOfUnoControl* _pAntiImpl );
+        explicit ViewObjectContactOfUnoControl_Impl( ViewObjectContactOfUnoControl* _pAntiImpl );
 
         /** disposes the instance, which is nonfunctional afterwards
         */
@@ -901,7 +901,7 @@ namespace sdr { namespace contact {
             ) const;
 
     public:
-        LazyControlCreationPrimitive2D( const ::rtl::Reference< ViewObjectContactOfUnoControl_Impl >& _pVOCImpl )
+        explicit LazyControlCreationPrimitive2D( const ::rtl::Reference< ViewObjectContactOfUnoControl_Impl >& _pVOCImpl )
             :m_pVOCImpl( _pVOCImpl )
         {
             ENSURE_OR_THROW( m_pVOCImpl.is(), "Illegal argument." );


More information about the Libreoffice-commits mailing list