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 | 65cf76e82e8f7a2b51c44ad8bddd13026efe501f (patch) | |
tree | 88d9461d1940bbd92db1333d75da4c703ec64cc6 | |
parent | 88cf78d511c71af77658104a20c9c7a225c83078 (diff) |
make these explicit
-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 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 ) { |