summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/optsitem.hxx
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 /sd/source/ui/inc/optsitem.hxx
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 'sd/source/ui/inc/optsitem.hxx')
-rw-r--r--sd/source/ui/inc/optsitem.hxx62
1 files changed, 1 insertions, 61 deletions
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index bd56aba73b20..5473ead9e8ea 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -28,9 +28,7 @@
#include <svx/dlgutil.hxx>
#include "sddllapi.h"
-// -----------------
-// - Option ranges -
-// -----------------
+// Option ranges
#define SD_OPTIONS_NONE 0x00000000
#define SD_OPTIONS_ALL 0xffffffff
@@ -43,20 +41,12 @@
#define SD_OPTIONS_GRID 0x00000020
#define SD_OPTIONS_PRINT 0x00000040
-// ------------
-// - Forwards -
-// ------------
-
class SdOptions;
namespace sd {
class FrameView;
}
-// -----------------
-// - SdOptionsItem -
-// -----------------
-
class SdOptionsGeneric;
class SD_DLLPUBLIC SdOptionsItem : public ::utl::ConfigItem
@@ -82,10 +72,6 @@ public:
void SetModified();
};
-// --------------------
-// - SdOptionsGeneric -
-// --------------------
-
class SD_DLLPUBLIC SdOptionsGeneric
{
friend class SdOptionsItem;
@@ -128,10 +114,6 @@ public:
static bool isMetricSystem();
};
-// -------------------
-// - SdOptionsLayout -
-// -------------------
-
class SD_DLLPUBLIC SdOptionsLayout : public SdOptionsGeneric
{
private:
@@ -173,8 +155,6 @@ public:
void SetDefTab( sal_uInt16 nTab ) { if( nDefTab != nTab ) { OptionsChanged(); nDefTab = nTab; } }
};
-// -----------------------------------------------------------------------------
-
class SD_DLLPUBLIC SdOptionsLayoutItem : public SfxPoolItem
{
public:
@@ -192,10 +172,6 @@ private:
SdOptionsLayout maOptionsLayout;
};
-// ---------------------
-// - SdOptionsContents -
-// ---------------------
-
class SD_DLLPUBLIC SdOptionsContents : public SdOptionsGeneric
{
private:
@@ -213,8 +189,6 @@ public:
sal_Bool operator==( const SdOptionsContents& rOpt ) const;
};
-// -----------------------------------------------------------------------------
-
class SD_DLLPUBLIC SdOptionsContentsItem : public SfxPoolItem
{
public:
@@ -231,10 +205,6 @@ private:
SdOptionsContents maOptionsContents;
};
-// -----------------
-// - SdOptionsMisc -
-// -----------------
-
class SD_DLLPUBLIC SdOptionsMisc : public SdOptionsGeneric
{
private:
@@ -364,8 +334,6 @@ public:
void SetShowComments( sal_Bool bShow ) { if( bShowComments != bShow ) { OptionsChanged(); bShowComments = bShow; } }
};
-// -----------------------------------------------------------------------------
-
class SD_DLLPUBLIC SdOptionsMiscItem : public SfxPoolItem
{
public:
@@ -384,10 +352,6 @@ private:
SdOptionsMisc maOptionsMisc;
};
-// -----------------
-// - SdOptionsSnap -
-// -----------------
-
class SD_DLLPUBLIC SdOptionsSnap : public SdOptionsGeneric
{
private:
@@ -439,8 +403,6 @@ public:
void SetEliminatePolyPointLimitAngle( sal_Int16 nIn ) { if( nBezAngle != nIn ) { OptionsChanged(); nBezAngle = nIn; } }
};
-// -----------------------------------------------------------------------------
-
class SD_DLLPUBLIC SdOptionsSnapItem : public SfxPoolItem
{
public:
@@ -458,10 +420,6 @@ private:
SdOptionsSnap maOptionsSnap;
};
-// -----------------
-// - SdOptionsZoom -
-// -----------------
-
class SdOptionsZoom : public SdOptionsGeneric
{
private:
@@ -486,12 +444,6 @@ public:
void SetScale( sal_Int32 nInX, sal_Int32 nInY ) { if( nX != nInX || nY != nInY ) { OptionsChanged(); nX = nInX; nY = nInY; } }
};
-// -----------------------------------------------------------------------------
-
-// -----------------
-// - SdOptionsGrid -
-// -----------------
-
class SdOptionsGrid : public SdOptionsGeneric, public SvxOptionsGrid
{
protected:
@@ -531,8 +483,6 @@ public:
void SetEqualGrid( sal_Bool bSet ) { if( bSet != SvxOptionsGrid::GetEqualGrid() ) { OptionsChanged(); SvxOptionsGrid::SetEqualGrid( bSet ); } }
};
-// -----------------------------------------------
-
class SdOptionsGridItem : public SvxGridItem
{
@@ -542,10 +492,6 @@ public:
void SetOptions( SdOptions* pOpts ) const;
};
-// ------------------
-// - SdOptionsPrint -
-// ------------------
-
class SD_DLLPUBLIC SdOptionsPrint : public SdOptionsGeneric
{
private:
@@ -630,8 +576,6 @@ public:
void SetHandoutPages( sal_uInt16 nHandoutPages ) { if( nHandoutPages != mnHandoutPages ) { OptionsChanged(); mnHandoutPages = nHandoutPages; } }
};
-// -----------------------------------------------------------------------------
-
class SD_DLLPUBLIC SdOptionsPrintItem : public SfxPoolItem
{
public:
@@ -650,10 +594,6 @@ private:
SdOptionsPrint maOptionsPrint;
};
-// -------------
-// - SdOptions -
-// -------------
-
class SdOptions : public SdOptionsLayout, public SdOptionsContents,
public SdOptionsMisc, public SdOptionsSnap,
public SdOptionsZoom, public SdOptionsGrid,