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

Miklos Vajna vmiklos at collabora.co.uk
Sat Mar 15 13:10:49 PDT 2014


 writerfilter/Library_writerfilter.mk                |    1 
 writerfilter/source/resourcemodel/analyzerfooter    |    4 -
 writerfilter/source/resourcemodel/analyzerheader    |   23 --------
 writerfilter/source/resourcemodel/resourcemodel.cxx |   57 --------------------
 writerfilter/source/resourcemodel/resourcemodel.hxx |   39 -------------
 5 files changed, 124 deletions(-)

New commits:
commit be85be8c2a7c4d3bc34cbda365d2dcaacfe09241
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Mar 15 21:04:37 2014 +0100

    writerfilter: remove unused analyzer*
    
    Change-Id: I89ecd56b237feae000438915a0235eb58648805e

diff --git a/writerfilter/source/resourcemodel/analyzerfooter b/writerfilter/source/resourcemodel/analyzerfooter
deleted file mode 100644
index b24a236..0000000
--- a/writerfilter/source/resourcemodel/analyzerfooter
+++ /dev/null
@@ -1,4 +0,0 @@
-    out << "</ids>" << endl;
-}
-
-}
diff --git a/writerfilter/source/resourcemodel/analyzerheader b/writerfilter/source/resourcemodel/analyzerheader
deleted file mode 100644
index ed14f50..0000000
--- a/writerfilter/source/resourcemodel/analyzerheader
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * 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 <ooxml/resourceids.hxx>
-#include <resourcemodel/QNameToString.hxx>
-
-namespace writerfilter
-{
commit 9ab8c3b3b74070f5e094f98dc8fa2963b1aad208
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Mar 15 20:59:47 2014 +0100

    unused WW8BinaryObjHandler
    
    Change-Id: Ief8c158a25393cc4e6259ebf9557e76b70554a63

diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk
index 9ba4aff..7003132 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -147,7 +147,6 @@ $(eval $(call gb_Library_add_exception_objects,writerfilter,\
     writerfilter/source/resourcemodel/TagLogger \
     writerfilter/source/resourcemodel/XPathLogger \
     writerfilter/source/resourcemodel/qnametostrcore \
-    writerfilter/source/resourcemodel/resourcemodel \
     writerfilter/source/resourcemodel/util \
 ))
 
diff --git a/writerfilter/source/resourcemodel/resourcemodel.cxx b/writerfilter/source/resourcemodel/resourcemodel.cxx
deleted file mode 100644
index c6779db..0000000
--- a/writerfilter/source/resourcemodel/resourcemodel.cxx
+++ /dev/null
@@ -1,57 +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 <stdio.h>
-#include <resourcemodel/WW8ResourceModel.hxx>
-#include <resourcemodel/TableManager.hxx>
-#include <resourcemodel/QNameToString.hxx>
-#include <resourcemodel/exceptions.hxx>
-#include <resourcemodel/SubSequence.hxx>
-#include <resourcemodel/util.hxx>
-#include <resourcemodel.hxx>
-
-namespace writerfilter {
-
-class ResourceModelOutputWithDepth : public OutputWithDepth<string>
-{
-public:
-    ResourceModelOutputWithDepth()
-    : OutputWithDepth<string>("<tablegroup>", "</tablegroup>") {}
-
-    ~ResourceModelOutputWithDepth() {outputGroup();}
-
-    void output(const string & str) const { cout << str << endl; }
-};
-
-ResourceModelOutputWithDepth output;
-
-// ----- WW8TableDataManager -------------------------------
-
-void WW8BinaryObjHandler::data
-(const sal_uInt8 * buf, size_t length,
- writerfilter::Reference<Properties>::Pointer_t /*pRef*/)
-{
-    SubSequence<sal_uInt8> aSeq(buf, length);
-
-    aSeq.dump(output);
-}
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/resourcemodel/resourcemodel.hxx b/writerfilter/source/resourcemodel/resourcemodel.hxx
deleted file mode 100644
index 3deb27e..0000000
--- a/writerfilter/source/resourcemodel/resourcemodel.hxx
+++ /dev/null
@@ -1,39 +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 <resourcemodel/WW8ResourceModel.hxx>
-
-namespace writerfilter {
-class WW8BinaryObjHandler : public BinaryObj
-{
-public:
-    WW8BinaryObjHandler()
-    {
-    }
-
-    virtual ~WW8BinaryObjHandler()
-    {
-    }
-
-    virtual void data(const sal_uInt8* buf, size_t len,
-                      writerfilter::Reference<Properties>::Pointer_t ref);
-};
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list