diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-10-19 22:00:59 +0900 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-10-22 11:01:05 +0000 |
commit | d19f950dc49ee4b635bfecfd1ff8f1b1b5f4358a (patch) | |
tree | 79d6cf692e95357b75ca436ea00aa8072d862134 /writerperfect/source/writer/DocumentHandlerForOdt.hxx | |
parent | 4b89bd55b094ff5ed0162e2f34cd560fbf47e524 (diff) |
fdo#84168 change writerperfect filters to use a new base class template
in writerperfect/source/writer.
Change-Id: I8840f13b44aa1060dab9383583bdb1db4db70aaa
Reviewed-on: https://gerrit.libreoffice.org/12038
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'writerperfect/source/writer/DocumentHandlerForOdt.hxx')
-rw-r--r-- | writerperfect/source/writer/DocumentHandlerForOdt.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/writerperfect/source/writer/DocumentHandlerForOdt.hxx b/writerperfect/source/writer/DocumentHandlerForOdt.hxx new file mode 100644 index 000000000000..baf14625a289 --- /dev/null +++ b/writerperfect/source/writer/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_SOURCE_WRITER_DOCUMENTHANDLERFORODT_HXX +#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_DOCUMENTHANDLERFORODT_HXX + +#include <libodfgen/libodfgen.hxx> + +#include "writerperfect/DocumentHandlerFor.hxx" + +namespace writerperfect +{ + +template<> +struct DocumentHandlerFor<OdtGenerator> +{ + static const rtl::OUString name() + { + return rtl::OUString("com.sun.star.comp.Writer.XMLOasisImporter"); + } +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |