summaryrefslogtreecommitdiffstats
path: root/vcl/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-13 22:28:52 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-13 22:29:46 +0100
commit38d3e115c159f19f22de73ece1abe609d75a041e (patch)
tree63ffe74cb9b8fcc52617b616d02cc2504a0d0e11 /vcl/inc
parentcoverity#704144: Resource leak in object (diff)
downloadcore-38d3e115c159f19f22de73ece1abe609d75a041e.tar.gz
core-38d3e115c159f19f22de73ece1abe609d75a041e.zip
vcl: make Region ctors explicit to prevent overloading desasters
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/region.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/inc/vcl/region.hxx b/vcl/inc/vcl/region.hxx
index acc69d86e1e8..9a5ed6884c58 100644
--- a/vcl/inc/vcl/region.hxx
+++ b/vcl/inc/vcl/region.hxx
@@ -79,12 +79,12 @@ public: // public within vcl
#endif
public:
- Region();
- Region( RegionType eType );
- Region( const Rectangle& rRect );
- Region( const Polygon& rPolygon );
- Region( const PolyPolygon& rPolyPoly );
- Region( const basegfx::B2DPolyPolygon& );
+ explicit Region();
+ explicit Region( RegionType eType );
+ explicit Region( const Rectangle& rRect );
+ explicit Region( const Polygon& rPolygon );
+ explicit Region( const PolyPolygon& rPolyPoly );
+ explicit Region( const basegfx::B2DPolyPolygon& );
Region( const Region& rRegion );
~Region();