[Libreoffice-commits] core.git: writerfilter/Library_writerfilter.mk writerfilter/source

Miklos Vajna vmiklos at collabora.co.uk
Sat Nov 23 06:02:52 PST 2013


 writerfilter/Library_writerfilter.mk     |    1 
 writerfilter/source/doctok/WW8Text.cxx   |   61 -------------------------------
 writerfilter/source/doctok/resources.xmi |   14 -------
 3 files changed, 76 deletions(-)

New commits:
commit db0f5d6c9bb6e2ff754cf36d84027016def21ed2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Nov 23 14:53:27 2013 +0100

    Remove unused writerfilter::doctok::WW8sprmPChgTabsPapx
    
    Change-Id: Ia0de2812aedc4400ca38911f6165bda0e483f7ee

diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk
index b9b2932..47133ff 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 dca8866..0000000
--- 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 c66813e..5765779 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">


More information about the Libreoffice-commits mailing list