diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-07 16:52:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-08 12:02:36 +0000 |
commit | e73b23562911c15e9996eea70d3aff4983a2018c (patch) | |
tree | 2982c0dfc0d121d9be5192acca84eb49289e4670 /sw/source/filter/html | |
parent | 68f7b7a37309f577da1b868ee012246449133c01 (diff) |
tidy up WW8FormulaControl, with knock on results elsewhere
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r-- | sw/source/filter/html/htmlfldw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlfldw.cxx b/sw/source/filter/html/htmlfldw.cxx index fca7370f4b9f..ed72fccab639 100644 --- a/sw/source/filter/html/htmlfldw.cxx +++ b/sw/source/filter/html/htmlfldw.cxx @@ -444,9 +444,9 @@ Writer& OutHTML_SwFmtFld( Writer& rWrt, const SfxPoolItem& rHt ) (nsSwGetSetExpType::GSE_STRING & pFld->GetSubType()) ) { int bOn = sal_False; - if( pFldTyp->GetName().EqualsAscii("HTML_ON" ) ) + if (pFldTyp->GetName() == "HTML_ON") bOn = sal_True; - else if( !pFldTyp->GetName().EqualsAscii( "HTML_OFF" ) ) + else if (pFldTyp->GetName() != "HTML_OFF") return rWrt; String rTxt( pFld->GetPar2() ); |