WaE: Unreferenced function definition [loplugin:unreffun]
Change-Id: I55d6d1d403622e5ec04c29dd407274cf9db20c40
This commit is contained in:
@@ -38,7 +38,9 @@ class GraphicObjectTest: public test::BootstrapFixture, public unotest::MacrosTe
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
#if 0
|
||||||
void testSwap();
|
void testSwap();
|
||||||
|
#endif
|
||||||
void testSizeBasedAutoSwap();
|
void testSizeBasedAutoSwap();
|
||||||
|
|
||||||
|
|
||||||
@@ -61,17 +63,23 @@ private:
|
|||||||
static const char aGraphicFile[] = "/svtools/qa/unit/data/graphic.png";
|
static const char aGraphicFile[] = "/svtools/qa/unit/data/graphic.png";
|
||||||
static const sal_uLong nGraphicSizeBytes = 4800;
|
static const sal_uLong nGraphicSizeBytes = 4800;
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
|
||||||
const Graphic lcl_loadGraphic(const rtl::OUString &rUrl)
|
const Graphic lcl_loadGraphic(const rtl::OUString &rUrl)
|
||||||
{
|
{
|
||||||
const Image aImage(rUrl);
|
const Image aImage(rUrl);
|
||||||
return Graphic(aImage.GetBitmapEx());
|
return Graphic(aImage.GetBitmapEx());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
IMPL_LINK(GraphicObjectTest, getLinkStream, GraphicObject*, /*pGraphObj*/)
|
IMPL_LINK(GraphicObjectTest, getLinkStream, GraphicObject*, /*pGraphObj*/)
|
||||||
{
|
{
|
||||||
return reinterpret_cast<sal_IntPtr>(GRFMGR_AUTOSWAPSTREAM_LINK);
|
return reinterpret_cast<sal_IntPtr>(GRFMGR_AUTOSWAPSTREAM_LINK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
|
||||||
void GraphicObjectTest::testSwap()
|
void GraphicObjectTest::testSwap()
|
||||||
{
|
{
|
||||||
// simple non-linked case
|
// simple non-linked case
|
||||||
@@ -141,6 +149,8 @@ void GraphicObjectTest::testSwap()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void GraphicObjectTest::testSizeBasedAutoSwap()
|
void GraphicObjectTest::testSizeBasedAutoSwap()
|
||||||
{
|
{
|
||||||
// Set cache size to a very small value to check what happens
|
// Set cache size to a very small value to check what happens
|
||||||
|
Reference in New Issue
Block a user