From c40b84c458b99a4655b1cdb10dee68236121fcae Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 14 Feb 2017 10:12:48 +0100 Subject: move headers used by tests to inc/ Change-Id: Ice159ae9fcb7284143d9e4734b8cb34f5c6a2ec5 --- .../CppunitTest_writerperfect_wpftimport.mk | 1 - writerperfect/inc/DocumentHandlerForOdg.hxx | 31 ++++++++++++++++++++++ writerperfect/inc/DocumentHandlerForOdp.hxx | 31 ++++++++++++++++++++++ writerperfect/inc/DocumentHandlerForOds.hxx | 31 ++++++++++++++++++++++ writerperfect/inc/DocumentHandlerForOdt.hxx | 31 ++++++++++++++++++++++ .../source/calc/DocumentHandlerForOds.hxx | 31 ---------------------- .../source/draw/DocumentHandlerForOdg.hxx | 31 ---------------------- .../source/impress/DocumentHandlerForOdp.hxx | 31 ---------------------- .../source/writer/DocumentHandlerForOdt.hxx | 31 ---------------------- 9 files changed, 124 insertions(+), 125 deletions(-) create mode 100644 writerperfect/inc/DocumentHandlerForOdg.hxx create mode 100644 writerperfect/inc/DocumentHandlerForOdp.hxx create mode 100644 writerperfect/inc/DocumentHandlerForOds.hxx create mode 100644 writerperfect/inc/DocumentHandlerForOdt.hxx delete mode 100644 writerperfect/source/calc/DocumentHandlerForOds.hxx delete mode 100644 writerperfect/source/draw/DocumentHandlerForOdg.hxx delete mode 100644 writerperfect/source/impress/DocumentHandlerForOdp.hxx delete mode 100644 writerperfect/source/writer/DocumentHandlerForOdt.hxx (limited to 'writerperfect') diff --git a/writerperfect/CppunitTest_writerperfect_wpftimport.mk b/writerperfect/CppunitTest_writerperfect_wpftimport.mk index 529f9535b428..cb2c2c5b16cf 100644 --- a/writerperfect/CppunitTest_writerperfect_wpftimport.mk +++ b/writerperfect/CppunitTest_writerperfect_wpftimport.mk @@ -11,7 +11,6 @@ $(eval $(call gb_CppunitTest_CppunitTest,writerperfect_wpftimport)) $(eval $(call gb_CppunitTest_set_include,writerperfect_wpftimport,\ -I$(SRCDIR)/writerperfect/inc \ - -I$(SRCDIR)/writerperfect/source/writer \ $$(INCLUDE) \ )) diff --git a/writerperfect/inc/DocumentHandlerForOdg.hxx b/writerperfect/inc/DocumentHandlerForOdg.hxx new file mode 100644 index 000000000000..4f64066a42ed --- /dev/null +++ b/writerperfect/inc/DocumentHandlerForOdg.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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_WRITERPERFECT_INC_DOCUMENTHANDLERFORODG_HXX +#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODG_HXX + +#include + +#include "DocumentHandlerFor.hxx" + +namespace writerperfect +{ + +template<> +struct DocumentHandlerFor +{ + static const rtl::OUString name() + { + return rtl::OUString("com.sun.star.comp.Draw.XMLOasisImporter"); + } +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOdp.hxx b/writerperfect/inc/DocumentHandlerForOdp.hxx new file mode 100644 index 000000000000..83190470d2fe --- /dev/null +++ b/writerperfect/inc/DocumentHandlerForOdp.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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_WRITERPERFECT_INC_DOCUMENTHANDLERFORODP_HXX +#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODP_HXX + +#include + +#include "DocumentHandlerFor.hxx" + +namespace writerperfect +{ + +template<> +struct DocumentHandlerFor +{ + static const rtl::OUString name() + { + return rtl::OUString("com.sun.star.comp.Impress.XMLOasisImporter"); + } +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOds.hxx b/writerperfect/inc/DocumentHandlerForOds.hxx new file mode 100644 index 000000000000..e7762c40eb4d --- /dev/null +++ b/writerperfect/inc/DocumentHandlerForOds.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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_WRITERPERFECT_INC_DOCUMENTHANDLERFORODS_HXX +#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODS_HXX + +#include + +#include "DocumentHandlerFor.hxx" + +namespace writerperfect +{ + +template<> +struct DocumentHandlerFor +{ + static const rtl::OUString name() + { + return rtl::OUString("com.sun.star.comp.Calc.XMLOasisImporter"); + } +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/DocumentHandlerForOdt.hxx b/writerperfect/inc/DocumentHandlerForOdt.hxx new file mode 100644 index 000000000000..8607119a8c2b --- /dev/null +++ b/writerperfect/inc/DocumentHandlerForOdt.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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_WRITERPERFECT_INC_DOCUMENTHANDLERFORODT_HXX +#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODT_HXX + +#include + +#include "DocumentHandlerFor.hxx" + +namespace writerperfect +{ + +template<> +struct DocumentHandlerFor +{ + static const rtl::OUString name() + { + return rtl::OUString("com.sun.star.comp.Writer.XMLOasisImporter"); + } +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/source/calc/DocumentHandlerForOds.hxx b/writerperfect/source/calc/DocumentHandlerForOds.hxx deleted file mode 100644 index e10d4522ca04..000000000000 --- a/writerperfect/source/calc/DocumentHandlerForOds.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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_WRITERPERFECT_SOURCE_CALC_DOCUMENTHANDLERFORODS_HXX -#define INCLUDED_WRITERPERFECT_SOURCE_CALC_DOCUMENTHANDLERFORODS_HXX - -#include - -#include "DocumentHandlerFor.hxx" - -namespace writerperfect -{ - -template<> -struct DocumentHandlerFor -{ - static const rtl::OUString name() - { - return rtl::OUString("com.sun.star.comp.Calc.XMLOasisImporter"); - } -}; - -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/source/draw/DocumentHandlerForOdg.hxx b/writerperfect/source/draw/DocumentHandlerForOdg.hxx deleted file mode 100644 index 23cc66ffbafe..000000000000 --- a/writerperfect/source/draw/DocumentHandlerForOdg.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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_WRITERPERFECT_SOURCE_DRAW_DOCUMENTHANDLERFORODG_HXX -#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_DOCUMENTHANDLERFORODG_HXX - -#include - -#include "DocumentHandlerFor.hxx" - -namespace writerperfect -{ - -template<> -struct DocumentHandlerFor -{ - static const rtl::OUString name() - { - return rtl::OUString("com.sun.star.comp.Draw.XMLOasisImporter"); - } -}; - -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/source/impress/DocumentHandlerForOdp.hxx b/writerperfect/source/impress/DocumentHandlerForOdp.hxx deleted file mode 100644 index fe8ae8d20210..000000000000 --- a/writerperfect/source/impress/DocumentHandlerForOdp.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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_WRITERPERFECT_SOURCE_IMPRESS_DOCUMENTHANDLERFORODP_HXX -#define INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_DOCUMENTHANDLERFORODP_HXX - -#include - -#include "DocumentHandlerFor.hxx" - -namespace writerperfect -{ - -template<> -struct DocumentHandlerFor -{ - static const rtl::OUString name() - { - return rtl::OUString("com.sun.star.comp.Impress.XMLOasisImporter"); - } -}; - -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/source/writer/DocumentHandlerForOdt.hxx b/writerperfect/source/writer/DocumentHandlerForOdt.hxx deleted file mode 100644 index 791a8e80840a..000000000000 --- a/writerperfect/source/writer/DocumentHandlerForOdt.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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_WRITERPERFECT_SOURCE_WRITER_DOCUMENTHANDLERFORODT_HXX -#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_DOCUMENTHANDLERFORODT_HXX - -#include - -#include "DocumentHandlerFor.hxx" - -namespace writerperfect -{ - -template<> -struct DocumentHandlerFor -{ - static const rtl::OUString name() - { - return rtl::OUString("com.sun.star.comp.Writer.XMLOasisImporter"); - } -}; - -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit