From 65cf76e82e8f7a2b51c44ad8bddd13026efe501f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 31 Jul 2011 15:51:25 +0100 Subject: make these explicit --- sal/inc/rtl/strbuf.hxx | 2 +- 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 ) { -- cgit v1.2.3