summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlrowi.cxx
diff options
context:
space:
mode:
authorMohammed Abdul Azeem <azeemmysore@gmail.com>2017-07-09 22:37:00 +0530
committerMohammed Abdul Azeem <azeemmysore@gmail.com>2017-07-10 20:05:09 +0200
commit5364990831a7d5773ddbc2f35842c7b3a8d5534a (patch)
tree6072d6dd0ded790d5658be55b1a619f4dcda6ee4 /sc/source/filter/xml/xmlrowi.cxx
parent271882910107e177bc98af877f9c8b9f89c09795 (diff)
Adding an overloaded IsXMLToken method:
Passing FastAttributeIter to the method makes the code much cleaner and easy to read. Change-Id: I227e9dc378dfba51168c29452667576a779dc215 Reviewed-on: https://gerrit.libreoffice.org/39730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.cxx')
-rw-r--r--sc/source/filter/xml/xmlrowi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx
index 8903287504ac..41c6defe29fd 100644
--- a/sc/source/filter/xml/xmlrowi.cxx
+++ b/sc/source/filter/xml/xmlrowi.cxx
@@ -233,7 +233,7 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport,
static_cast< sax_fastparser::FastAttributeList *>( xAttrList.get() );
auto &aIter( pAttribList->find( XML_ELEMENT( TABLE, XML_DISPLAY ) ) );
if( aIter != pAttribList->end() )
- bGroupDisplay = IsXMLToken( aIter.toCString(), XML_TRUE );
+ bGroupDisplay = IsXMLToken( aIter, XML_TRUE );
}
}
}