summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-10-25 21:33:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-25 21:41:15 +0200
commit2367cfe03fa3e6be055fc65bed33faed108478ed (patch)
tree7bc9fd046f20f6c34f57b8edfcfbbb5a9c75c7b0
parent116a888b43e4df35a2ef1a0e272182722b75d11c (diff)
writerfilter: unused WW8SttbTableResource class
Change-Id: I54d7dc0f4dfac803ba6c474c36d22607d7da2e5b
-rw-r--r--writerfilter/source/doctok/WW8Sttbf.cxx27
-rw-r--r--writerfilter/source/doctok/WW8Sttbf.hxx13
2 files changed, 0 insertions, 40 deletions
diff --git a/writerfilter/source/doctok/WW8Sttbf.cxx b/writerfilter/source/doctok/WW8Sttbf.cxx
index 68b1c92cb4f5..8f586d25285b 100644
--- a/writerfilter/source/doctok/WW8Sttbf.cxx
+++ b/writerfilter/source/doctok/WW8Sttbf.cxx
@@ -68,33 +68,6 @@ OUString WW8Sttbf::getEntry(sal_uInt32 nPos) const
return getString(getEntryOffset(nPos));
}
-WW8SttbTableResource::WW8SttbTableResource(WW8Sttbf::Pointer_t pSttbf)
-: mpSttbf(pSttbf)
-{
-}
-
-WW8SttbTableResource::~WW8SttbTableResource()
-{
-}
-
-void WW8SttbTableResource::resolve(Table & rTable)
-{
- sal_uInt32 nCount = mpSttbf->getEntryCount();
-
- for (sal_uInt32 n = 0; n < nCount; n++)
- {
- WW8StringValue::Pointer_t pVal(new WW8StringValue(mpSttbf->getEntry(n)));
- ::writerfilter::Reference<Properties>::Pointer_t pProps(new WW8StringProperty(0, pVal));
-
- rTable.entry(n, pProps);
- }
-}
-
-string WW8SttbTableResource::getType() const
-{
- return "WW8SttbTableResource";
-}
-
SAL_WNODEPRECATED_DECLARATIONS_PUSH
WW8StringProperty::WW8StringProperty(sal_uInt32 nId, WW8StringValue::Pointer_t pValue)
: mnId(nId), mpValue(pValue)
diff --git a/writerfilter/source/doctok/WW8Sttbf.hxx b/writerfilter/source/doctok/WW8Sttbf.hxx
index 8f588424bde7..81add1cfb283 100644
--- a/writerfilter/source/doctok/WW8Sttbf.hxx
+++ b/writerfilter/source/doctok/WW8Sttbf.hxx
@@ -79,19 +79,6 @@ public:
OUString getEntry(sal_uInt32 nPos) const;
};
-class WW8SttbTableResource : public ::writerfilter::Reference<Table>
-{
- WW8Sttbf::Pointer_t mpSttbf;
-
-public:
- WW8SttbTableResource(WW8Sttbf::Pointer_t pSttbf);
- virtual ~WW8SttbTableResource();
-
- void resolve(Table & rTable);
-
- string getType() const;
-};
-
class WW8StringProperty : public ::writerfilter::Reference<Properties>
{
sal_uInt32 mnId;