summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-16 22:33:14 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-16 22:40:42 +0200
commit2976b53ff8c815f5f6a5deba1763fba153bd528f (patch)
tree178b9b8384f71f27c39922f3a30b432034375c49 /svtools/inc
parent7956ff62ee9a4b82f64d19d51cccddd73bc49d1e (diff)
Bin more pointless comments and ASCII graphics
Suggested Easy Hack: Replace all instances of // -------- comments including surrounding newlines with a single newline. Another Easy Hack, slightly harder to automate: Remove all the pointless comments that just tell the class name right before the declaration of that class. Change-Id: Ia890ed613b53c5d719988697e20a983d62334123
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/svtools/grfmgr.hxx32
-rw-r--r--svtools/inc/svtools/transfer.hxx41
2 files changed, 3 insertions, 70 deletions
diff --git a/svtools/inc/svtools/grfmgr.hxx b/svtools/inc/svtools/grfmgr.hxx
index eca0aeb7949b..1ae07ad03111 100644
--- a/svtools/inc/svtools/grfmgr.hxx
+++ b/svtools/inc/svtools/grfmgr.hxx
@@ -23,10 +23,6 @@
#include <vcl/graph.hxx>
#include <svtools/svtdllapi.h>
-// -----------
-// - Defines -
-// -----------
-
#define GRFMGR_DRAW_NOTCACHED 0x00000000UL
#define GRFMGR_DRAW_CACHED 0x00000001UL
#define GRFMGR_DRAW_SMOOTHSCALE 0x00000002UL
@@ -35,18 +31,14 @@
#define GRFMGR_DRAW_NO_SUBSTITUTE 0x00000010UL
#define GRFMGR_DRAW_STANDARD (GRFMGR_DRAW_CACHED|GRFMGR_DRAW_SMOOTHSCALE)
-// --------------------
-// - AutoSwap Defines -
-// --------------------
+// AutoSwap defines
#define GRFMGR_AUTOSWAPSTREAM_LINK ((SvStream*)0x00000000UL)
#define GRFMGR_AUTOSWAPSTREAM_LOADED ((SvStream*)0xfffffffdUL)
#define GRFMGR_AUTOSWAPSTREAM_TEMP ((SvStream*)0xfffffffeUL)
#define GRFMGR_AUTOSWAPSTREAM_NONE ((SvStream*)0xffffffffUL)
-// ----------------------
-// - Adjustment Defines -
-// ----------------------
+// Adjustment defines
#define ADJUSTMENT_NONE 0x00000000UL
#define ADJUSTMENT_DRAWMODE 0x00000001UL
@@ -56,10 +48,6 @@
#define ADJUSTMENT_TRANSPARENCY 0x00000010UL
#define ADJUSTMENT_ALL 0xFFFFFFFFUL
-// ---------
-// - Enums -
-// ---------
-
enum GraphicDrawMode
{
GRAPHICDRAWMODE_STANDARD = 0,
@@ -68,10 +56,6 @@ enum GraphicDrawMode
GRAPHICDRAWMODE_WATERMARK = 3
};
-// ------------
-// - Forwards -
-// ------------
-
class GraphicManager;
class SvStream;
class BitmapWriteAccess;
@@ -80,10 +64,6 @@ class VirtualDevice;
struct GrfSimpleCacheObj;
struct ImplTileInfo;
-// ---------------
-// - GraphicAttr -
-// ---------------
-
class SVT_DLLPUBLIC GraphicAttr
{
private:
@@ -174,10 +154,6 @@ public:
friend SvStream& operator>>( SvStream& rIStm, GraphicAttr& rAttr );
};
-// -----------------
-// - GraphicObject -
-// -----------------
-
class SVT_DLLPUBLIC GraphicObject : public SvDataCopyStream
{
friend class GraphicManager;
@@ -519,10 +495,6 @@ public:
static void InspectForGraphicObjectImageURL( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxIf, std::vector< rtl::OUString >& rvEmbedImgUrls );
};
-// ------------------
-// - GraphicManager -
-// ------------------
-
typedef ::std::vector< GraphicObject* > GraphicObjectList_impl;
class SVT_DLLPUBLIC GraphicManager
diff --git a/svtools/inc/svtools/transfer.hxx b/svtools/inc/svtools/transfer.hxx
index d7f2a350cbee..342b29c51b0f 100644
--- a/svtools/inc/svtools/transfer.hxx
+++ b/svtools/inc/svtools/transfer.hxx
@@ -40,10 +40,6 @@
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/io/XInputStream.hpp>
-// ------------------------
-// - Forward declarations -
-// ------------------------
-
class Bitmap;
class GDIMetaFile;
class Graphic;
@@ -55,9 +51,7 @@ class FileList;
class Window;
class Link;
-// ---------------------
-// - Drag&Drop defines -
-// ---------------------
+// Drag&Drop defines
#define DND_ACTION_NONE ::com::sun::star::datatransfer::dnd::DNDConstants::ACTION_NONE
#define DND_ACTION_COPY ::com::sun::star::datatransfer::dnd::DNDConstants::ACTION_COPY
@@ -68,10 +62,6 @@ class Link;
#define DND_POINTER_NONE 0
#define DND_IMAGE_NONE 0
-// --------------------------------
-// - TransferableObjectDescriptor -
-// --------------------------------
-
struct TransferableObjectDescriptor
{
SvGlobalName maClassName;
@@ -93,10 +83,6 @@ struct TransferableObjectDescriptor
SVT_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStm, const TransferableObjectDescriptor& rObjDesc );
};
-// -------------------
-// - AcceptDragEvent -
-// -------------------
-
struct AcceptDropEvent
{
sal_Int8 mnAction;
@@ -121,10 +107,6 @@ struct AcceptDropEvent
mbDefault( sal_False ) {}
};
-// --------------------
-// - ExecuteDropEvent -
-// --------------------
-
struct ExecuteDropEvent
{
sal_Int8 mnAction;
@@ -145,10 +127,6 @@ struct ExecuteDropEvent
mbDefault( sal_False ) {}
};
-// ----------------------
-// - TransferableHelper -
-// ----------------------
-
class SVT_DLLPUBLIC TransferableHelper : public ::cppu::WeakImplHelper4< ::com::sun::star::datatransfer::XTransferable,
::com::sun::star::datatransfer::clipboard::XClipboardOwner,
::com::sun::star::datatransfer::dnd::XDragSourceListener,
@@ -285,10 +263,6 @@ public:
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException );
};
-// --------------------------
-// - TransferableDataHelper -
-// --------------------------
-
struct TransferableDataHelper_Impl;
class SVT_DLLPUBLIC TransferableDataHelper
@@ -391,10 +365,6 @@ public:
sal_Bool bCompareParameters = sal_False );
};
-// --------------------
-// - DragSourceHelper -
-// --------------------
-
class SVT_DLLPUBLIC DragSourceHelper
{
private:
@@ -441,10 +411,6 @@ public:
virtual ~DragSourceHelper();
};
-// --------------------
-// - DropTargetHelper -
-// --------------------
-
class SVT_DLLPUBLIC DropTargetHelper
{
private:
@@ -513,11 +479,6 @@ public:
};
-
-//------------------------
-// TransferDataContainer
-//------------------------
-
struct TransferDataContainer_Impl;
class SVT_DLLPUBLIC TransferDataContainer : public TransferableHelper