ByteString->rtl::OString

This commit is contained in:
Caolán McNamara 2011-09-28 22:29:07 +01:00
parent d1c8b0bb86
commit c8e290d644
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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) )
{