summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-24 15:44:49 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-25 09:34:43 +0200
commit40014cd070a2271ede0a73fd33de0121571df4eb (patch)
treeb0c2265370ae0d83abc6ac74dff02f91748170d9 /writerfilter
parentd5b4eccee3c462a12f8caf1fccf38cc6e2a34a68 (diff)
only the now removed OOXML tokenizer called getType()
Change-Id: Id9786ed75bf9d9b637312655af33d790caf93b13
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/inc/ooxml/OOXMLDocument.hxx7
-rw-r--r--writerfilter/inc/resourcemodel/WW8ResourceModel.hxx5
-rw-r--r--writerfilter/inc/rtftok/RTFDocument.hxx3
-rw-r--r--writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.cxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySet.hxx1
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx10
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx2
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx6
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.hxx1
-rw-r--r--writerfilter/source/rtftok/rtfreferenceproperties.cxx7
-rw-r--r--writerfilter/source/rtftok/rtfreferenceproperties.hxx1
-rw-r--r--writerfilter/source/rtftok/rtfreferencetable.cxx5
-rw-r--r--writerfilter/source/rtftok/rtfreferencetable.hxx1
16 files changed, 0 insertions, 63 deletions
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx b/writerfilter/inc/ooxml/OOXMLDocument.hxx
index 8032f6089f7c..3b778baec658 100644
--- a/writerfilter/inc/ooxml/OOXMLDocument.hxx
+++ b/writerfilter/inc/ooxml/OOXMLDocument.hxx
@@ -133,13 +133,6 @@ public:
virtual void resolve(Stream & rStream) SAL_OVERRIDE = 0;
/**
- Returns string representation of the type of this reference.
-
- DEBUGGING PURPOSE ONLY.
- */
- virtual std::string getType() const SAL_OVERRIDE = 0;
-
- /**
Resolves a footnote to a stream handler.
A footnote is resolved if either the note type or
diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
index e30a77117ef1..b4254b6a97e2 100644
--- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
@@ -98,11 +98,6 @@ public:
*/
virtual void resolve(T & rHandler) = 0;
- /**
- Returns the type of the reference aka the name of the access class.
- */
- virtual std::string getType() const = 0;
-
protected:
~Reference() {}
};
diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx b/writerfilter/inc/rtftok/RTFDocument.hxx
index 1959505cfc8f..7f5391cdf080 100644
--- a/writerfilter/inc/rtftok/RTFDocument.hxx
+++ b/writerfilter/inc/rtftok/RTFDocument.hxx
@@ -32,9 +32,6 @@ public:
/// Resolves this document to a stream handler.
virtual void resolve(Stream& rHandler) SAL_OVERRIDE = 0;
-
- /// Returns string representation of the type of this reference. (Debugging purpose only.)
- virtual ::std::string getType() const SAL_OVERRIDE = 0;
};
/// Interface to create an RTFDocument instance.
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
index c98cf6f0c264..734e55a90444 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
@@ -70,11 +70,6 @@ void OOXMLBinaryObjectReference::resolve(BinaryObj & rHandler)
mSequence.getLength(), pRef);
}
-std::string OOXMLBinaryObjectReference::getType() const
-{
- return "OOXMLBinaryObjectReference";
-}
-
}}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
index 89478a029b86..929a27faa8c7 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
@@ -39,8 +39,6 @@ public:
virtual ~OOXMLBinaryObjectReference();
virtual void resolve(BinaryObj & rHandler) SAL_OVERRIDE;
-
- virtual std::string getType() const SAL_OVERRIDE;
};
}}
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 89aa80d2a193..e8af6d09189f 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -850,11 +850,6 @@ uno::Reference<io::XInputStream> OOXMLDocumentImpl::getInputStreamForId(const OU
return pStream->getDocumentStream();
}
-std::string OOXMLDocumentImpl::getType() const
-{
- return "OOXMLDocumentImpl";
-}
-
void OOXMLDocumentImpl::setModel(uno::Reference<frame::XModel> xModel)
{
mxModel.set(xModel);
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
index 30d75929eb00..b074b54bfe9c 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
@@ -95,8 +95,6 @@ public:
virtual void resolve(Stream & rStream) SAL_OVERRIDE;
- virtual std::string getType() const SAL_OVERRIDE;
-
virtual void resolveFootnote(Stream & rStream,
const Id & rType,
const sal_Int32 nNoteId) SAL_OVERRIDE;
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
index 3476ae8f74bb..214781fb7eac 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
@@ -54,7 +54,6 @@ public:
virtual ~OOXMLPropertySet();
virtual void resolve(Properties & rHandler) SAL_OVERRIDE = 0;
- virtual std::string getType() const SAL_OVERRIDE = 0;
virtual void add(OOXMLProperty::Pointer_t pProperty) = 0;
virtual void add(OOXMLPropertySet::Pointer_t pPropertySet) = 0;
virtual OOXMLPropertySet * clone() const = 0;
diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
index d4a0904287d2..01b8b4d612de 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
@@ -455,11 +455,6 @@ OOXMLPropertySetImpl::end() const
return mProperties.end();
}
-string OOXMLPropertySetImpl::getType() const
-{
- return string(maType.getStr());
-}
-
void OOXMLPropertySetImpl::add(OOXMLProperty::Pointer_t pProperty)
{
if (pProperty.get() != nullptr && pProperty->getId() != 0x0)
@@ -808,11 +803,6 @@ void OOXMLTableImpl::add(ValuePointer_t pPropertySet)
mPropertySets.push_back(pPropertySet);
}
-string OOXMLTableImpl::getType() const
-{
- return "OOXMLTableImpl";
-}
-
OOXMLTable * OOXMLTableImpl::clone() const
{
return new OOXMLTableImpl(*this);
diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
index 02c1d31fb5af..123160015a70 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
@@ -169,7 +169,6 @@ public:
virtual ~OOXMLPropertySetImpl();
virtual void resolve(Properties & rHandler) SAL_OVERRIDE;
- virtual std::string getType() const SAL_OVERRIDE;
virtual void add(OOXMLProperty::Pointer_t pProperty) SAL_OVERRIDE;
virtual void add(OOXMLPropertySet::Pointer_t pPropertySet) SAL_OVERRIDE;
virtual OOXMLPropertySet * clone() const SAL_OVERRIDE;
@@ -293,7 +292,6 @@ public:
virtual void resolve(Table & rTable) SAL_OVERRIDE;
virtual void add(ValuePointer_t pPropertySet);
- virtual std::string getType() const SAL_OVERRIDE;
virtual OOXMLTable * clone() const SAL_OVERRIDE;
};
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 50e2719776bf..8dbf3b0d47f5 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -5937,12 +5937,6 @@ int RTFDocumentImpl::popState()
return 0;
}
-::std::string RTFDocumentImpl::getType() const
-{
- return "RTFDocumentImpl";
-}
-
-
bool RTFDocumentImpl::isInBackground()
{
return m_aStates.top().bInBackground;
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index c0f606777d8a..2f342991f162 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -333,7 +333,6 @@ public:
// RTFDocument
virtual void resolve(Stream& rHandler) SAL_OVERRIDE;
- virtual std::string getType() const SAL_OVERRIDE;
// RTFListener
virtual int dispatchDestination(RTFKeyword nKeyword) SAL_OVERRIDE;
diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.cxx b/writerfilter/source/rtftok/rtfreferenceproperties.cxx
index 793305ef2621..e33d526bfaf5 100644
--- a/writerfilter/source/rtftok/rtfreferenceproperties.cxx
+++ b/writerfilter/source/rtftok/rtfreferenceproperties.cxx
@@ -41,13 +41,6 @@ void RTFReferenceProperties::resolve(Properties& rHandler)
}
}
-std::string RTFReferenceProperties::getType() const
-{
- return "RTFReferenceProperties";
-}
-
-
-
} // namespace rtftok
} // namespace writerfilter
diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.hxx b/writerfilter/source/rtftok/rtfreferenceproperties.hxx
index 90d30bed7ce3..a38db241c735 100644
--- a/writerfilter/source/rtftok/rtfreferenceproperties.hxx
+++ b/writerfilter/source/rtftok/rtfreferenceproperties.hxx
@@ -25,7 +25,6 @@ public:
RTFReferenceProperties(RTFSprms rAttributes);
virtual ~RTFReferenceProperties();
virtual void resolve(Properties& rHandler) SAL_OVERRIDE;
- virtual std::string getType() const SAL_OVERRIDE;
RTFSprms& getAttributes()
{
return m_aAttributes;
diff --git a/writerfilter/source/rtftok/rtfreferencetable.cxx b/writerfilter/source/rtftok/rtfreferencetable.cxx
index 7d4cefd4a7e7..67b6284f5385 100644
--- a/writerfilter/source/rtftok/rtfreferencetable.cxx
+++ b/writerfilter/source/rtftok/rtfreferencetable.cxx
@@ -29,11 +29,6 @@ void RTFReferenceTable::resolve(Table& rHandler)
rHandler.entry(i->first, i->second);
}
-std::string RTFReferenceTable::getType() const
-{
- return "RTFReferenceTable";
-}
-
} // namespace rtftok
} // namespace writerfilter
diff --git a/writerfilter/source/rtftok/rtfreferencetable.hxx b/writerfilter/source/rtftok/rtfreferencetable.hxx
index feb7848a9a99..91c3e7bb27d3 100644
--- a/writerfilter/source/rtftok/rtfreferencetable.hxx
+++ b/writerfilter/source/rtftok/rtfreferencetable.hxx
@@ -27,7 +27,6 @@ public:
RTFReferenceTable(Entries_t const& rEntries);
virtual ~RTFReferenceTable();
virtual void resolve(Table& rHandler) SAL_OVERRIDE;
- virtual std::string getType() const SAL_OVERRIDE;
private:
Entries_t m_aEntries;
};