[Libreoffice-commits] .: sw/qa

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 18 03:21:14 PST 2011


 sw/qa/core/swdoc-test.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 8f811f778d94aee19ceb294b3bc3561ce0c8f1e5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 18 11:20:58 2011 +0000

    no gui warnings please

diff --git a/sw/qa/core/swdoc-test.cxx b/sw/qa/core/swdoc-test.cxx
index 3dd3007..d082ca4 100644
--- a/sw/qa/core/swdoc-test.cxx
+++ b/sw/qa/core/swdoc-test.cxx
@@ -66,6 +66,11 @@ SO2_IMPL_REF(SwDocShell)
 
 using namespace ::com::sun::star;
 
+static USHORT aWndFunc(Window *, USHORT, const String &, const String &)
+{
+    return ERRCODE_BUTTON_OK;
+}
+
 /* Implementation of Swdoc-Test class */
 
 class SwDocTest : public CppUnit::TestFixture
@@ -185,6 +190,8 @@ SwDocTest::SwDocTest()
     InitVCL(xSM);
 
     SwDLL::Init();
+
+    ErrorHandler::RegisterDisplay(&aWndFunc);
 }
 
 void SwDocTest::setUp()


More information about the Libreoffice-commits mailing list