summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-01 15:10:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-02 06:38:43 +0000
commit35e68754ec3cff30c5cdb665688a9b13f29dd439 (patch)
tree90cca99363ad1c0209c6d21fe5a82de2db9d039f /writerfilter
parent837f171810a95a1d87907dd08d67e969276f0559 (diff)
loplugin:unusedmethods
Change-Id: I3d6f1300f4fae2af9e580d1d3b2c2c80fa9e9268 Reviewed-on: https://gerrit.libreoffice.org/19075 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/inc/ooxml/OOXMLDocument.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx9
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLFastHelper.hxx18
4 files changed, 0 insertions, 34 deletions
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx b/writerfilter/inc/ooxml/OOXMLDocument.hxx
index a17e517681f2..52b6430a1211 100644
--- a/writerfilter/inc/ooxml/OOXMLDocument.hxx
+++ b/writerfilter/inc/ooxml/OOXMLDocument.hxx
@@ -258,8 +258,6 @@ public:
};
-void ooxmlidsToXML(::std::iostream & out);
-
std::string fastTokenToId(sal_uInt32 nToken);
}}
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 2125b8135cc3..898dacdce600 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -828,10 +828,6 @@ OUString OOXMLFastContextHandler::getTargetForId
return mpParserState->getDocument()->getTargetForId(rId);
}
-void OOXMLFastContextHandler::resolvePropertySetAttrs()
-{
-}
-
void OOXMLFastContextHandler::sendPropertyToParent()
{
if (mpParent != nullptr)
@@ -913,11 +909,6 @@ void OOXMLFastContextHandlerStream::sendProperty(Id nId)
}
-void OOXMLFastContextHandlerStream::resolvePropertySetAttrs()
-{
- mpStream->props(mpPropertySetAttrs);
-}
-
OOXMLPropertySet::Pointer_t OOXMLFastContextHandlerStream::getPropertySet()
const
{
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index a0a6b45b7fe6..6886e4a700b7 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -225,8 +225,6 @@ protected:
void startAction(Token_t Element);
void endAction(Token_t Element);
- virtual void resolvePropertySetAttrs();
-
css::uno::Reference< css::uno::XComponentContext > getComponentContext() { return m_xContext;}
sal_uInt32 mnInstanceNumber;
@@ -262,9 +260,6 @@ public:
void handleHyperlink();
-protected:
- virtual void resolvePropertySetAttrs() SAL_OVERRIDE;
-
private:
mutable OOXMLPropertySet::Pointer_t mpPropertySetAttrs;
};
diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
index 88e5c236f30f..b368916c6a1c 100644
--- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
@@ -36,15 +36,7 @@ public:
(OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId, Id nDefine);
static void newProperty(OOXMLFastContextHandler * pHandler,
- Id nId,
- const OUString & rValue);
-
- static void newProperty(OOXMLFastContextHandler * pHandler,
Id nId, sal_Int32 nValue);
-
- static void attributes
- (OOXMLFastContextHandler * pContext,
- const css::uno::Reference < css::xml::sax::XFastAttributeList > & Attribs);
};
template <class T>
@@ -64,16 +56,6 @@ css::uno::Reference<css::xml::sax::XFastContextHandler> OOXMLFastHelper<T>::crea
template <class T>
void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler * pHandler,
Id nId,
- const OUString & rValue)
-{
- OOXMLValue::Pointer_t pVal(new T(rValue));
-
- pHandler->newProperty(nId, pVal);
-}
-
-template <class T>
-void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler * pHandler,
- Id nId,
sal_Int32 nVal)
{
OOXMLValue::Pointer_t pVal(T::Create(nVal));