[Libreoffice-commits] core.git: include/test test/source unusedcode.easy unusedcode.exclude

Juergen Funk juergen.funk_ml at cib.de
Sun Dec 20 08:20:53 PST 2015


 include/test/primitive2dxmldump.hxx |    3 ---
 test/source/primitive2dxmldump.cxx  |    9 ---------
 unusedcode.easy                     |    3 ---
 unusedcode.exclude                  |    1 +
 4 files changed, 1 insertion(+), 15 deletions(-)

New commits:
commit 5bd5cd1622608ded4a47c588e4f674a4c5b505be
Author: Juergen Funk <juergen.funk_ml at cib.de>
Date:   Thu Dec 17 21:43:27 2015 +0100

    unused code
    
       Primitive2dXmlDump::filterActionType(unsigned short, bool)
       Primitive2dXmlDump::filterAllActionTypes()
    
    used code
    
       OutputDevice::LogicToLogic(basegfx::B2DPolyPolygon const&, MapMode const&, MapMode const&)
    at
       http://opengrok.libreoffice.org/xref/core/vcl/source/gdi/pdfwriter_impl.cxx#1388
    
    tested under windows with enable-dbgutil
    
    Change-Id: Ife200e5851323dfcfe138f5c978d028513213295
    Reviewed-on: https://gerrit.libreoffice.org/20781
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/include/test/primitive2dxmldump.hxx b/include/test/primitive2dxmldump.hxx
index 176f6dd..b885234 100644
--- a/include/test/primitive2dxmldump.hxx
+++ b/include/test/primitive2dxmldump.hxx
@@ -29,9 +29,6 @@ public:
     Primitive2dXmlDump();
     virtual ~Primitive2dXmlDump();
 
-    void filterActionType(const sal_uInt16 nActionType, bool bShouldFilter);
-    void filterAllActionTypes();
-
     /** The actual result that will be used for testing.
 
         This function normally uses a SvMemoryStream for its operation; but
diff --git a/test/source/primitive2dxmldump.cxx b/test/source/primitive2dxmldump.cxx
index c00f6e2..4a99677 100644
--- a/test/source/primitive2dxmldump.cxx
+++ b/test/source/primitive2dxmldump.cxx
@@ -49,15 +49,6 @@ Primitive2dXmlDump::Primitive2dXmlDump() :
 Primitive2dXmlDump::~Primitive2dXmlDump()
 {}
 
-void Primitive2dXmlDump::filterActionType(const sal_uInt16 nActionType, bool bShouldFilter)
-{
-    maFilter[nActionType] = bShouldFilter;
-}
-
-void Primitive2dXmlDump::filterAllActionTypes()
-{
-    maFilter.assign(constMaxActionType, true);
-}
 
 xmlDocPtr Primitive2dXmlDump::dumpAndParse(
     const drawinglayer::primitive2d::Primitive2DContainer& rPrimitive2DSequence,
diff --git a/unusedcode.easy b/unusedcode.easy
index 082b4cf..38e742d 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -5,9 +5,6 @@ OpenGLContext::requestSingleBufferedRendering()
 OpenGLContext::requestVirtualDevice()
 OpenGLRender::CreateTextTexture(rtl::OUString const&, vcl::Font, long, com::sun::star::awt::Point, com::sun::star::awt::Size, long)
 OpenGLTexture::Draw()
-OutputDevice::LogicToLogic(basegfx::B2DPolyPolygon const&, MapMode const&, MapMode const&)
-Primitive2dXmlDump::filterActionType(unsigned short, bool)
-Primitive2dXmlDump::filterAllActionTypes()
 SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
 ScCellValue::set(ScRefCellValue const&)
 ScDocument::CreateFormatTable() const
diff --git a/unusedcode.exclude b/unusedcode.exclude
index 0862690..42f2776 100644
--- a/unusedcode.exclude
+++ b/unusedcode.exclude
@@ -28,4 +28,5 @@ comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<co
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
 FontCharMap::GetDefaultMap(bool)
+OutputDevice::LogicToLogic(basegfx::B2DPolyPolygon const&, MapMode const&, MapMode const&)
 


More information about the Libreoffice-commits mailing list