summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-07 22:57:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-07 22:58:16 +0200
commit8f2209b1ebcb053c9f6fa8cb2c39041bec08f9f8 (patch)
tree2bb15aa20140b061c93b8635c309a57cf2abcfdb /sd
parentb7fff04ad728369a09a5e1a5cfbe494cf388317b (diff)
loplugin:unreffun
Change-Id: Id6370750cb42fdfb7b5b920e1a84317d0a2a4acb
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 0a4665c97611..5a364c41f924 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -28,7 +28,9 @@
using namespace css;
+#if !defined(WNT) && !defined(MACOSX)
static const char* DATA_DIRECTORY = "/sd/qa/unit/tiledrendering/data/";
+#endif
class SdTiledRenderingTest : public test::BootstrapFixture, public unotest::MacrosTest, public XmlTestTools
{
@@ -36,9 +38,11 @@ public:
virtual void setUp() SAL_OVERRIDE;
virtual void tearDown() SAL_OVERRIDE;
+#if !defined(WNT) && !defined(MACOSX)
void testRegisterCallback();
void testPostMouseEvent();
void testSetTextSelection();
+#endif
CPPUNIT_TEST_SUITE(SdTiledRenderingTest);
#if !defined(WNT) && !defined(MACOSX)
@@ -49,12 +53,16 @@ public:
CPPUNIT_TEST_SUITE_END();
private:
+#if !defined(WNT) && !defined(MACOSX)
SdXImpressDocument* createDoc(const char* pName);
static void callback(int nType, const char* pPayload, void* pData);
void callbackImpl(int nType, const char* pPayload);
+#endif
uno::Reference<lang::XComponent> mxComponent;
+#if !defined(WNT) && !defined(MACOSX)
Rectangle m_aInvalidation;
+#endif
};
void SdTiledRenderingTest::setUp()
@@ -72,6 +80,7 @@ void SdTiledRenderingTest::tearDown()
test::BootstrapFixture::tearDown();
}
+#if !defined(WNT) && !defined(MACOSX)
SdXImpressDocument* SdTiledRenderingTest::createDoc(const char* pName)
{
if (mxComponent.is())
@@ -182,6 +191,7 @@ void SdTiledRenderingTest::testSetTextSelection()
// The new selection must include the ending dot, too -- but not the first word.
CPPUNIT_ASSERT_EQUAL(OUString("bbb."), rEditView.GetSelected());
}
+#endif
CPPUNIT_TEST_SUITE_REGISTRATION(SdTiledRenderingTest);