diff options
-rw-r--r-- | writerfilter/source/doctok/WW8Sttbf.cxx | 27 | ||||
-rw-r--r-- | writerfilter/source/doctok/WW8Sttbf.hxx | 13 |
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; |