summaryrefslogtreecommitdiff
path: root/ure/source/uretest
diff options
context:
space:
mode:
Diffstat (limited to 'ure/source/uretest')
-rw-r--r--ure/source/uretest/Makefile.pln11
-rw-r--r--ure/source/uretest/README4
-rw-r--r--ure/source/uretest/cppmain.cc10
3 files changed, 3 insertions, 22 deletions
diff --git a/ure/source/uretest/Makefile.pln b/ure/source/uretest/Makefile.pln
index 6f2832cc762c..2c5f62e0f8bb 100644
--- a/ure/source/uretest/Makefile.pln
+++ b/ure/source/uretest/Makefile.pln
@@ -21,12 +21,10 @@
# The following variables can be set, if necessary (see README):
#URE_HOME := /opt/openoffice.org/ure
-#GXX_INCLUDE_PATH := /usr/include/g++
#GCCS_COMPAT := LD_PRELOAD=/lib/libgcc_s.so.1
URE_HOME ?= /opt/openoffice.org/ure
-GXX_INCLUDE_PATH ?= /usr/include/g++
.DELETE_ON_ERROR:
@@ -90,8 +88,7 @@ out.pln/cppmain.o: cppmain.cc out.pln/cpputypes.cppumaker.flag \
g++ -c -o $@ -fpic -fvisibility=hidden -Wall -Wno-ctor-dtor-privacy \
-I $(SDK_HOME)/include/stl -I $(SDK_HOME)/include \
-I out.pln/include/cpputypes -I out.pln/include/types \
- -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX \
- -DUNX $<
+ -DCPPU_ENV=gcc3 -DLINUX -DUNX $<
out.pln/cpptest.uno.so: out.pln/cpptest.o | out.pln out.pln/lib/libuno_cppu.so \
@@ -104,8 +101,7 @@ out.pln/cpptest.o: cpptest.cc out.pln/cpputypes.cppumaker.flag \
g++ -c -o $@ -fpic -fvisibility=hidden -Wall -Wno-ctor-dtor-privacy \
-I $(SDK_HOME)/include/stl -I $(SDK_HOME)/include \
-I out.pln/include/cpputypes -I out.pln/include/types \
- -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX \
- -DUNX $<
+ -DCPPU_ENV=gcc3 -DLINUX -DUNX $<
out.pln/cppserver.uno.so: out.pln/cppserver.o | out.pln \
@@ -119,8 +115,7 @@ out.pln/cppserver.o: cppserver.cc out.pln/cpputypes.cppumaker.flag \
g++ -c -o $@ -fpic -fvisibility=hidden -Wall -Wno-ctor-dtor-privacy \
-I $(SDK_HOME)/include/stl -I $(SDK_HOME)/include \
-I out.pln/include/cpputypes -I out.pln/include/types \
- -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX \
- -DUNX $<
+ -DCPPU_ENV=gcc3 -DLINUX -DUNX $<
out.pln/cpputypes.cppumaker.flag: | out.pln
diff --git a/ure/source/uretest/README b/ure/source/uretest/README
index 291d2964d534..18b74c8a2520 100644
--- a/ure/source/uretest/README
+++ b/ure/source/uretest/README
@@ -54,10 +54,6 @@ requirements, see the SDK Installation Guide ($SDK_HOME/docs/install.html).
- URE_HOME (optional)
Overwrites the default URE location, that is, /opt/openoffice.org/ure.
-- GXX_INCLUDE_PATH (optional)
-Overwrites the default location of the GCC C++ headers (/usr/include/g++). This
-information is needed by the STLport included in the URE.
-
- GCCS_COMPAT (optional)
Fixes incompatibility issues between the GCC that was used to build the URE and
the GCC that Makefile.pln accesses. For more details, see the UDK README file.
diff --git a/ure/source/uretest/cppmain.cc b/ure/source/uretest/cppmain.cc
index 92aa1257ea4d..ab0c92d625cd 100644
--- a/ure/source/uretest/cppmain.cc
+++ b/ure/source/uretest/cppmain.cc
@@ -20,10 +20,8 @@
#include "sal/macros.h"
#include <cstddef>
-#include <functional>
#include <memory>
#include <new>
-#include <boost/unordered_map.hpp>
#include "com/sun/star/lang/XMain.hpp"
#include "com/sun/star/uno/Exception.hpp"
@@ -38,7 +36,6 @@
#include "cppuhelper/interfacecontainer.hxx"
#include "cppuhelper/unourl.hxx"
#include "cppuhelper/weak.hxx"
-#include "osl/mutex.hxx"
#include "osl/thread.h"
#include "rtl/malformeduriexception.hxx"
#include "rtl/string.h"
@@ -90,13 +87,6 @@ private:
try { // check for cppuhelper
std::auto_ptr< cppu::UnoUrl > dummy(new cppu::UnoUrl(rtl::OUString()));
} catch (rtl::MalformedUriException &) {}
- { // check for stlport
- osl::Mutex m;
- std::auto_ptr< cppu::OMultiTypeInterfaceContainerHelperVar<
- int, boost::hash< int >, std::equal_to< int > > > dummy(
- new cppu::OMultiTypeInterfaceContainerHelperVar<
- int, boost::hash< int >, std::equal_to< int > >(m));
- }
static char const * const services[] = {
"com.sun.star.beans.Introspection",
"com.sun.star.bridge.BridgeFactory",