diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-21 12:41:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-21 13:00:07 +0100 |
commit | 1a41e84d0ae2a3763f0571e5fa0d03f19cb7f22b (patch) | |
tree | b1e53d52678c6ed2a4006d009e355947cb0ae233 /sd | |
parent | 3abd7eeb94accd0bfc23399483001823edaaa3bd (diff) |
Move HtmlPublishMode into a header of its own
Change-Id: I522619eb4304cbe2d2d862f01dcf8384ac4eb0cc
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/html/htmlex.cxx | 1 | ||||
-rw-r--r-- | sd/source/filter/html/htmlex.hxx | 2 | ||||
-rw-r--r-- | sd/source/filter/html/htmlpublishmode.hxx | 28 | ||||
-rw-r--r-- | sd/source/filter/html/pubdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/pubdlg.hxx | 2 |
5 files changed, 32 insertions, 3 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx index c05ed5d2d79c..de8bb286db81 100644 --- a/sd/source/filter/html/htmlex.cxx +++ b/sd/source/filter/html/htmlex.cxx @@ -71,6 +71,7 @@ #include "cppuhelper/exc_hlp.hxx" #include "drawdoc.hxx" +#include "htmlpublishmode.hxx" #include "Outliner.hxx" #include "sdpage.hxx" #include "sdattr.hxx" diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx index 8d4a57877347..349a10d22696 100644 --- a/sd/source/filter/html/htmlex.hxx +++ b/sd/source/filter/html/htmlex.hxx @@ -35,7 +35,7 @@ #include "assclass.hxx" #include "sdresid.hxx" -#include "pubdlg.hxx" +#include "htmlpublishmode.hxx" #include <vector> #include <boost/scoped_ptr.hpp> diff --git a/sd/source/filter/html/htmlpublishmode.hxx b/sd/source/filter/html/htmlpublishmode.hxx new file mode 100644 index 000000000000..a7871dbae55d --- /dev/null +++ b/sd/source/filter/html/htmlpublishmode.hxx @@ -0,0 +1,28 @@ +/* -*- 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SD_SOURCE_FILTER_HTML_HTMLPUBLISHMODE_HXX +#define INCLUDED_SD_SOURCE_FILTER_HTML_HTMLPUBLISHMODE_HXX + +enum HtmlPublishMode { + PUBLISH_HTML, PUBLISH_FRAMES, PUBLISH_WEBCAST, PUBLISH_KIOSK }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 8376232d3f7c..0d4298866867 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -50,8 +50,10 @@ #include "sdresid.hxx" #include "sdattr.hxx" #include "pubdlg.hrc" +#include "pubdlg.hxx" #include "htmlattr.hxx" #include "htmlex.hxx" +#include "htmlpublishmode.hxx" #include "helpids.h" #include "buttonset.hxx" diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx index 2fb89bc64fd7..e4b21fe9ed83 100644 --- a/sd/source/ui/inc/pubdlg.hxx +++ b/sd/source/ui/inc/pubdlg.hxx @@ -33,8 +33,6 @@ #include <boost/scoped_ptr.hpp> #include <boost/ptr_container/ptr_vector.hpp> -enum HtmlPublishMode { PUBLISH_HTML, PUBLISH_FRAMES, PUBLISH_WEBCAST, PUBLISH_KIOSK }; - class FixedText; class RadioButton; class ListBox; |