diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-16 22:33:14 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-16 22:40:42 +0200 |
commit | 2976b53ff8c815f5f6a5deba1763fba153bd528f (patch) | |
tree | 178b9b8384f71f27c39922f3a30b432034375c49 /svx/inc | |
parent | 7956ff62ee9a4b82f64d19d51cccddd73bc49d1e (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 'svx/inc')
-rw-r--r-- | svx/inc/gallery.hrc | 4 | ||||
-rw-r--r-- | svx/inc/galobj.hxx | 33 | ||||
-rw-r--r-- | svx/inc/svx/galbrws.hxx | 17 | ||||
-rw-r--r-- | svx/inc/svx/galctrl.hxx | 16 | ||||
-rw-r--r-- | svx/inc/svx/gallery.hxx | 8 | ||||
-rw-r--r-- | svx/inc/svx/galmisc.hxx | 39 | ||||
-rw-r--r-- | svx/inc/svx/svdograf.hxx | 16 | ||||
-rw-r--r-- | svx/inc/svx/xoutbmp.hxx | 12 |
8 files changed, 0 insertions, 145 deletions
diff --git a/svx/inc/gallery.hrc b/svx/inc/gallery.hrc index a7fea64688ec..2396db0dceae 100644 --- a/svx/inc/gallery.hrc +++ b/svx/inc/gallery.hrc @@ -23,10 +23,6 @@ #include <svx/dialogs.hrc> #include "galtheme.hrc" -// ----------- -// - Defines - -// ----------- - // Dialoge #define RID_SVXDLG_GALLERYBROWSER (RID_SVX_GALLERY_START + 5) diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx index 6031d86cbfd7..fed858cba3e6 100644 --- a/svx/inc/galobj.hxx +++ b/svx/inc/galobj.hxx @@ -24,13 +24,8 @@ #include <vcl/graph.hxx> #include "svx/galmisc.hxx" -// ----------- -// - Defines - -// ----------- - #define S_THUMB 80 -// ----------------------------------------------------------------------------- #define SGA_FORMAT_NONE 0x00000000L #define SGA_FORMAT_STRING 0x00000001L @@ -40,10 +35,6 @@ #define SGA_FORMAT_SVDRAW 0x00010000L #define SGA_FORMAT_ALL 0xFFFFFFFFL -// ---------------- -// - GalSoundType - -// ---------------- - enum GalSoundType { SOUND_STANDARD = 0, @@ -56,10 +47,6 @@ enum GalSoundType SOUND_ANIMAL = 7 }; -// ------------- -// - SgaObject - -// ------------- - class SVX_DLLPUBLIC SgaObject { friend class GalleryTheme; @@ -104,10 +91,6 @@ public: friend SvStream& operator>>( SvStream& rIn, SgaObject& rObj ); }; -// ------------------ -// - SgaObjectSound - -// ------------------ - class SgaObjectSound : public SgaObject { private: @@ -130,10 +113,6 @@ public: GalSoundType GetSoundType() const { return eSoundType; } }; -// ------------------- -// - SgaObjectSvDraw - -// ------------------- - class FmFormModel; class SgaObjectSvDraw : public SgaObject @@ -163,10 +142,6 @@ public: static sal_Bool DrawCentered( OutputDevice* pOut, const FmFormModel& rModel ); }; -// ---------------- -// - SgaObjectBmp - -// ---------------- - class SgaObjectBmp: public SgaObject { private: @@ -188,10 +163,6 @@ public: virtual SgaObjKind GetObjKind() const { return SGA_OBJ_BMP; } }; -// ----------------- -// - SgaObjectAnim - -// ----------------- - class SgaObjectAnim : public SgaObjectBmp { private: @@ -208,10 +179,6 @@ public: virtual SgaObjKind GetObjKind() const { return SGA_OBJ_ANIM; } }; -// ----------------- -// - SgaObjectINet - -// ----------------- - class SgaObjectINet : public SgaObjectAnim { private: diff --git a/svx/inc/svx/galbrws.hxx b/svx/inc/svx/galbrws.hxx index 83c5c600488a..0269643c658b 100644 --- a/svx/inc/svx/galbrws.hxx +++ b/svx/inc/svx/galbrws.hxx @@ -26,16 +26,8 @@ #include <tools/urlobj.hxx> #include "svx/svxdllapi.h" -// ----------- -// - Defines - -// ----------- - #define GALLERYBROWSER() ((GalleryBrowser*)( SfxViewFrame::Current()->GetChildWindow(GalleryChildWindow::GetChildWindowId())->GetWindow())) -// ------------------------- -// - SvxGalleryChildWindow - -// ------------------------- - class SVX_DLLPUBLIC GalleryChildWindow : public SfxChildWindow { public: @@ -45,16 +37,7 @@ public: SFX_DECL_CHILDWINDOW_WITHID( GalleryChildWindow ); }; -// ------------------ -// - FormModel - -// ------------------ - class FmFormModel; - -// ------------------ -// - GalleryBrowser - -// ------------------ - class GalleryBrowser1; class GalleryBrowser2; class GallerySplitter; diff --git a/svx/inc/svx/galctrl.hxx b/svx/inc/svx/galctrl.hxx index 2c40880bb275..782163aa95fd 100644 --- a/svx/inc/svx/galctrl.hxx +++ b/svx/inc/svx/galctrl.hxx @@ -37,17 +37,9 @@ #include "svx/galmisc.hxx" #include "svx/svxdllapi.h" -// ------------ -// - Forwards - -// ------------ - class GalleryTheme; class GalleryBrowser2; -// ------------------ -// - GalleryPreview - -// ------------------ - class SVX_DLLPUBLIC GalleryPreview : public Window, public DropTargetHelper, public DragSourceHelper { private: @@ -87,10 +79,6 @@ public: void PreviewMedia( const INetURLObject& rURL ); }; -// ------------------- -// - GalleryIconView - -// ------------------- - class GalleryIconView : public ValueSet, public DropTargetHelper, public DragSourceHelper { using ValueSet::StartDrag; @@ -123,10 +111,6 @@ public: ~GalleryIconView(); }; -// ------------------- -// - GalleryListView - -// ------------------- - class GalleryListView : public BrowseBox { using BrowseBox::AcceptDrop; diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx index c160ce82d583..1bbbd226b405 100644 --- a/svx/inc/svx/gallery.hxx +++ b/svx/inc/svx/gallery.hxx @@ -26,10 +26,6 @@ #include <vector> #include "svx/svxdllapi.h" -// ----------- -// - Defines - -// ----------- - #define SGA_FORMAT_NONE 0x00000000L #define SGA_FORMAT_STRING 0x00000001L #define SGA_FORMAT_GRAPHIC 0x00000010L @@ -51,10 +47,6 @@ #define GALLERY_THEME_FONTWORK 37 #define GALLERY_THEME_FONTWORK_VERTICAL 38 -// ------------------- -// - GalleryExplorer - -// ------------------- - class Gallery; class VCDrawModel; class FmFormModel; diff --git a/svx/inc/svx/galmisc.hxx b/svx/inc/svx/galmisc.hxx index 3765e487c0e1..a40e59820ac4 100644 --- a/svx/inc/svx/galmisc.hxx +++ b/svx/inc/svx/galmisc.hxx @@ -32,16 +32,8 @@ #include <tools/date.hxx> #include <tools/time.hxx> -// ------------ -// - Forwards - -// ------------ - class GalleryTheme; -// ---------------- -// - ExchangeData - -// ---------------- - struct ExchangeData { GalleryTheme* pTheme; @@ -66,10 +58,6 @@ enum SgaObjKind SGA_OBJ_INET = 6 // graphics from the internet }; -// ----------- -// - Defines - -// ----------- - #define IV_IMAPINFO (sal_uInt32('S')*0x00000001+sal_uInt32('D')*0x00000100+sal_uInt32('U')*0x00010000+sal_uInt32('D')*0x01000000) #define ID_IMAPINFO 2 @@ -89,10 +77,6 @@ enum SgaObjKind #define GALLERY_BG_COLOR Application::GetSettings().GetStyleSettings().GetWindowColor() #define GALLERY_DLG_COLOR Application::GetSettings().GetStyleSettings().GetDialogColor() -// ------------- -// - Functions - -// ------------- - class ResMgr; class String; class SvStream; @@ -114,11 +98,6 @@ sal_Bool CopyFile( const INetURLObject& rSrcURL, const INetURLObject sal_Bool KillFile( const INetURLObject& rURL ); BitmapEx GalleryResGetBitmapEx( sal_uInt32 nId ); - -// --------------- -// - SgaIMapInfo - -// --------------- - class SgaIMapInfo : public SdrObjUserData, public SfxListener { ImageMap aImageMap; @@ -142,10 +121,6 @@ public: const ImageMap& GetImageMap() const { return aImageMap; } }; -// ---------------------- -// - SgaUserDataFactory - -// ---------------------- - class SgaUserDataFactory { public: @@ -155,10 +130,6 @@ public: DECL_LINK( MakeUserData, SdrObjFactory* ); }; -// ------------------- -// - GalleryProgress - -// ------------------- - class GraphicFilter; class SVX_DLLPUBLIC GalleryProgress @@ -174,10 +145,6 @@ class SVX_DLLPUBLIC GalleryProgress void Update( sal_uIntPtr nVal, sal_uIntPtr nMaxVal ); }; -// ----------------------- -// - GalleryTransferable - -// ----------------------- - class Gallery; class GalleryTheme; class GraphicObject; @@ -217,10 +184,6 @@ protected: sal_Int32 nDragImage = DND_IMAGE_NONE ); }; -// --------------- -// - GalleryHint - -// --------------- - #define GALLERY_HINT_NONE 0x00000000 #define GALLERY_HINT_CLOSE_THEME 0x00000001 #define GALLERY_HINT_THEME_REMOVED 0x00000002 @@ -230,8 +193,6 @@ protected: #define GALLERY_HINT_CLOSE_OBJECT 0x00000020 #define GALLERY_HINT_OBJECT_REMOVED 0x00000040 -// ----------------------------------------------------------------------------- - class GalleryHint : public SfxHint { private: diff --git a/svx/inc/svx/svdograf.hxx b/svx/inc/svx/svdograf.hxx index 1399ca9f629a..5d663dcc3215 100644 --- a/svx/inc/svx/svdograf.hxx +++ b/svx/inc/svx/svdograf.hxx @@ -26,9 +26,6 @@ #include <svtools/grfmgr.hxx> #include "svx/svxdllapi.h" -////////////////////////////////////////////////////////////////////////////// -// predeclarations - namespace sdr { namespace properties @@ -41,21 +38,12 @@ namespace sdr } // end of namespace contact } // end of namespace sdr -// ----------- -// - Defines - -// ----------- - #define SDRGRAFOBJ_TRANSFORMATTR_NONE 0x00000000UL #define SDRGRAFOBJ_TRANSFORMATTR_COLOR 0x00000001UL #define SDRGRAFOBJ_TRANSFORMATTR_MIRROR 0x00000002UL #define SDRGRAFOBJ_TRANSFORMATTR_ROTATE 0x00000004UL #define SDRGRAFOBJ_TRANSFORMATTR_ALL 0xffffffffUL -// --------------------- -// - SdrGrafObjGeoData - -// --------------------- - -// #109872# class SdrGrafObjGeoData : public SdrTextObjGeoData { public: @@ -67,10 +55,6 @@ public: } }; -// -------------- -// - SdrGrafObj - -// -------------- - class GraphicObject; class SdrGraphicLink; diff --git a/svx/inc/svx/xoutbmp.hxx b/svx/inc/svx/xoutbmp.hxx index d33d7f34fba2..0c614b93c356 100644 --- a/svx/inc/svx/xoutbmp.hxx +++ b/svx/inc/svx/xoutbmp.hxx @@ -25,10 +25,6 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include "svx/svxdllapi.h" -// ----------- -// - Defines - -// ----------- - #define XOUTBMP_MIRROR_HORZ 0x00000001L #define XOUTBMP_MIRROR_VERT 0x00000010L @@ -42,10 +38,6 @@ #define XOUTBMP_USE_GIF_IF_SENSIBLE 0x40000000L #define XOUTBMP_USE_NATIVE_IF_POSSIBLE 0x80000000L -// -------------- -// - XOutBitmap - -// -------------- - class GraphicFilter; class VirtualDevice; class INetURLObject; @@ -74,10 +66,6 @@ public: const Rectangle* pWorkRect = NULL ); }; -// ---------------- -// - DitherBitmap - -// ---------------- - SVX_DLLPUBLIC sal_Bool DitherBitmap( Bitmap& rBitmap ); #endif // _XOUTBMP_HXX |