From 46eb0952f1e2d75b427bdcd553c33027f1e44e8f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 17 Nov 2014 14:09:06 +0200 Subject: WaE: Unreferenced function definition [loplugin:unreffun] Change-Id: I55d6d1d403622e5ec04c29dd407274cf9db20c40 --- svtools/qa/unit/GraphicObjectTest.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'svtools/qa') diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx index 34e26fd770a6..80cfadaa3cc7 100644 --- a/svtools/qa/unit/GraphicObjectTest.cxx +++ b/svtools/qa/unit/GraphicObjectTest.cxx @@ -38,7 +38,9 @@ class GraphicObjectTest: public test::BootstrapFixture, public unotest::MacrosTe { public: +#if 0 void testSwap(); +#endif void testSizeBasedAutoSwap(); @@ -61,17 +63,23 @@ private: static const char aGraphicFile[] = "/svtools/qa/unit/data/graphic.png"; static const sal_uLong nGraphicSizeBytes = 4800; +#if 0 + const Graphic lcl_loadGraphic(const rtl::OUString &rUrl) { const Image aImage(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 @@ -141,6 +149,8 @@ void GraphicObjectTest::testSwap() } } +#endif + void GraphicObjectTest::testSizeBasedAutoSwap() { // Set cache size to a very small value to check what happens -- cgit