summaryrefslogtreecommitdiff
path: root/starmath/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-20 14:44:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-20 14:44:56 +0000
commit3d91eca0d2ee9fec699ec678bed492c3bc30d9f1 (patch)
treea7dbd5fdbbef06970709f7982801c5aee5dfe7e7 /starmath/qa
parent0b9ad2ddff997ccf85c6d4d216a7f8b471057001 (diff)
cppcheck: always build these tests now
Diffstat (limited to 'starmath/qa')
-rw-r--r--starmath/qa/cppunit/makefile.mk7
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx1
2 files changed, 7 insertions, 1 deletions
diff --git a/starmath/qa/cppunit/makefile.mk b/starmath/qa/cppunit/makefile.mk
index 621ca7c84052..4e043e8557bd 100644
--- a/starmath/qa/cppunit/makefile.mk
+++ b/starmath/qa/cppunit/makefile.mk
@@ -115,7 +115,14 @@ $(MISC)/$(TARGET)/services.rdb .ERRREMOVE : $(MISC)/$(TARGET)/udkapi.rdb makefil
-c $(DLLPRE)tk$(DLLPOSTFIX)$(DLLPOST) \
-c $(DLLPRE)sfx$(DLLPOSTFIX)$(DLLPOST) \
-c $(DLLPRE)vcl$(DLLPOSTFIX)$(DLLPOST) \
+ -c $(DLLPRE)mcnttype$(DLLPOST) \
-c i18npool.uno$(DLLPOST)
+.IF "$(OS)" == "WNT"
+ $(REGCOMP) -register -br $(MISC)/$(TARGET)/udkapi.rdb -r $@ -wop \
+ -c $(DLLPRE)sysdtrans$(DLLPOST) \
+ -c $(DLLPRE)ftransl$(DLLPOST)
+.ENDIF
+
#Tweak things so that we use the .res files in the solver
STAR_RESOURCEPATH:=$(PWD)/$(BIN)$(PATH_SEPERATOR)$(SOLARBINDIR)
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index e1e5bf41b5b9..ef519755813a 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -135,7 +135,6 @@ void Test::tearDown()
Test::~Test()
{
- uno::Reference< lang::XComponent >(m_xContext, uno::UNO_QUERY_THROW)->dispose();
}
void Test::tmEditMarker()