diff options
-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 ) { |