summaryrefslogtreecommitdiff
path: root/sc/source/filter/html
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-10 22:11:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-11 11:55:04 +0000
commit6ddb02bad568be58c8728a40c43b81232c1ca4a0 (patch)
treeb6883ad68c870f9ce7e0ee2676956e673f2848d8 /sc/source/filter/html
parentc437b033748733273c43d071ab42a1863ed80416 (diff)
ByteString->rtl::OString
Diffstat (limited to 'sc/source/filter/html')
-rw-r--r--sc/source/filter/html/htmlexp2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/html/htmlexp2.cxx b/sc/source/filter/html/htmlexp2.cxx
index 607caeddaf52..bfeeb1bb939b 100644
--- a/sc/source/filter/html/htmlexp2.cxx
+++ b/sc/source/filter/html/htmlexp2.cxx
@@ -198,7 +198,7 @@ void ScHTMLExport::WriteGraphEntry( ScHTMLGraphEntry* pE )
void ScHTMLExport::WriteImage( String& rLinkName, const Graphic& rGrf,
- const ByteString& rImgOptions, sal_uLong nXOutFlags )
+ const rtl::OString& rImgOptions, sal_uLong nXOutFlags )
{
// embeddete Grafik -> via WriteGraphic schreiben
if( !rLinkName.Len() )
@@ -241,8 +241,8 @@ void ScHTMLExport::WriteImage( String& rLinkName, const Graphic& rGrf,
HTMLOutFuncs::Out_String( rStrm, URIHelper::simpleNormalizedMakeRelative(
aBaseURL,
rLinkName ), eDestEnc ) << '\"';
- if ( rImgOptions.Len() )
- rStrm << rImgOptions.GetBuffer();
+ if ( rImgOptions.getLength() )
+ rStrm << rImgOptions.getStr();
rStrm << '>' << sNewLine << GetIndentStr();
}
}