diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-28 22:29:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-29 09:33:45 +0100 |
commit | c8e290d644a3a770e73f11412459e7bc068428ff (patch) | |
tree | 50eed2c6d03c68a0277ef285c5795898e4d46b8c /sw | |
parent | ByteString->rtl::OString[Buffer} (diff) | |
download | core-c8e290d644a3a770e73f11412459e7bc068428ff.tar.gz core-c8e290d644a3a770e73f11412459e7bc068428ff.zip |
ByteString->rtl::OString
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/css1atr.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/html/htmlatr.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index 574f51d1563f..5905b72ca825 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -1892,8 +1892,8 @@ static Writer& OutCSS1_SwPageDesc( Writer& rWrt, const SwPageDesc& rPageDesc, if( rHTMLWrt.bFirstCSS1Property && bPseudo ) { rHTMLWrt.OutNewLine(); - ByteString sTmp( aSelector, rHTMLWrt.eDestEnc ); - rWrt.Strm() << sTmp.GetBuffer() << " {"; + rtl::OString sTmp(rtl::OUStringToOString(aSelector, rHTMLWrt.eDestEnc)); + rWrt.Strm() << sTmp.getStr() << " {"; rHTMLWrt.bFirstCSS1Property = sal_False; } diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index f8d8c8ce7728..2d560707fbb0 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -965,7 +965,7 @@ void OutHTML_SwFmt( Writer& rWrt, const SwFmt& rFmt, // ausgegeben, wenn, // - keine Styles geschrieben werden, und // - ein untere Abstand oder eine Absatz-Ausrichtung existiert - ByteString aToken = rInfo.aToken; + rtl::OString aToken = rInfo.aToken; if( !rHWrt.bCfgOutStyles && rInfo.bParaPossible && !bPara && (bHasParSpace || pAdjItem) ) { |