diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-04-30 05:32:26 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-04-30 06:14:12 +0300 |
commit | d1ca0f4ed0e30394ce6759a20d4896651dd43051 (patch) | |
tree | af9def17a770c6399e18965c9fb9f3bb4b91b702 /include/svx/sdr | |
parent | 0d341d28f73603670e3b8c639c583229d3c723a6 (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/svx/sdr')
-rw-r--r-- | include/svx/sdr/animation/animationstate.hxx | 9 | ||||
-rw-r--r-- | include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx | 3 | ||||
-rw-r--r-- | include/svx/sdr/overlay/overlaymanager.hxx | 7 | ||||
-rw-r--r-- | include/svx/sdr/overlay/overlayobject.hxx | 13 | ||||
-rw-r--r-- | include/svx/sdr/properties/properties.hxx | 11 |
5 files changed, 5 insertions, 38 deletions
diff --git a/include/svx/sdr/animation/animationstate.hxx b/include/svx/sdr/animation/animationstate.hxx index 636315f1446f..cf76fe8cc091 100644 --- a/include/svx/sdr/animation/animationstate.hxx +++ b/include/svx/sdr/animation/animationstate.hxx @@ -25,18 +25,13 @@ #include <svx/sdr/animation/scheduler.hxx> #include <drawinglayer/primitive2d/baseprimitive2d.hxx> - -// predeclarations - namespace sdr { namespace contact { class ViewObjectContact; } // end of namespace contact -} // end of namespace sdr - - +} namespace sdr { @@ -68,8 +63,6 @@ namespace sdr } // end of namespace animation } // end of namespace sdr - - #endif // INCLUDED_SVX_SDR_ANIMATION_ANIMATIONSTATE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx b/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx index e4def238c5ec..4d9d7049e88d 100644 --- a/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx +++ b/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx @@ -23,7 +23,6 @@ #include <svx/sdr/contact/viewobjectcontact.hxx> #include <boost/optional.hpp> -// predeclarations class SdrObject; class SetOfByte; class OutputDevice; @@ -62,8 +61,6 @@ public: }} - - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWOBJECTCONTACTOFSDROBJ_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlaymanager.hxx b/include/svx/sdr/overlay/overlaymanager.hxx index c6c0334d31b7..9fdb9de93cf0 100644 --- a/include/svx/sdr/overlay/overlaymanager.hxx +++ b/include/svx/sdr/overlay/overlaymanager.hxx @@ -32,9 +32,6 @@ #include <drawinglayer/geometry/viewinformation2d.hxx> #include <salhelper/simplereferenceobject.hxx> - -// predeclarations - class OutputDevice; class SdrModel; namespace vcl { class Region; } @@ -47,8 +44,6 @@ namespace basegfx { class B2DRange; } - - namespace sdr { namespace overlay @@ -147,8 +142,6 @@ namespace sdr } // end of namespace overlay } // end of namespace sdr - - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYMANAGER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlayobject.hxx b/include/svx/sdr/overlay/overlayobject.hxx index 167114eb66be..ee7aad6902c3 100644 --- a/include/svx/sdr/overlay/overlayobject.hxx +++ b/include/svx/sdr/overlay/overlayobject.hxx @@ -30,9 +30,6 @@ #include <vector> - -// predeclarations - class OutputDevice; namespace sdr @@ -41,16 +38,14 @@ namespace sdr { class OverlayManager; } // end of namespace overlay -} // end of namespace sdr +} namespace basegfx { class B2DPolygon; class B2DPolyPolygon; class B2DRange; -} // end of namespace basegfx - - +} namespace sdr { @@ -172,8 +167,6 @@ namespace sdr } // end of namespace overlay } // end of namespace sdr - - namespace sdr { namespace overlay @@ -195,8 +188,6 @@ namespace sdr } // end of namespace overlay } // end of namespace sdr - - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYOBJECT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/properties/properties.hxx b/include/svx/sdr/properties/properties.hxx index d25970d46976..efdcbdcb06e0 100644 --- a/include/svx/sdr/properties/properties.hxx +++ b/include/svx/sdr/properties/properties.hxx @@ -23,9 +23,6 @@ #include <sal/types.h> #include <svx/svxdllapi.h> - -// predeclarations - class SdrObject; class SfxItemSet; class SfxPoolItem; @@ -39,10 +36,8 @@ namespace sdr namespace properties { class ItemChangeBroadcaster; - } // end of namespace properties -} // end of namespace sdr - - + } +} namespace sdr { @@ -187,8 +182,6 @@ namespace sdr } // end of namespace properties } // end of namespace sdr - - #endif // INCLUDED_SVX_SDR_PROPERTIES_PROPERTIES_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |