diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-15 20:59:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-15 21:10:20 +0100 |
commit | 9ab8c3b3b74070f5e094f98dc8fa2963b1aad208 (patch) | |
tree | b0aa016465f328773cec92b6de747e5d1c06dc0d | |
parent | 83ee6b640eaf86f9aef6f42a4dd9c8a930cf9135 (diff) |
unused WW8BinaryObjHandler
Change-Id: Ief8c158a25393cc4e6259ebf9557e76b70554a63
-rw-r--r-- | writerfilter/Library_writerfilter.mk | 1 | ||||
-rw-r--r-- | writerfilter/source/resourcemodel/resourcemodel.cxx | 57 | ||||
-rw-r--r-- | writerfilter/source/resourcemodel/resourcemodel.hxx | 39 |
3 files changed, 0 insertions, 97 deletions
diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk index 9ba4aff4b208..700313275760 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 c6779db934d0..000000000000 --- 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 3deb27ecaa00..000000000000 --- 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: */ |