[Libreoffice-commits] core.git: writerfilter/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Oct 29 19:20:41 CET 2013
writerfilter/source/doctok/WW8LFOTable.cxx | 26 --------------------------
writerfilter/source/doctok/resources.xmi | 9 ---------
2 files changed, 35 deletions(-)
New commits:
commit aeb29afa11b7be87153f048044a2d4af9a87b50c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Oct 29 19:10:07 2013 +0100
writerfilter: remove unused WW8LFOTable in doctok
Change-Id: Ib83b87d5e4cc42fadc56cb830bca377ffc6f42d2
diff --git a/writerfilter/source/doctok/WW8LFOTable.cxx b/writerfilter/source/doctok/WW8LFOTable.cxx
index aef1639..ec481d4 100644
--- a/writerfilter/source/doctok/WW8LFOTable.cxx
+++ b/writerfilter/source/doctok/WW8LFOTable.cxx
@@ -22,32 +22,6 @@
namespace writerfilter {
namespace doctok {
-sal_uInt32 WW8LFOTable::getEntryCount()
-{
- return getU32(0);
-}
-
-writerfilter::Reference<Properties>::Pointer_t
-WW8LFOTable::getEntry(sal_uInt32 nIndex)
-{
- WW8LFO * pLFO = new WW8LFO(this, entryOffsets[nIndex]);
-
- pLFO->setIndex(nIndex);
-
- return writerfilter::Reference<Properties>::Pointer_t(pLFO);
-}
-
-writerfilter::Reference<Properties>::Pointer_t
-WW8LFO::get_LFOData()
-{
- WW8LFOTable * pLFOTable = dynamic_cast<WW8LFOTable *>(mpParent);
- sal_uInt32 nPayloadOffset = pLFOTable->getPayloadOffset(mnIndex);
- sal_uInt32 nPayloadSize = pLFOTable->getPayloadSize(mnIndex);
-
- return writerfilter::Reference<Properties>::Pointer_t
- (new WW8LFOData(mpParent, nPayloadOffset, nPayloadSize));
-}
-
void WW8LFOLevel::resolveNoAuto(Properties & /*rHandler*/)
{
diff --git a/writerfilter/source/doctok/resources.xmi b/writerfilter/source/doctok/resources.xmi
index f6d7e1d..9f3f8a6 100644
--- a/writerfilter/source/doctok/resources.xmi
+++ b/writerfilter/source/doctok/resources.xmi
@@ -3110,15 +3110,6 @@
<!--Class LFOData-->
<!--Class LFOTable-->
<UML:Class xmi.id="LFOTable" name="LFOTable">
- <UML:ModelElement.stereotype>
- <UML:Stereotype xmi.idref="ww8resource"/>
- </UML:ModelElement.stereotype>
- <UML:ModelElement.stereotype>
- <UML:Stereotype xmi.idref="plcf"/>
- </UML:ModelElement.stereotype>
- <UML:ModelElement.stereotype>
- <UML:Stereotype xmi.idref="ww8nopayloadoffset"/>
- </UML:ModelElement.stereotype>
<UML:ModelElement.taggedValue>
<UML:TaggedValue>
<UML:TaggedValue.dataValue>rtf:LFOTABLE</UML:TaggedValue.dataValue>
More information about the Libreoffice-commits
mailing list