From c9518656afab37cf4c0389946c7a97478132bd81 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 17 Nov 2014 13:43:56 +0100 Subject: loplugin:unreffun Change-Id: Ifc7377fe1bb68b21e462818248706f53347b39b1 --- svtools/qa/unit/GraphicObjectTest.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'svtools/qa') diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx index 4f99b523b623..5216e70ae78d 100644 --- a/svtools/qa/unit/GraphicObjectTest.cxx +++ b/svtools/qa/unit/GraphicObjectTest.cxx @@ -52,7 +52,9 @@ public: } private: +#if 0 DECL_LINK(getLinkStream, GraphicObject*); +#endif private: CPPUNIT_TEST_SUITE(GraphicObjectTest); @@ -71,15 +73,11 @@ const Graphic lcl_loadGraphic(const rtl::OUString &rUrl) return Graphic(aImage.GetBitmapEx()); } -#endif - IMPL_LINK(GraphicObjectTest, getLinkStream, GraphicObject*, /*pGraphObj*/) { return reinterpret_cast(GRFMGR_AUTOSWAPSTREAM_LINK); } -#if 0 - void GraphicObjectTest::testSwap() { // simple non-linked case -- cgit