From b4641df5de7842d6a8fc2c4f839214bf01160c8c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Dec 2019 10:45:44 +0200 Subject: loplugin:unusedmethods Change-Id: I8ad75d1251df4d6f8097aaa68e4ec92331e38ad4 Reviewed-on: https://gerrit.libreoffice.org/85077 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlhelp/Library_ucpchelp1.mk | 1 - xmlhelp/source/cxxhelp/inc/qe/DocGenerator.hxx | 40 ---------------------- .../source/cxxhelp/provider/resultsetforquery.cxx | 2 -- xmlhelp/source/cxxhelp/qe/DocGenerator.cxx | 39 --------------------- 4 files changed, 82 deletions(-) delete mode 100644 xmlhelp/source/cxxhelp/inc/qe/DocGenerator.hxx delete mode 100644 xmlhelp/source/cxxhelp/qe/DocGenerator.cxx (limited to 'xmlhelp') diff --git a/xmlhelp/Library_ucpchelp1.mk b/xmlhelp/Library_ucpchelp1.mk index b76e0eb67c23..506ddad704d5 100644 --- a/xmlhelp/Library_ucpchelp1.mk +++ b/xmlhelp/Library_ucpchelp1.mk @@ -56,7 +56,6 @@ $(eval $(call gb_Library_add_exception_objects,ucpchelp1,\ xmlhelp/source/cxxhelp/provider/resultsetforroot \ xmlhelp/source/cxxhelp/provider/services \ xmlhelp/source/cxxhelp/provider/urlparameter \ - xmlhelp/source/cxxhelp/qe/DocGenerator \ xmlhelp/source/treeview/tvfactory \ xmlhelp/source/treeview/tvread \ )) diff --git a/xmlhelp/source/cxxhelp/inc/qe/DocGenerator.hxx b/xmlhelp/source/cxxhelp/inc/qe/DocGenerator.hxx deleted file mode 100644 index 45eb6005730b..000000000000 --- a/xmlhelp/source/cxxhelp/inc/qe/DocGenerator.hxx +++ /dev/null @@ -1,40 +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 . - */ -#ifndef INCLUDED_XMLHELP_SOURCE_CXXHELP_INC_QE_DOCGENERATOR_HXX -#define INCLUDED_XMLHELP_SOURCE_CXXHELP_INC_QE_DOCGENERATOR_HXX - -namespace xmlsearch { - - namespace qe { - - class RoleFiller - { - public: - RoleFiller(); - ~RoleFiller(); - - private: - static RoleFiller roleFiller_; - }; - } -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx index 05cfa7027baa..40a87124cef3 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx @@ -41,13 +41,11 @@ #include #include -#include #include "resultsetforquery.hxx" #include "databases.hxx" using namespace std; using namespace chelp; -using namespace xmlsearch::qe; using namespace com::sun::star; using namespace com::sun::star::ucb; using namespace com::sun::star::i18n; diff --git a/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx b/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx deleted file mode 100644 index 71a6008b1fb3..000000000000 --- a/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx +++ /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 - - -using namespace xmlsearch; -using namespace xmlsearch::qe; - - -RoleFiller RoleFiller::roleFiller_; - - -RoleFiller::RoleFiller() -{ -} - - -RoleFiller::~RoleFiller() -{ -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit