diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-08-23 17:57:59 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-08-23 23:45:19 +0300 |
commit | 9a6fb0f6229896c0fca1e904cb99b70d67c4647f (patch) | |
tree | a9eb72825a09dbb2c4bd244fd1c41ac85d0b2a00 /i18npool | |
parent | 3e3bd8a18feffaea74342eed762e2e3a9c1a315b (diff) |
Make it compile
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/Executable_i18npool_cppunittester_all.mk | 9 | ||||
-rw-r--r-- | i18npool/qa/cppunit/i18npool_cppunittester_all.cxx | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/i18npool/Executable_i18npool_cppunittester_all.mk b/i18npool/Executable_i18npool_cppunittester_all.mk index 3585d63f74ad..fe29267ff472 100644 --- a/i18npool/Executable_i18npool_cppunittester_all.mk +++ b/i18npool/Executable_i18npool_cppunittester_all.mk @@ -28,6 +28,10 @@ $(eval $(call gb_Executable_Executable,i18npool_cppunittester_all)) +$(eval $(call gb_Executable_add_defs,i18npool_cppunittester_all,\ + $(gb_OBJCXXFLAGS) \ +)) + $(eval $(call gb_Executable_add_precompiled_header,i18npool_cppunittester_all,$(SRCDIR)/i18npool/inc/pch/precompiled_i18npool)) $(eval $(call gb_Executable_set_include,i18npool_cppunittester_all,\ @@ -36,6 +40,11 @@ $(eval $(call gb_Executable_set_include,i18npool_cppunittester_all,\ -I$(realpath $(SRCDIR)/i18npool/inc/pch) \ )) +$(eval $(call gb_Executable_add_api,i18npool_cppunittester_all,\ + udkapi \ + offapi \ +)) + $(eval $(call gb_Executable_add_linked_libs,i18npool_cppunittester_all,\ cppu \ cppuhelper \ diff --git a/i18npool/qa/cppunit/i18npool_cppunittester_all.cxx b/i18npool/qa/cppunit/i18npool_cppunittester_all.cxx index 6fcead2a08b3..3a5d2827cf48 100644 --- a/i18npool/qa/cppunit/i18npool_cppunittester_all.cxx +++ b/i18npool/qa/cppunit/i18npool_cppunittester_all.cxx @@ -38,10 +38,12 @@ #include "osl/module.h" #include "osl/module.hxx" #include "osl/thread.h" +#include "rtl/bootstrap.hxx" #include "rtl/process.h" #include "rtl/string.h" #include "rtl/string.hxx" #include "rtl/textcvt.h" +#include "rtl/ustrbuf.hxx" #include "rtl/ustring.hxx" #include "sal/main.h" #include "sal/types.h" @@ -134,7 +136,8 @@ SAL_IMPLEMENT_MAIN() { .append(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("types.rdb"))) .append(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" "))) .append(sBrandLocation) - .append(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("udkapi.rdb"))); + .append(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("udkapi.rdb"))) + .toString(); osl_setEnvironment(sTypes.pData, sTypesValue.pData); TestPlugInSignature plugs[] = { |