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

Tor Lillqvist tml at collabora.com
Thu Mar 26 00:47:17 PDT 2015


 basic/qa/cppunit/test_vba.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c1fed2a9a198b75c618b3adb6db8ce50e5f50fff
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Mar 26 09:22:42 2015 +0200

    WaE: this method is empty and should be removed
    
    Change-Id: Ia5ec3890a4e57c460dab58fcd690530ebf836140

diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 936cce3..f7ddc6c 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -137,6 +137,9 @@ void VBATest::testMiscOLEStuff()
         CPPUNIT_ASSERT_MESSAGE("No return variable huh?", pReturn != NULL );
         CPPUNIT_ASSERT_MESSAGE("Result not as expected", pReturn->GetOUString() == "OK" );
     }
+#else
+    // Avoid "this method is empty and should be removed" warning
+    (void) 42;
 #endif
 }
 


More information about the Libreoffice-commits mailing list