summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-31 15:51:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-02 11:08:27 +0100
commit6ad69c212f307a8be944cee4c06ca5e0b8abace1 (patch)
tree8c67650f8cca03798e5f72309b6a3be500bd4a2a /sal
parent8ea27ae4279ea10354631461c4c99051bfbdcd00 (diff)
make these explicit
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/strbuf.hxx2
-rw-r--r--sal/inc/rtl/ustrbuf.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/rtl/strbuf.hxx b/sal/inc/rtl/strbuf.hxx
index 310b38e9a19a..7079ddbed8b5 100644
--- a/sal/inc/rtl/strbuf.hxx
+++ b/sal/inc/rtl/strbuf.hxx
@@ -111,7 +111,7 @@ public:
@param length the initial capacity.
*/
- OStringBuffer(sal_Int32 length)
+ explicit OStringBuffer(sal_Int32 length)
: pData(NULL)
, nCapacity( length )
{
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index 39e3562bd516..e6e523b64c54 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -110,7 +110,7 @@ public:
@param length the initial capacity.
*/
- OUStringBuffer(sal_Int32 length)
+ explicit OUStringBuffer(sal_Int32 length)
: pData(NULL)
, nCapacity( length )
{