summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2014-02-14 22:36:19 -0200
committerMarcos Souza <marcos.souza.org@gmail.com>2014-02-15 15:27:01 +0000
commitd024fe60dcb402e7ed8c8fa0ef623176f03c62c0 (patch)
treeddb5d82d39397c475de45127141c0864ac0c4cd7 /sd
parent9a5ce676ede4828db0acde5db79d91320575ec08 (diff)
fdo#63154 Remove unused solar.h reference in sd.
Change-Id: I3dca2ffe3f94bedfea954bd83e84c724fb564ec9 Reviewed-on: https://gerrit.libreoffice.org/8063 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/glob.hxx7
-rw-r--r--sd/inc/sdmod.hxx29
-rw-r--r--sd/source/filter/eppt/eppt.hxx5
-rw-r--r--sd/source/filter/eppt/epptdef.hxx2
-rw-r--r--sd/source/filter/ppt/propread.hxx8
-rw-r--r--sd/source/ui/app/sdresid.cxx9
-rw-r--r--sd/source/ui/inc/AnimationChildWindow.hxx2
-rw-r--r--sd/source/ui/inc/ViewClipboard.hxx2
-rw-r--r--sd/source/ui/inc/assclass.hxx1
-rw-r--r--sd/source/ui/sidebar/DocumentHelper.hxx1
10 files changed, 17 insertions, 49 deletions
diff --git a/sd/inc/glob.hxx b/sd/inc/glob.hxx
index 42617744e33e..7f19f42152a1 100644
--- a/sd/inc/glob.hxx
+++ b/sd/inc/glob.hxx
@@ -20,11 +20,8 @@
#ifndef INCLUDED_SD_INC_GLOB_HXX
#define INCLUDED_SD_INC_GLOB_HXX
-#include <tools/solar.h>
-
#include <rsc/rscsfx.hxx>
-
-//------------------------------------------------------------------
+#include <sal/types.h>
#define SD_IF_SDAPP SFX_INTERFACE_SD_START + 0
#define SD_IF_SDDRAWDOCSHELL SFX_INTERFACE_SD_START + 1
@@ -83,8 +80,6 @@ const sal_uInt32 SdUDInventor=sal_uInt32('S')*0x00000001+
#define SD_OPTION_MORPHING "Morph"
#define SD_OPTION_VECTORIZE "Vectorize"
-//------------------------------------------------------------------
-
#endif // _ INCLUDED_SD_INC_GLOB_HXX
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 4b37b4a3c87e..518f0864d90c 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -30,7 +30,7 @@
#include <com/sun/star/text/WritingMode.hpp>
#include <sfx2/module.hxx>
#include <vcl/vclevent.hxx>
-
+#include <sal/types.h>
#include <memory>
class SdOptions;
@@ -52,28 +52,23 @@ namespace com { namespace sun { namespace star { namespace frame {
class XFrame;
} } } }
-
-// ----------------------
-// - SdOptionStreamMode -
-// ----------------------
-
enum SdOptionStreamMode
{
SD_OPTION_LOAD = 0,
SD_OPTION_STORE = 1
};
-/*************************************************************************
-|*
-|* This subclass of <SfxModule> (which is a subclass of <SfxShell>) is
-|* linked to the DLL. One instance of this class exists while the DLL is
-|* loaded.
-|*
-|* SdModule is like to be compared with the <SfxApplication>-subclass.
-|*
-|* Remember: Don`t export this class! It uses DLL-internal symbols.
-|*
-\************************************************************************/
+/*
+
+ This subclass of <SfxModule> (which is a subclass of <SfxShell>) is
+ linked to the DLL. One instance of this class exists while the DLL is
+ loaded.
+
+ SdModule is like to be compared with the <SfxApplication>-subclass.
+
+ Remember: Don`t export this class! It uses DLL-internal symbols.
+
+*/
class SdModule : public SfxModule, public SfxListener
{
diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx
index 8f9054b66f92..d36957d766ea 100644
--- a/sd/source/filter/eppt/eppt.hxx
+++ b/sd/source/filter/eppt/eppt.hxx
@@ -22,7 +22,6 @@
#include <vector>
#include "escherex.hxx"
#include <sal/types.h>
-#include <tools/solar.h>
#include <sot/storage.hxx>
#include <vcl/graph.hxx>
#include <unotools/fontcvt.hxx>
@@ -31,8 +30,6 @@
#include "text.hxx"
-// ------------------------------------------------------------------------
-
#include <vcl/mapmod.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/frame/XModel.hpp>
@@ -156,8 +153,6 @@ public:
void WriteTextSpecInfo( SvStream* pStrm );
};
-// ------------------------------------------------------------------------
-
struct CellBorder;
class PPTWriter : public PPTWriterBase, public PPTExBulletProvider
{
diff --git a/sd/source/filter/eppt/epptdef.hxx b/sd/source/filter/eppt/epptdef.hxx
index 73cebe4df42c..fbe824cc65e6 100644
--- a/sd/source/filter/eppt/epptdef.hxx
+++ b/sd/source/filter/eppt/epptdef.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTDEF_HXX
#define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTDEF_HXX
-#include <tools/solar.h>
-
#define EPP_FLAG_CONTAINER 0x0F // If the version field of a record
// header takes on this value, the
// record header marks the start of
diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx
index 0325a8f9dcc3..c5f6512d00ed 100644
--- a/sd/source/filter/ppt/propread.hxx
+++ b/sd/source/filter/ppt/propread.hxx
@@ -24,7 +24,6 @@
#include <boost/ptr_container/ptr_vector.hpp>
#include <sal/types.h>
-#include <tools/solar.h>
#include <sot/storage.hxx>
#include <tools/stream.hxx>
@@ -96,8 +95,6 @@
#define VT_BYREF 0x4000
#define VT_TYPEMASK 0xFFF
-// ------------------------------------------------------------------------
-
typedef std::map<OUString,sal_uInt32> Dictionary;
struct PropEntry
@@ -129,8 +126,6 @@ class PropItem : public SvMemoryStream
using SvStream::Read;
};
-// ------------------------------------------------------------------------
-
class Section
{
sal_uInt16 mnTextEnc;
@@ -153,8 +148,6 @@ class Section
void Read( SvStorageStream* pStrm );
};
-// ------------------------------------------------------------------------
-
class PropRead
{
sal_Bool mbStatus;
@@ -178,7 +171,6 @@ class PropRead
void Read();
};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/app/sdresid.cxx b/sd/source/ui/app/sdresid.cxx
index 84cd125b7083..f8df3db71c59 100644
--- a/sd/source/ui/app/sdresid.cxx
+++ b/sd/source/ui/app/sdresid.cxx
@@ -20,14 +20,9 @@
#include "sdmod.hxx"
#include "sdresid.hxx"
+#include <sal/types.h>
-
-/*************************************************************************
-|*
-|* Ctor
-|*
-\************************************************************************/
-
+// Ctor
SdResId::SdResId(sal_uInt16 nId) :
ResId(nId, *SD_MOD()->GetResMgr())
{
diff --git a/sd/source/ui/inc/AnimationChildWindow.hxx b/sd/source/ui/inc/AnimationChildWindow.hxx
index 9951a4f78e92..0d215fdc1a2f 100644
--- a/sd/source/ui/inc/AnimationChildWindow.hxx
+++ b/sd/source/ui/inc/AnimationChildWindow.hxx
@@ -20,8 +20,8 @@
#ifndef INCLUDED_SD_SOURCE_UI_INC_ANIMATIONCHILDWINDOW_HXX
#define INCLUDED_SD_SOURCE_UI_INC_ANIMATIONCHILDWINDOW_HXX
-#include <tools/solar.h>
#include <sfx2/childwin.hxx>
+#include <sal/types.h>
class Window;
class SfxBindings;
diff --git a/sd/source/ui/inc/ViewClipboard.hxx b/sd/source/ui/inc/ViewClipboard.hxx
index 6c826099a013..90a69382b9e5 100644
--- a/sd/source/ui/inc/ViewClipboard.hxx
+++ b/sd/source/ui/inc/ViewClipboard.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SD_SOURCE_UI_INC_VIEWCLIPBOARD_HXX
#define INCLUDED_SD_SOURCE_UI_INC_VIEWCLIPBOARD_HXX
-#include <tools/solar.h>
+#include <sal/types.h>
class SdPage;
class SdTransferable;
diff --git a/sd/source/ui/inc/assclass.hxx b/sd/source/ui/inc/assclass.hxx
index 66b984e936d8..c8bd3092fcd0 100644
--- a/sd/source/ui/inc/assclass.hxx
+++ b/sd/source/ui/inc/assclass.hxx
@@ -23,7 +23,6 @@
#include <vector>
#include <boost/scoped_array.hpp>
-#include <tools/solar.h>
#include "sddllapi.h"
#define MAX_PAGES 10
diff --git a/sd/source/ui/sidebar/DocumentHelper.hxx b/sd/source/ui/sidebar/DocumentHelper.hxx
index 53c2b1048627..c243127595fd 100644
--- a/sd/source/ui/sidebar/DocumentHelper.hxx
+++ b/sd/source/ui/sidebar/DocumentHelper.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SD_SOURCE_UI_SIDEBAR_DOCUMENTHELPER_HXX
#define INCLUDED_SD_SOURCE_UI_SIDEBAR_DOCUMENTHELPER_HXX
-#include <tools/solar.h>
#include <rtl/ustring.hxx>
#include <boost/shared_ptr.hpp>
#include <vector>