summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-30 05:32:26 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-30 06:14:12 +0300
commitd1ca0f4ed0e30394ce6759a20d4896651dd43051 (patch)
treeaf9def17a770c6399e18965c9fb9f3bb4b91b702 /svx
parent0d341d28f73603670e3b8c639c583229d3c723a6 (diff)
Bin some pointless comments and reduce some vertical whitespace
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/sdr/contact/objectcontactofpageview.hxx7
-rw-r--r--svx/inc/sdr/contact/viewcontactofgraphic.hxx7
-rw-r--r--svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx6
-rw-r--r--svx/inc/sdr/contact/viewobjectcontactofe3d.hxx7
-rw-r--r--svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx6
-rw-r--r--svx/inc/sdr/contact/viewobjectcontactofgroup.hxx7
-rw-r--r--svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx7
-rw-r--r--svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx27
-rw-r--r--svx/inc/sdr/properties/itemsettools.hxx8
-rw-r--r--svx/inc/svdglob.hxx6
-rw-r--r--svx/source/inc/clonelist.hxx1
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofe3d.cxx6
-rw-r--r--svx/source/svdraw/svddrgm1.hxx4
-rw-r--r--svx/source/table/viewcontactoftableobj.hxx7
14 files changed, 0 insertions, 106 deletions
diff --git a/svx/inc/sdr/contact/objectcontactofpageview.hxx b/svx/inc/sdr/contact/objectcontactofpageview.hxx
index ba3f5afbea48..21b75878dda3 100644
--- a/svx/inc/sdr/contact/objectcontactofpageview.hxx
+++ b/svx/inc/sdr/contact/objectcontactofpageview.hxx
@@ -23,14 +23,9 @@
#include <svx/sdr/contact/objectcontact.hxx>
#include <vcl/idle.hxx>
-
-// predeclarations
-
class SdrPageWindow;
class SdrPage;
-
-
namespace sdr
{
namespace contact
@@ -138,8 +133,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_OBJECTCONTACTOFPAGEVIEW_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewcontactofgraphic.hxx b/svx/inc/sdr/contact/viewcontactofgraphic.hxx
index 5655206a73cd..d3657e5e4b37 100644
--- a/svx/inc/sdr/contact/viewcontactofgraphic.hxx
+++ b/svx/inc/sdr/contact/viewcontactofgraphic.hxx
@@ -24,14 +24,9 @@
#include <svx/sdr/contact/viewcontactoftextobj.hxx>
#include <svx/svdograf.hxx>
-
-// predeclarations
-
namespace drawinglayer { namespace attribute { class SdrLineFillShadowTextAttribute; }}
class GraphicAttr;
-
-
namespace sdr
{
namespace contact
@@ -82,8 +77,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWCONTACTOFGRAPHIC_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx b/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx
index ebe53f785faa..296d12710d0b 100644
--- a/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx
+++ b/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx
@@ -24,14 +24,10 @@
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/sdrmasterpagedescriptor.hxx>
-
-// predeclarations
class SfxItemSet;
class Bitmap;
class MapMode;
-
-
namespace sdr
{
namespace contact
@@ -70,8 +66,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWCONTACTOFMASTERPAGEDESCRIPTOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx b/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx
index 56276f199b87..0781313ec44b 100644
--- a/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx
+++ b/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx
@@ -23,15 +23,10 @@
#include <svx/sdr/contact/viewobjectcontactofsdrobj.hxx>
#include <drawinglayer/primitive3d/baseprimitive3d.hxx>
-
-// predeclarations
-
namespace sdr { namespace contact {
class ViewObjectContactOfE3dScene;
}}
-
-
namespace sdr
{
namespace contact
@@ -67,8 +62,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFE3D_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx
index a78ba0fc7957..14e472ace2d0 100644
--- a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx
+++ b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx
@@ -22,16 +22,12 @@
#include <svx/sdr/contact/viewobjectcontactofsdrobj.hxx>
-
-// predeclarations
class SdrGrafObj;
namespace sdr { namespace event {
class AsynchGraphicLoadingEvent;
}}
-
-
namespace sdr
{
namespace contact
@@ -67,8 +63,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFGRAPHIC_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx b/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx
index 19e60f51c75c..ba37beee7f94 100644
--- a/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx
+++ b/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx
@@ -22,11 +22,6 @@
#include <svx/sdr/contact/viewobjectcontactofsdrobj.hxx>
-
-// predeclarations
-
-
-
namespace sdr
{
namespace contact
@@ -47,8 +42,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFGROUP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx b/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx
index 5f6aed614595..2a6e179f0684 100644
--- a/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx
+++ b/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx
@@ -22,15 +22,10 @@
#include <svx/sdr/contact/viewobjectcontact.hxx>
-
-// predeclarations
-
namespace sdr {
class MasterPageDescriptor;
}
-
-
namespace sdr
{
namespace contact
@@ -50,8 +45,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFMASTERPAGEDESCRIPTOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx b/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx
index ca462f4c978d..d0dd9abdec30 100644
--- a/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx
+++ b/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx
@@ -22,13 +22,8 @@
#include <svx/sdr/contact/viewobjectcontact.hxx>
-
-// predeclarations
-
class SdrPage;
-
-
namespace sdr
{
namespace contact
@@ -48,8 +43,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -68,8 +61,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -86,8 +77,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -106,8 +95,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -123,8 +110,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -140,8 +125,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -157,8 +140,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -174,8 +155,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -194,8 +173,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -214,8 +191,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
namespace sdr
{
namespace contact
@@ -231,8 +206,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFSDRPAGE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sdr/properties/itemsettools.hxx b/svx/inc/sdr/properties/itemsettools.hxx
index d930e176b24b..fbecdef4f249 100644
--- a/svx/inc/sdr/properties/itemsettools.hxx
+++ b/svx/inc/sdr/properties/itemsettools.hxx
@@ -22,15 +22,11 @@
#include <sal/types.h>
-
-// predeclarations
-
class SdrObject;
class SfxItemSet;
class Rectangle;
class Fraction;
-
// class to remember broadcast start positions
namespace sdr
{
@@ -51,8 +47,6 @@ namespace sdr
} // end of namespace properties
} // end of namespace sdr
-
-
namespace sdr
{
namespace properties
@@ -61,8 +55,6 @@ namespace sdr
} // end of namespace properties
} // end of namespace sdr
-
-
#endif // INCLUDED_SVX_INC_SDR_PROPERTIES_ITEMSETTOOLS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svdglob.hxx b/svx/inc/svdglob.hxx
index 19683274a7cd..972c990b7797 100644
--- a/svx/inc/svdglob.hxx
+++ b/svx/inc/svdglob.hxx
@@ -24,10 +24,6 @@
#include <sal/config.h>
#include <svx/svxdllapi.h>
-
-// forward declaration
-
-
class ResMgr;
// Get the resource manager for the app
@@ -40,8 +36,6 @@ ResMgr* ImpGetResMgr();
// See also SvdStr.Hrc
SVX_DLLPUBLIC OUString ImpGetResStr(sal_uInt16 nResID);
-
-
#endif // INCLUDED_SVX_INC_SVDGLOB_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/clonelist.hxx b/svx/source/inc/clonelist.hxx
index c943b68d65d7..5d2efc9023dc 100644
--- a/svx/source/inc/clonelist.hxx
+++ b/svx/source/inc/clonelist.hxx
@@ -23,7 +23,6 @@
#include <sal/types.h>
-// predeclarations
class SdrObject;
// #i13033#
diff --git a/svx/source/sdr/contact/viewobjectcontactofe3d.cxx b/svx/source/sdr/contact/viewobjectcontactofe3d.cxx
index 85bb7762322d..42368b8bbf4f 100644
--- a/svx/source/sdr/contact/viewobjectcontactofe3d.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofe3d.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sdr/contact/viewobjectcontactofe3d.hxx>
#include <svx/sdr/contact/viewcontactofe3d.hxx>
#include <basegfx/color/bcolor.hxx>
@@ -26,11 +25,6 @@
#include <drawinglayer/primitive2d/embedded3dprimitive2d.hxx>
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
-
-// predeclarations
-
-
-
namespace sdr
{
namespace contact
diff --git a/svx/source/svdraw/svddrgm1.hxx b/svx/source/svdraw/svddrgm1.hxx
index b49aa0eb2945..e9daf6fa4444 100644
--- a/svx/source/svdraw/svddrgm1.hxx
+++ b/svx/source/svdraw/svddrgm1.hxx
@@ -25,9 +25,6 @@
#include <svx/svddrgv.hxx>
#include <svx/svddrgmt.hxx>
-
-// predeclarations
-
class SdrDragView;
class SdrDragMovHdl : public SdrDragMethod
@@ -238,7 +235,6 @@ public:
virtual Pointer GetSdrDragPointer() const SAL_OVERRIDE;
};
-
#endif // INCLUDED_SVX_SOURCE_SVDRAW_SVDDRGM1_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/table/viewcontactoftableobj.hxx b/svx/source/table/viewcontactoftableobj.hxx
index 849400ea3f75..4c332592a54f 100644
--- a/svx/source/table/viewcontactoftableobj.hxx
+++ b/svx/source/table/viewcontactoftableobj.hxx
@@ -23,11 +23,6 @@
#include <svx/sdr/contact/viewcontactofsdrobj.hxx>
#include <svx/svdotable.hxx>
-
-// predeclarations
-
-
-
namespace sdr
{
namespace contact
@@ -53,8 +48,6 @@ namespace sdr
} // end of namespace contact
} // end of namespace sdr
-
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */