Kaydet (Commit) afae9b56 authored tarafından Caolán McNamara's avatar Caolán McNamara

update unusedcode target and list

Change-Id: I53344d6a17570c044ad6e24cc148e07fe6f99ae8
üst d431a132
......@@ -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:: \
......
......@@ -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 \
......
/* -*- 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: */
/* -*- 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: */
......@@ -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:
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*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment