[Libreoffice-commits] core.git: sc/qa

Tor Lillqvist tml at collabora.com
Fri Mar 11 07:53:39 UTC 2016


 sc/qa/unit/tiledrendering/tiledrendering.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 32e70912a20dc066dd1575e71b18de432a56b135
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Mar 11 09:49:09 2016 +0200

    loplugin:unreffun
    
    Change-Id: If96188840ea0d230869a6af8c1aa366dca6a8275

diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index e5154d8..ecfd605 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -58,9 +58,11 @@ public:
 private:
 #if !defined(WNT) && !defined(MACOSX)
     ScModelObj* createDoc(const char* pName);
+#if 0
     static void callback(int nType, const char* pPayload, void* pData);
     void callbackImpl(int nType, const char* pPayload);
 #endif
+#endif
 
     uno::Reference<lang::XComponent> mxComponent;
 #if !defined(WNT) && !defined(MACOSX)
@@ -102,10 +104,12 @@ ScModelObj* ScTiledRenderingTest::createDoc(const char* pName)
     return pModelObj;
 }
 
+#if 0
 void ScTiledRenderingTest::callback(int nType, const char* pPayload, void* pData)
 {
     static_cast<ScTiledRenderingTest*>(pData)->callbackImpl(nType, pPayload);
 }
+#endif
 
 /* TODO when needed...
 static std::vector<OUString> lcl_convertSeparated(const OUString& rString, sal_Unicode nSeparator)
@@ -136,6 +140,7 @@ static void lcl_convertRectangle(const OUString& rString, Rectangle& rRectangle)
 }
 */
 
+#if 0
 void ScTiledRenderingTest::callbackImpl(int /*nType*/, const char* /*pPayload*/)
 {
     // TODO when needed...
@@ -143,6 +148,7 @@ void ScTiledRenderingTest::callbackImpl(int /*nType*/, const char* /*pPayload*/)
     //{
     //}
 }
+#endif
 
 void ScTiledRenderingTest::testSortAscendingDescending()
 {


More information about the Libreoffice-commits mailing list