diff options
author | Ciorba Edmond <edmond_ciorba@yahoo.com> | 2013-07-03 16:14:45 +0300 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-07-11 12:36:20 +0200 |
commit | 5dd1b3da57862a6577717544dde56482add89170 (patch) | |
tree | 59a18786309d0f1d49b41f06485457cba7d6e5da /svtools/source/svhtml/htmlout.cxx | |
parent | 31144904919cf386f7ef6941a2932bc00497ed13 (diff) |
fdo#63211 - embed images in HTML export.
Change-Id: I585c85d2cee13ee8954623bd981cb372d78b7952
Diffstat (limited to 'svtools/source/svhtml/htmlout.cxx')
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index a23638f122da..f384c4be5ad6 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -532,14 +532,14 @@ SvStream& HTMLOutFuncs::Out_Char( SvStream& rStream, sal_Unicode c, return rStream; } -SvStream& HTMLOutFuncs::Out_String( SvStream& rStream, const String& rStr, +SvStream& HTMLOutFuncs::Out_String( SvStream& rStream, const OUString& rOUStr, rtl_TextEncoding eDestEnc, String *pNonConvertableChars ) { HTMLOutContext aContext( eDestEnc ); - xub_StrLen nLen = rStr.Len(); - for( xub_StrLen n = 0; n < nLen; n++ ) - HTMLOutFuncs::Out_Char( rStream, rStr.GetChar( (xub_StrLen)n ), + sal_Int32 nLen = rOUStr.getLength(); + for( sal_Int32 n = 0; n < nLen; n++ ) + HTMLOutFuncs::Out_Char( rStream, rOUStr[n], aContext, pNonConvertableChars ); HTMLOutFuncs::FlushToAscii( rStream, aContext ); return rStream; |