diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-31 15:51:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-02 11:08:27 +0100 |
commit | 6ad69c212f307a8be944cee4c06ca5e0b8abace1 (patch) | |
tree | 8c67650f8cca03798e5f72309b6a3be500bd4a2a /sal | |
parent | 8ea27ae4279ea10354631461c4c99051bfbdcd00 (diff) |
make these explicit
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/strbuf.hxx | 2 | ||||
-rw-r--r-- | sal/inc/rtl/ustrbuf.hxx | 2 |
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 ) { |