diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:07:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:39:36 +0000 |
commit | 13875a7b43e105e91cbe85119efd1863572fee05 (patch) | |
tree | dc619301114f44a4020f7b1fe04abdc57115145d | |
parent | 3fba2e0ac8e07f9d87c2fa8797853950002483d6 (diff) |
avoid implicit casting
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 647da55924e5..d438fc7862df 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2074,7 +2074,7 @@ SwTableBox *SwXMLTableContext::MakeTableBox( { // set style const SfxItemSet *pAutoItemSet = 0; - if( pCell->GetStartNode() && sStyleName && + if( pCell->GetStartNode() && sStyleName.getLength() && GetSwImport().FindAutomaticStyle( XML_STYLE_FAMILY_TABLE_CELL, sStyleName, &pAutoItemSet ) ) { |