summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx b/lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx
index 2790e5bf2bcf..dd04e8662054 100644
--- a/lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfsectionstyle.cxx
@@ -103,39 +103,39 @@ void XFSectionStyle::ToXml(IXFStream *pStrm)
IXFAttrList *pAttrList = pStrm->GetAttrList();
pAttrList->Clear();
- pAttrList->AddAttribute( OUString("style:name"), GetStyleName() );
- pAttrList->AddAttribute( OUString("style:family"), OUString("section") );
+ pAttrList->AddAttribute( "style:name", GetStyleName() );
+ pAttrList->AddAttribute( "style:family", "section" );
- pStrm->StartElement( OUString("style:style") );
+ pStrm->StartElement( "style:style" );
pAttrList->Clear();
if( m_fMarginLeft != 0 )
{
- pAttrList->AddAttribute( OUString("fo:margin-left"), OUString::number(m_fMarginLeft) + OUString("cm") );
+ pAttrList->AddAttribute( "fo:margin-left", OUString::number(m_fMarginLeft) + "cm" );
}
if( m_fMarginRight != 0 )
{
- pAttrList->AddAttribute( OUString("fo:margin-right"), OUString::number(m_fMarginRight) + OUString("cm") );
+ pAttrList->AddAttribute( "fo:margin-right", OUString::number(m_fMarginRight) + "cm" );
}
if( m_aBackColor.IsValid() && !m_pBackImage )
{
- pAttrList->AddAttribute( OUString("fo:background-color"), m_aBackColor.ToString() );
+ pAttrList->AddAttribute( "fo:background-color", m_aBackColor.ToString() );
}
else
{
- pAttrList->AddAttribute( OUString("fo:background-color"), OUString("transparent") );
+ pAttrList->AddAttribute( "fo:background-color", "transparent" );
}
- pStrm->StartElement( OUString("style:properties") );
+ pStrm->StartElement( "style:properties" );
if( m_pColumns )
m_pColumns->ToXml(pStrm);
if( m_pBackImage )
m_pBackImage->ToXml(pStrm);
- pStrm->EndElement( OUString("style:properties") );
+ pStrm->EndElement( "style:properties" );
- pStrm->EndElement( OUString("style:style") );
+ pStrm->EndElement( "style:style" );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */