summaryrefslogtreecommitdiff
path: root/include/drawinglayer
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 /include/drawinglayer
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 'include/drawinglayer')
-rw-r--r--include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx7
-rw-r--r--include/drawinglayer/processor2d/canvasprocessor.hxx7
-rw-r--r--include/drawinglayer/processor2d/hittestprocessor2d.hxx7
-rw-r--r--include/drawinglayer/processor2d/processorfromoutputdevice.hxx7
-rw-r--r--include/drawinglayer/texture/texture3d.hxx13
5 files changed, 0 insertions, 41 deletions
diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
index d33ee9e56828..d996fb9b77e4 100644
--- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
@@ -25,9 +25,6 @@
#include <drawinglayer/primitive2d/textprimitive2d.hxx>
#include <drawinglayer/primitive2d/textenumsprimitive2d.hxx>
-
-// predeclarations
-
namespace basegfx { namespace tools {
class B2DHomMatrixBufferedOnDemandDecompose;
}}
@@ -36,8 +33,6 @@ namespace com { namespace sun { namespace star { namespace i18n {
struct Boundary;
}}}}
-
-
namespace drawinglayer
{
namespace primitive2d
@@ -140,8 +135,6 @@ namespace drawinglayer
} // end of namespace primitive2d
} // end of namespace drawinglayer
-
-
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE2D_TEXTDECORATEDPRIMITIVE2D_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/processor2d/canvasprocessor.hxx b/include/drawinglayer/processor2d/canvasprocessor.hxx
index fb10ad339e0b..5385582330f5 100644
--- a/include/drawinglayer/processor2d/canvasprocessor.hxx
+++ b/include/drawinglayer/processor2d/canvasprocessor.hxx
@@ -32,9 +32,6 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <vcl/mapmod.hxx>
-
-// forward declaration
-
namespace basegfx {
class BColor;
class B2DPolygon;
@@ -56,8 +53,6 @@ namespace drawinglayer { namespace primitive2d {
class UnifiedTransparencePrimitive2D;
}}
-
-
namespace drawinglayer
{
namespace processor2d
@@ -115,8 +110,6 @@ namespace drawinglayer
} // end of namespace processor2d
} // end of namespace drawinglayer
-
-
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_CANVASPROCESSOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
index e06f006bf479..2b6419d74b2f 100644
--- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
@@ -24,15 +24,10 @@
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
-
-// predeclarations
-
namespace basegfx { class B2DPolygon; }
namespace basegfx { class B2DPolyPolygon; }
namespace drawinglayer { namespace primitive2d { class ScenePrimitive2D; }}
-
-
namespace drawinglayer
{
namespace processor2d
@@ -105,8 +100,6 @@ namespace drawinglayer
} // end of namespace processor2d
} // end of namespace drawinglayer
-
-
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_HITTESTPROCESSOR2D_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx
index b3302a6c1d53..6f759faf4916 100644
--- a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx
+++ b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx
@@ -23,17 +23,12 @@
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <drawinglayer/drawinglayerdllapi.h>
-
-// predeclarations
-
class OutputDevice;
namespace drawinglayer { namespace processor2d {
class BaseProcessor2D;
}}
-
-
namespace drawinglayer
{
namespace processor2d
@@ -48,8 +43,6 @@ namespace drawinglayer
} // end of namespace processor2d
} // end of namespace drawinglayer
-
-
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSORFROMOUTPUTDEVICE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/texture/texture3d.hxx b/include/drawinglayer/texture/texture3d.hxx
index 2068218d5354..9a033c7422f4 100644
--- a/include/drawinglayer/texture/texture3d.hxx
+++ b/include/drawinglayer/texture/texture3d.hxx
@@ -25,15 +25,10 @@
#include <drawinglayer/texture/texture.hxx>
#include <vcl/bitmapex.hxx>
-
-// predeclarations
-
namespace drawinglayer { namespace primitive3d {
class HatchTexturePrimitive3D;
}}
-
-
namespace drawinglayer
{
namespace texture
@@ -57,8 +52,6 @@ namespace drawinglayer
} // end of namespace texture
} // end of namespace drawinglayer
-
-
namespace drawinglayer
{
namespace texture
@@ -95,8 +88,6 @@ namespace drawinglayer
} // end of namespace texture
} // end of namespace drawinglayer
-
-
namespace drawinglayer
{
namespace texture
@@ -127,8 +118,6 @@ namespace drawinglayer
} // end of namespace texture
} // end of namespace drawinglayer
-
-
namespace drawinglayer
{
namespace texture
@@ -160,8 +149,6 @@ namespace drawinglayer
} // end of namespace texture
} // end of namespace drawinglayer
-
-
#endif // INCLUDED_DRAWINGLAYER_TEXTURE_TEXTURE3D_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */