diff options
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/helper/qahelper.hxx | 7 | ||||
-rw-r--r-- | sc/qa/unit/helper/scqahelperdllapi.h | 23 | ||||
-rw-r--r-- | sc/qa/unit/helper/xpath.hxx | 7 |
3 files changed, 25 insertions, 12 deletions
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index 3e8e5d455484..4cf5ddea1a40 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -20,6 +20,7 @@ #include <comphelper/fileformat.h> #include <formula/grammar.hxx> +#include "scqahelperdllapi.h" #include <string> #include <sstream> @@ -30,12 +31,6 @@ namespace utl { class TempFile; } -#if defined(SCQAHELPER_DLLIMPLEMENTATION) -#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT -#else -#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT -#endif - #define ODS_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::TEMPLATE | SfxFilterFlags::OWN | SfxFilterFlags::DEFAULT | SfxFilterFlags::ENCRYPTION | SfxFilterFlags::PASSWORDTOMODIFY) #define XLS_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::ENCRYPTION | SfxFilterFlags::PASSWORDTOMODIFY | SfxFilterFlags::PREFERED) #define XLSX_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::STARONEFILTER | SfxFilterFlags::PREFERED) diff --git a/sc/qa/unit/helper/scqahelperdllapi.h b/sc/qa/unit/helper/scqahelperdllapi.h new file mode 100644 index 000000000000..216ccc0146f1 --- /dev/null +++ b/sc/qa/unit/helper/scqahelperdllapi.h @@ -0,0 +1,23 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_SC_QA_UNIT_HELPER_DLLAPI_H +#define INCLUDED_SC_QA_UNIT_HELPER_DLLAPI_H + +#include <sal/types.h> + +#if defined(SCQAHELPER_DLLIMPLEMENTATION) +#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT +#else +#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT +#endif + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/xpath.hxx b/sc/qa/unit/helper/xpath.hxx index 39813bea85cd..16d0fec07f25 100644 --- a/sc/qa/unit/helper/xpath.hxx +++ b/sc/qa/unit/helper/xpath.hxx @@ -14,6 +14,7 @@ #include <rtl/ustring.hxx> #include <sal/types.h> +#include "scqahelperdllapi.h" #include <memory> @@ -23,12 +24,6 @@ namespace utl { class TempFile; } class ScDocShell; class SvStream; -#if defined(SCQAHELPER_DLLIMPLEMENTATION) -#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT -#else -#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT -#endif - using namespace com::sun::star; class ScBootstrapFixture; |