From 16410cdcb91b3d358ab2964deefe8d357cae613b Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Tue, 27 Mar 2012 11:03:09 +0200 Subject: remove unused code (oox, sc) --- oox/source/mathml/importutils.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'oox/source/mathml') diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx index ab9d22483387..41a254d7d296 100644 --- a/oox/source/mathml/importutils.cxx +++ b/oox/source/mathml/importutils.cxx @@ -114,11 +114,6 @@ static OUString tokenToString( int token ) } // namespace -bool XmlStream::AttributeList::hasAttribute( int token ) const -{ - return attrs.find( token ) != attrs.end(); -} - rtl::OUString XmlStream::AttributeList::attribute( int token, const rtl::OUString& def ) const { std::map< int, rtl::OUString >::const_iterator find = attrs.find( token ); @@ -304,11 +299,6 @@ bool XmlStream::findTagInternal( int token, bool silent ) return false; } -void XmlStream::skipElement( int token ) -{ - return skipElementInternal( token, true ); // no debug about skipping if called from outside -} - void XmlStream::skipElementInternal( int token, bool silent ) { int closing = ( token & ~TAG_OPENING ) | TAG_CLOSING; // make it a closing tag -- cgit