summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-18 09:37:44 +0200
committerNoel Grandin <noel@peralex.com>2015-12-21 10:20:31 +0200
commite18b08363a939b35e7f5dc435e606d2c62bddebd (patch)
tree6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /oox
parent20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff)
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/fastparser.cxx33
-rw-r--r--oox/source/core/xmlfilterbase.cxx15
2 files changed, 0 insertions, 48 deletions
diff --git a/oox/source/core/fastparser.cxx b/oox/source/core/fastparser.cxx
index 6290eb7e7ffa..5465577842ed 100644
--- a/oox/source/core/fastparser.cxx
+++ b/oox/source/core/fastparser.cxx
@@ -131,39 +131,6 @@ void FastParser::parseStream( StorageBase& rStorage, const OUString& rStreamName
parseStream( rStorage.openInputStream( rStreamName ), rStreamName, bCloseStream );
}
-OUString FastParser::getNamespaceURL( const OUString& rPrefix ) throw( IllegalArgumentException, RuntimeException )
-{
- if( !mxParser.is() )
- throw RuntimeException();
- return mxParser->getNamespaceURL( rPrefix );
-}
-
-bool FastParser::hasNamespaceURL( const OUString& rPrefix ) const
-{
- if (!mxParser.is())
- throw RuntimeException();
-
- if (!mpParser)
- return false;
-
- return mpParser->hasNamespaceURL(rPrefix);
-}
-
-sal_Int32 FastParser::getNamespaceId( const OUString& rUrl )
-{
- for( NamespaceMap::const_iterator aIt = mrNamespaceMap.maTransitionalNamespaceMap.begin(),
- aEnd = mrNamespaceMap.maTransitionalNamespaceMap.end(); aIt != aEnd; ++aIt )
- if( rUrl == aIt->second )
- return aIt->first;
-
- for( NamespaceMap::const_iterator aIt = mrNamespaceMap.maStrictNamespaceMap.begin(),
- aEnd = mrNamespaceMap.maStrictNamespaceMap.end(); aIt != aEnd; ++aIt )
- if( rUrl == aIt->second )
- return aIt->first;
-
- return 0;
-}
-
} // namespace core
} // namespace oox
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 709c627db722..ea1721d46f12 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -364,21 +364,6 @@ bool XmlFilterBase::importFragment( const rtl::Reference<FragmentHandler>& rxHan
return false;
}
-OUString XmlFilterBase::getNamespaceURL( const OUString& rPrefix )
-{
- return mxImpl->maFastParser.getNamespaceURL( rPrefix );
-}
-
-bool XmlFilterBase::hasNamespaceURL( const OUString& rPrefix ) const
-{
- return mxImpl->maFastParser.hasNamespaceURL(rPrefix);
-}
-
-sal_Int32 XmlFilterBase::getNamespaceId( const OUString& rUrl )
-{
- return mxImpl->maFastParser.getNamespaceId( rUrl );
-}
-
Reference<XDocument> XmlFilterBase::importFragment( const OUString& aFragmentPath )
{
Reference<XDocument> xRet;