[Libreoffice-commits] core.git: svtools/qa
Stephan Bergmann
sbergman at redhat.com
Mon Nov 17 04:44:26 PST 2014
svtools/qa/unit/GraphicObjectTest.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit c9518656afab37cf4c0389946c7a97478132bd81
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 17 13:43:56 2014 +0100
loplugin:unreffun
Change-Id: Ifc7377fe1bb68b21e462818248706f53347b39b1
diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx
index 4f99b52..5216e70 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<sal_IntPtr>(GRFMGR_AUTOSWAPSTREAM_LINK);
}
-#if 0
-
void GraphicObjectTest::testSwap()
{
// simple non-linked case
More information about the Libreoffice-commits
mailing list