summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-14 07:29:10 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-14 07:29:10 +0000
commit39f91d6de6a719da94218e57ee63d2c92681243b (patch)
tree01ab1c4421e1cbbbab3bbb67e51a182b504fc20c /sal/rtl
parent076760f3186a23707bd7acd35f7eca9cc8d5a5ef (diff)
INTEGRATION: CWS sb69 (1.22.92); FILE MERGED
2007/01/26 08:58:23 sb 1.22.92.1: #i64835# Fixed rtl::O[U]StringBuffer::setLength(0) for the (now-)const empty string.
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/source/strtmpl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/source/strtmpl.c b/sal/rtl/source/strtmpl.c
index 00367626a43c..69f51996b827 100644
--- a/sal/rtl/source/strtmpl.c
+++ b/sal/rtl/source/strtmpl.c
@@ -4,9 +4,9 @@
*
* $RCSfile: strtmpl.c,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 04:30:39 $
+ * last change: $Author: obo $ $Date: 2007-03-14 08:29:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1062,7 +1062,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( new )( IMPL_RTL_STRINGDATA** ppThis )
if ( *ppThis)
IMPL_RTL_STRINGNAME( release )( *ppThis );
- *ppThis = &IMPL_RTL_EMPTYSTRING;
+ *ppThis = (IMPL_RTL_STRINGDATA*) (&IMPL_RTL_EMPTYSTRING);
IMPL_RTL_AQUIRE( *ppThis );
}