summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-17 14:09:06 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-17 14:10:45 +0200
commit46eb0952f1e2d75b427bdcd553c33027f1e44e8f (patch)
treec9e2f237a1c6887b181364210f86f91cc99b7f03 /svtools
parent8b50d6b176e53c11762bbcdd767060550acd1bc1 (diff)
WaE: Unreferenced function definition [loplugin:unreffun]
Change-Id: I55d6d1d403622e5ec04c29dd407274cf9db20c40
Diffstat (limited to 'svtools')
-rw-r--r--svtools/qa/unit/GraphicObjectTest.cxx10
1 files changed, 10 insertions, 0 deletions
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<sal_IntPtr>(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