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:
|
||||
#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
|
||||
|
Reference in New Issue
Block a user