diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-23 14:53:27 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-23 15:02:30 +0100 |
commit | db0f5d6c9bb6e2ff754cf36d84027016def21ed2 (patch) | |
tree | 25deef5aad5f3d432823c9e28f35e9532aec7f8f /writerfilter | |
parent | bcdfbc777af3fac3c115cdca63a3c9b580416a23 (diff) |
Remove unused writerfilter::doctok::WW8sprmPChgTabsPapx
Change-Id: Ia0de2812aedc4400ca38911f6165bda0e483f7ee
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/Library_writerfilter.mk | 1 | ||||
-rw-r--r-- | writerfilter/source/doctok/WW8Text.cxx | 61 | ||||
-rw-r--r-- | writerfilter/source/doctok/resources.xmi | 14 |
3 files changed, 0 insertions, 76 deletions
diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk index b9b29320913e..47133ff34c07 100644 --- a/writerfilter/Library_writerfilter.mk +++ b/writerfilter/Library_writerfilter.mk @@ -130,7 +130,6 @@ $(eval $(call gb_Library_add_exception_objects,writerfilter,\ writerfilter/source/doctok/WW8ResourceModelImpl \ writerfilter/source/doctok/WW8StructBase \ writerfilter/source/doctok/WW8Table \ - writerfilter/source/doctok/WW8Text \ writerfilter/source/filter/ImportFilter \ writerfilter/source/filter/RtfFilter \ writerfilter/source/filter/WriterFilter \ diff --git a/writerfilter/source/doctok/WW8Text.cxx b/writerfilter/source/doctok/WW8Text.cxx deleted file mode 100644 index dca88660c598..000000000000 --- a/writerfilter/source/doctok/WW8Text.cxx +++ /dev/null @@ -1,61 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <doctok/resources.hxx> - -namespace writerfilter { -namespace doctok { -sal_uInt32 WW8sprmPChgTabsPapx::get_dxaDel_count() -{ - return getS8(0x3); -} - -sal_Int16 WW8sprmPChgTabsPapx::get_dxaDel(sal_uInt32 pos) -{ - return getS16(0x4 + pos * 2); -} - -sal_uInt32 WW8sprmPChgTabsPapx::get_dxaAdd_count() -{ - return getS8(0x4 + get_dxaDel_count() * 2); -} - -sal_Int16 WW8sprmPChgTabsPapx::get_dxaAdd(sal_uInt32 pos) -{ - return getS16(0x4 + get_dxaDel_count() * 2 + 1 + pos * 2); -} - -sal_uInt32 WW8sprmPChgTabsPapx::get_tbdAdd_count() -{ - return get_dxaAdd_count(); -} - -writerfilter::Reference<Properties>::Pointer_t -WW8sprmPChgTabsPapx::get_tbdAdd(sal_uInt32 pos) -{ - //wntmsci compiler cannot handle 'too many inlines' ;-) - writerfilter::Reference<Properties>::Pointer_t pRet( new WW8TBD(this, - 0x4 + get_dxaDel_count() * 2 + 1 + get_dxaAdd_count() * 2 - + pos, 1)); - return pRet; -} - -}} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerfilter/source/doctok/resources.xmi b/writerfilter/source/doctok/resources.xmi index c66813e519c6..576577919a2d 100644 --- a/writerfilter/source/doctok/resources.xmi +++ b/writerfilter/source/doctok/resources.xmi @@ -29765,12 +29765,6 @@ <UML:ModelElement.stereotype> <UML:Stereotype xmi.idref="ww8sprm"/> </UML:ModelElement.stereotype> - <UML:ModelElement.stereotype> - <UML:Stereotype xmi.idref="ww8resource"/> - </UML:ModelElement.stereotype> - <UML:ModelElement.stereotype> - <UML:Stereotype xmi.idref="ww8nopayloadoffset"/> - </UML:ModelElement.stereotype> <UML:ModelElement.taggedValue> <UML:TaggedValue> <UML:TaggedValue.dataValue>0xC60D</UML:TaggedValue.dataValue> @@ -29882,14 +29876,6 @@ </UML:TaggedValue> </UML:ModelElement.taggedValue> </UML:Class> - <UML:Generalization isSpecification="false" xmi.id="sprmPChgTabsPapx-Properties"> - <UML:Generalization.child> - <UML:Class xmi.idref="sprmPChgTabsPapx"/> - </UML:Generalization.child> - <UML:Generalization.parent> - <UML:Class xmi.idref="Properties"/> - </UML:Generalization.parent> - </UML:Generalization> <!--SPRM sprmPChgTabsPapx--> <!--SPRM sprmPDxaRight--> <UML:Class xmi.id="sprmPDxaRight" name="sprmPDxaRight"> |