diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-14 07:29:21 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-14 07:29:21 +0000 |
commit | 4e6a43f92795e6f8dd61b1f3451e5555329745c7 (patch) | |
tree | 6cdf914734c1b968788e39cad889f5bb7e7083ab /sal/rtl/source/ustring.c | |
parent | 39f91d6de6a719da94218e57ee63d2c92681243b (diff) |
INTEGRATION: CWS sb69 (1.24.36); FILE MERGED
2007/01/26 08:58:23 sb 1.24.36.1: #i64835# Fixed rtl::O[U]StringBuffer::setLength(0) for the (now-)const empty string.
Diffstat (limited to 'sal/rtl/source/ustring.c')
-rw-r--r-- | sal/rtl/source/ustring.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sal/rtl/source/ustring.c b/sal/rtl/source/ustring.c index 14256f709dbe..800d6fb43182 100644 --- a/sal/rtl/source/ustring.c +++ b/sal/rtl/source/ustring.c @@ -4,9 +4,9 @@ * * $RCSfile: ustring.c,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: rt $ $Date: 2006-10-27 12:14:32 $ + * last change: $Author: obo $ $Date: 2007-03-14 08:29:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -68,8 +68,7 @@ /* static data to be referenced by all empty strings * the refCount is predefined to 1 and must never become 0 ! */ -// MT: Should be const, but doesn't work because of #i64835# -static rtl_uString aImplEmpty_rtl_uString = +static rtl_uString const aImplEmpty_rtl_uString = { 1, /* sal_Int32 refCount; */ 0, /* sal_Int32 length; */ |