loplugin:unreffun

Change-Id: Ifc7377fe1bb68b21e462818248706f53347b39b1
This commit is contained in:
Stephan Bergmann
2014-11-17 13:43:56 +01:00
parent f71aa1adc8
commit c9518656af

View File

@@ -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<sal_IntPtr>(GRFMGR_AUTOSWAPSTREAM_LINK);
}
#if 0
void GraphicObjectTest::testSwap()
{
// simple non-linked case