summaryrefslogtreecommitdiff
path: root/sax/test/sax/testwriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/test/sax/testwriter.cxx')
-rw-r--r--sax/test/sax/testwriter.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sax/test/sax/testwriter.cxx b/sax/test/sax/testwriter.cxx
index cef77fb8371a..89e1de587b84 100644
--- a/sax/test/sax/testwriter.cxx
+++ b/sax/test/sax/testwriter.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testwriter.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jbu $ $Date: 2001-01-04 16:00:43 $
+ * last change: $Author: jbu $ $Date: 2002-05-15 16:35:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -480,11 +480,11 @@ void OSaxWriterTest::writeParagraph(
const Reference< XExtendedDocumentHandler > &r ,
const OUString & s)
{
- int nMax = s.len();
+ int nMax = s.getLength();
int nStart = 0;
- Sequence<sal_uInt16> seq( s.len() );
- memcpy( seq.getArray() , s.getStr() , s.len() * sizeof( sal_uInt16 ) );
+ Sequence<sal_uInt16> seq( s.getLength() );
+ memcpy( seq.getArray() , s.getStr() , s.getLength() * sizeof( sal_uInt16 ) );
for( int n = 1 ; n < nMax ; n++ ){
if( 32 == seq.getArray()[n] ) {