diff options
author | David Tardon <dtardon@redhat.com> | 2012-07-03 08:53:24 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-07-03 17:47:18 +0200 |
commit | 9bd1acd164a9f8f4188ca06527ccc0fece7d0c19 (patch) | |
tree | ea82824dfc4c591d502ae28d5d1efed206f2090e /basegfx/inc/basegfx/range | |
parent | fddd006495f0c8584c85ff22ad0041094ea9a8cd (diff) |
sprinkle explicit over constructors
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
Diffstat (limited to 'basegfx/inc/basegfx/range')
-rw-r--r-- | basegfx/inc/basegfx/range/basicbox.hxx | 2 | ||||
-rw-r--r-- | basegfx/inc/basegfx/range/basicrange.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/range/basicbox.hxx b/basegfx/inc/basegfx/range/basicbox.hxx index 8e2e0efb90b7..4b000b582f3c 100644 --- a/basegfx/inc/basegfx/range/basicbox.hxx +++ b/basegfx/inc/basegfx/range/basicbox.hxx @@ -47,7 +47,7 @@ namespace basegfx public: BasicBox() {} - BasicBox( sal_Int32 nValue ) : + explicit BasicBox( sal_Int32 nValue ) : Base( nValue ) { } diff --git a/basegfx/inc/basegfx/range/basicrange.hxx b/basegfx/inc/basegfx/range/basicrange.hxx index daf552f56daf..d9fded6b46e7 100644 --- a/basegfx/inc/basegfx/range/basicrange.hxx +++ b/basegfx/inc/basegfx/range/basicrange.hxx @@ -52,7 +52,7 @@ namespace basegfx { } - BasicRange( T nValue ) : + explicit BasicRange( T nValue ) : mnMinimum(nValue), mnMaximum(nValue) { |