diff options
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | autodoc/Executable_autodoc.mk | 1 | ||||
-rw-r--r-- | autodoc/source/parser/inc/tokens/tkp.hxx | 78 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/tkp.cxx | 50 | ||||
-rw-r--r-- | solenv/bin/callcatcher.Makefile | 4 | ||||
-rw-r--r-- | unusedcode.easy | 24 |
6 files changed, 22 insertions, 136 deletions
diff --git a/Makefile.in b/Makefile.in index 92ae836ff5c4..a7803caf3ae0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -377,6 +377,7 @@ findunusedcode: | grep -v ^CIcc \ | grep -v ^CLuceneError:: \ | grep -v ^cppu:: \ + | grep -v ^CppUnit:: \ | grep -v ^Dde \ | grep -v ^graphite2:: \ | grep -v ^jvmaccess:: \ diff --git a/autodoc/Executable_autodoc.mk b/autodoc/Executable_autodoc.mk index 8f7ff192946e..49217677445e 100644 --- a/autodoc/Executable_autodoc.mk +++ b/autodoc/Executable_autodoc.mk @@ -31,7 +31,6 @@ $(eval $(call gb_Executable_add_exception_objects,autodoc,\ autodoc/source/exes/adc_uni/main \ autodoc/source/exes/adc_uni/adc_msg \ autodoc/source/exes/adc_uni/cmd_run \ - autodoc/source/parser/tokens/tkp \ autodoc/source/parser/tokens/tokdeal \ autodoc/source/parser/tokens/stmstate \ autodoc/source/parser/tokens/tkpcontx \ diff --git a/autodoc/source/parser/inc/tokens/tkp.hxx b/autodoc/source/parser/inc/tokens/tkp.hxx deleted file mode 100644 index bd78cd204964..000000000000 --- a/autodoc/source/parser/inc/tokens/tkp.hxx +++ /dev/null @@ -1,78 +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 ADC_TKP_HXX -#define ADC_TKP_HXX - -// USED SERVICES - // BASE CLASSES - // COMPONENTS -class CharacterSource; -class TkpContext; - // PARAMETRS - - - -/** This is the interface for parser classes, which get a sequence of tokens from - a text. - - Start() starts to parse the text from the given i_rSource. - - The algorithms for parsing tokens from the text are an issue of - the derived classes. -*/ - -class TokenParser -{ - public: - // LIFECYCLE - TokenParser(); - virtual ~TokenParser() {} - - // OPERATIONS - /** Start parsing a character source. Any previously parsed sources - are discarded. - */ - virtual void Start( - CharacterSource & - i_rSource ); - - /// @return true, if there are more tokens to parse. - bool HasMore() const { return bHasMore; } - - private: - void InitSource( - CharacterSource & - i_rSource ); - - virtual void SetStartContext() = 0; - virtual void SetCurrentContext( - TkpContext & io_rContext ) = 0; - virtual TkpContext & - CurrentContext() = 0; - // DATA - CharacterSource * pChars; - bool bHasMore; -}; - - -#endif - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/autodoc/source/parser/tokens/tkp.cxx b/autodoc/source/parser/tokens/tkp.cxx deleted file mode 100644 index 217827bc1e3b..000000000000 --- a/autodoc/source/parser/tokens/tkp.cxx +++ /dev/null @@ -1,50 +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 <precomp.h> -#include <tokens/tkp.hxx> - -// NOT FULLY DECLARED SERVICES -#include <tools/tkpchars.hxx> -#include <tokens/tkpcontx.hxx> - - - -TokenParser::TokenParser() - : pChars(0), - bHasMore(false) -{ -} - -void -TokenParser::Start( CharacterSource & i_rSource ) -{ - InitSource(i_rSource); -} - -void -TokenParser::InitSource( CharacterSource & i_rSource ) -{ - pChars = &i_rSource; - bHasMore = true; - SetStartContext(); -} - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/solenv/bin/callcatcher.Makefile b/solenv/bin/callcatcher.Makefile index 2375b039a3ff..9ea7ea5e668e 100644 --- a/solenv/bin/callcatcher.Makefile +++ b/solenv/bin/callcatcher.Makefile @@ -26,6 +26,8 @@ findunusedcode: $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.gbuild ooinstall -l $(DEVINSTALLDIR)/opt $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.gbuild subsequentcheck - callanalyse $(WORKDIR)/LinkTarget/*/* > unusedcode.all + callanalyse $(WORKDIR)/LinkTarget/*/* $(WORKDIR)/LinkTarget/*/*/* \ + $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit.so* \ + > unusedcode.all # vim: set noet sw=4 ts=4: diff --git a/unusedcode.easy b/unusedcode.easy index 73ee6b513a05..858a69247164 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,11 +1,18 @@ -ScFiltersTest::testColorScaleODS() -ScFiltersTest::testColorScaleXLSX() +Application::PostZoomEvent(unsigned long, Window*, ZoomEvent*) +EditTextObjectImpl::RemoveParaAttribs(unsigned short) +EditTextObjectImpl::SetParaAttribs(unsigned long, SfxItemSet const&) +FontSelectPatternAttributes::FontSelectPatternAttributes(PhysicalFontFace const&, Size const&, float, int, bool) +LanguageTag::reset(_rtl_Locale const&) +PoEntry::setFuzzy(bool) +PoEntry::setMsgStr(rtl::OString const&) +PoHeader::PoHeader(std::basic_ifstream<char, std::char_traits<char> >&) +ScConditionalFormat::dumpInfo(rtl::OUStringBuffer&) const +ScDocument::GetEditText(ScAddress const&) const ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) -StyleSettings::GetPersonaFooter() const -TemplateAbstractView::deselectOverlayItem(unsigned short) -Test::test1Table1Page() TextEngine::GetLeftMargin() const +ThumbnailView::deselectItem(unsigned short) +XclExpPivotCache::GetFieldAcc(rtl::OUString const&) apitest::XCellRangesQuery::testQueryFormulaCells() apitest::XDataPilotDescriptor::testGetHiddenFields() apitest::XDataPilotFieldGrouping::testCreateDateGroup() @@ -25,6 +32,7 @@ apitest::XPropertySet::testRemovePropertyChangeListener() apitest::XPropertySet::testRemoveVetoableChangeListener() apitest::XSheetOutline::testAutoOutline() apitest::XSpreadsheetDocument::testGetSheets() +apitest::XText::testInsertRemoveTextContent() canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const @@ -32,8 +40,12 @@ comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::share connectivity::file::OStatement_Base::reset() connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char) connectivity::sdbcx::OGroup::OGroup(unsigned char) +framework::MenuManager::getContext() jfw_plugin::VendorBase::createInstance() -oox::drawingml::TextListStyle::dump() const # Only used in debug mode +oox::drawingml::TextListStyle::dump() const +oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&) +sc_apitest::main() +sd::BluetoothServer::addCommunicator(sd::Communicator*) sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) |