summaryrefslogtreecommitdiff
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
commit65cf76e82e8f7a2b51c44ad8bddd13026efe501f (patch)
tree88d9461d1940bbd92db1333d75da4c703ec64cc6
parent88cf78d511c71af77658104a20c9c7a225c83078 (diff)
make these explicit
-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 3a26c1b74..a5412e7ee 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 756959748..cbab19399 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 )
{