diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-20 12:37:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-20 12:37:32 +0000 |
commit | a60eb8b2e1779d6a3d8876aa60e08725b0eee18b (patch) | |
tree | ebc1e81715f6eac6a5551801748b646d6f409de7 /starmath | |
parent | 3f347fefc53a63c71a198232f1237684cb495ac9 (diff) |
make buildable under windows
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/qa/cppunit/test_nodetotextvisitors.cxx | 24 | ||||
-rw-r--r-- | starmath/qa/cppunit/test_starmath.cxx | 24 |
2 files changed, 30 insertions, 18 deletions
diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx index e5b9e9338e6b..fc5552a9d0f6 100644 --- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx +++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx @@ -29,7 +29,21 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_starmath.hxx" -#include "sal/config.h" +#ifdef WNT +# include <tools/prewin.h> +# include <windows.h> +# include <tools/postwin.h> +#endif + +#include "preextstl.h" +#include <cppunit/TestSuite.h> +#include <cppunit/TestFixture.h> +#include <cppunit/TestCase.h> +#include <cppunit/plugin/TestPlugIn.h> +#include <cppunit/extensions/HelperMacros.h> +#include "postextstl.h" + +#include <sal/config.h> #include <cppuhelper/bootstrap.hxx> #include <comphelper/processfactory.hxx> @@ -43,14 +57,6 @@ #include <visitors.hxx> #include <cursor.hxx> -#include "preextstl.h" -#include <cppunit/TestSuite.h> -#include <cppunit/TestFixture.h> -#include <cppunit/TestCase.h> -#include <cppunit/plugin/TestPlugIn.h> -#include <cppunit/extensions/HelperMacros.h> -#include "postextstl.h" - namespace CppUnit { template<> struct assertion_traits<String> diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx index f5a5ae38f5af..e1e5bf41b5b9 100644 --- a/starmath/qa/cppunit/test_starmath.cxx +++ b/starmath/qa/cppunit/test_starmath.cxx @@ -3,7 +3,21 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_starmath.hxx" -#include "sal/config.h" +#ifdef WNT +# include <tools/prewin.h> +# include <windows.h> +# include <tools/postwin.h> +#endif + +#include "preextstl.h" +#include <cppunit/TestSuite.h> +#include <cppunit/TestFixture.h> +#include <cppunit/TestCase.h> +#include <cppunit/plugin/TestPlugIn.h> +#include <cppunit/extensions/HelperMacros.h> +#include "postextstl.h" + +#include <sal/config.h> #include <cppuhelper/bootstrap.hxx> #include <comphelper/processfactory.hxx> @@ -27,14 +41,6 @@ #include <svx/zoomitem.hxx> -#include "preextstl.h" -#include <cppunit/TestSuite.h> -#include <cppunit/TestFixture.h> -#include <cppunit/TestCase.h> -#include <cppunit/plugin/TestPlugIn.h> -#include <cppunit/extensions/HelperMacros.h> -#include "postextstl.h" - SO2_DECL_REF(SmDocShell) SO2_IMPL_REF(SmDocShell) |