summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-07-06 17:42:51 +0200
committerDavid Tardon <dtardon@redhat.com>2012-07-14 10:39:06 +0200
commitdd7d4db073a5d11b173a417ce54caaae810a1610 (patch)
tree397c615db4cc82957882366ea22ef3f4a9580c99 /svx/source
parent782c3ccb3bc608a24483a64ae6bbaebcd917ce0d (diff)
sprinkle 'explicit' over constructors
Change-Id: I5929a480904460a92272d8e1da94ac1e55417ac2
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/sdr/attribute/sdrformtextattribute.cxx2
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofpageobj.cxx2
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx8
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/sdr/attribute/sdrformtextattribute.cxx b/svx/source/sdr/attribute/sdrformtextattribute.cxx
index 8269870fb0df..d18e64a5e0af 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 d641ee0a53f2..5c0edb71bbb6 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 17f6e0985da7..06f1b4dbd8da 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." );