diff options
-rw-r--r-- | sal/inc/rtl/strbuf.hxx | 2 | ||||
-rw-r--r-- | sal/inc/rtl/ustrbuf.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/inc/rtl/strbuf.hxx b/sal/inc/rtl/strbuf.hxx index 4500cf0f8de8..77113086c4a6 100644 --- a/sal/inc/rtl/strbuf.hxx +++ b/sal/inc/rtl/strbuf.hxx @@ -130,7 +130,7 @@ public: @param length the initial capacity. */ - explicit OStringBuffer(sal_Int32 length) + explicit OStringBuffer(int length) : pData(NULL) , nCapacity( length ) { diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx index 17deadd5de9e..a88710723435 100644 --- a/sal/inc/rtl/ustrbuf.hxx +++ b/sal/inc/rtl/ustrbuf.hxx @@ -125,7 +125,7 @@ public: @param length the initial capacity. */ - explicit OUStringBuffer(sal_Int32 length) + explicit OUStringBuffer(int length) : pData(NULL) , nCapacity( length ) { @@ -155,7 +155,7 @@ public: : pData(NULL) , nCapacity( N - 1 + 16 ) { - rtl_uStringbuffer_newFromStr_WithLength( &pData, literal, N - 1 ); + rtl_uString_newFromLiteral( &pData, literal, N - 1, 16 ); #ifdef RTL_STRING_UNITTEST rtl_string_unittest_const_literal = true; #endif |