summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-17 13:43:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-17 13:43:56 +0100
commitc9518656afab37cf4c0389946c7a97478132bd81 (patch)
tree3011cc0f75855fc8516fc357aff6a04eda55bced /svtools
parentf71aa1adc822d7886a060bf66d513478a029fa4b (diff)
loplugin:unreffun
Change-Id: Ifc7377fe1bb68b21e462818248706f53347b39b1
Diffstat (limited to 'svtools')
-rw-r--r--svtools/qa/unit/GraphicObjectTest.cxx6
1 files changed, 2 insertions, 4 deletions
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<sal_IntPtr>(GRFMGR_AUTOSWAPSTREAM_LINK);
}
-#if 0
-
void GraphicObjectTest::testSwap()
{
// simple non-linked case