diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-21 12:02:46 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-23 19:46:46 +0100 |
commit | 95780ec73990f96dc16fc677c895d00fa1360008 (patch) | |
tree | 875b727854a9d3c4dd0d2958ba490627ca53b78a /test/inc/test/unoapi_test.hxx | |
parent | 3fcde5e3f9e0921effd9ffd6c26246647f108ce3 (diff) |
refactor concept for c++ based subsequenttests
Diffstat (limited to 'test/inc/test/unoapi_test.hxx')
-rw-r--r-- | test/inc/test/unoapi_test.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/inc/test/unoapi_test.hxx b/test/inc/test/unoapi_test.hxx index 54dcff854b41..b3e341a188d2 100644 --- a/test/inc/test/unoapi_test.hxx +++ b/test/inc/test/unoapi_test.hxx @@ -29,17 +29,10 @@ #include <sal/config.h> #include <test/bootstrapfixture.hxx> #include <unotest/macros_test.hxx> +#include <com/sun/star/lang/XComponent.hpp> #include <rtl/ustrbuf.hxx> #include <osl/file.hxx> -#define ODS_FORMAT_TYPE 50331943 -#define XLS_FORMAT_TYPE 318767171 -#define XLSX_FORMAT_TYPE 268959811 - -#define ODS 0 -#define XLS 1 -#define XLSX 2 - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -55,6 +48,9 @@ public: virtual void setUp(); virtual void tearDown(); +protected: + void closeDocument( uno::Reference< lang::XComponent > xDocument ); + private: uno::Reference<uno::XInterface> m_xCalcComponent; |