diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /include/svx/sdr | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include/svx/sdr')
27 files changed, 0 insertions, 44 deletions
diff --git a/include/svx/sdr/animation/objectanimator.hxx b/include/svx/sdr/animation/objectanimator.hxx index 11f86d37001d..5665b02d3eec 100644 --- a/include/svx/sdr/animation/objectanimator.hxx +++ b/include/svx/sdr/animation/objectanimator.hxx @@ -27,7 +27,6 @@ #include <svx/sdr/animation/animationstate.hxx> - namespace sdr { namespace animation @@ -43,7 +42,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_ANIMATION_OBJECTANIMATOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/animation/scheduler.hxx b/include/svx/sdr/animation/scheduler.hxx index 703a8fb03d70..1738ca5d1576 100644 --- a/include/svx/sdr/animation/scheduler.hxx +++ b/include/svx/sdr/animation/scheduler.hxx @@ -142,7 +142,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_ANIMATION_SCHEDULER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/attribute/sdrformtextattribute.hxx b/include/svx/sdr/attribute/sdrformtextattribute.hxx index 466b95ee37db..20150dc66011 100644 --- a/include/svx/sdr/attribute/sdrformtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrformtextattribute.hxx @@ -35,7 +35,6 @@ namespace drawinglayer { namespace attribute { }} - namespace drawinglayer { namespace attribute @@ -80,7 +79,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_ATTRIBUTE_SDRFORMTEXTATTRIBUTE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx b/include/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx index 2cdc7c0a7103..077a3455e7c4 100644 --- a/include/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx @@ -26,7 +26,6 @@ #include <drawinglayer/attribute/fillgradientattribute.hxx> - namespace drawinglayer { namespace attribute @@ -63,7 +62,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_ATTRIBUTE_SDRLINEFILLSHADOWTEXTATTRIBUTE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/attribute/sdrlineshadowtextattribute.hxx b/include/svx/sdr/attribute/sdrlineshadowtextattribute.hxx index a1b074487569..039228e007bf 100644 --- a/include/svx/sdr/attribute/sdrlineshadowtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrlineshadowtextattribute.hxx @@ -26,7 +26,6 @@ #include <drawinglayer/attribute/sdrlinestartendattribute.hxx> - namespace drawinglayer { namespace attribute @@ -61,7 +60,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_ATTRIBUTE_SDRLINESHADOWTEXTATTRIBUTE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/attribute/sdrshadowtextattribute.hxx b/include/svx/sdr/attribute/sdrshadowtextattribute.hxx index 4e208cdd385b..e9841662f90f 100644 --- a/include/svx/sdr/attribute/sdrshadowtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrshadowtextattribute.hxx @@ -25,7 +25,6 @@ #include <svx/sdr/attribute/sdrtextattribute.hxx> - namespace drawinglayer { namespace attribute @@ -58,7 +57,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_ATTRIBUTE_SDRSHADOWTEXTATTRIBUTE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/attribute/sdrtextattribute.hxx b/include/svx/sdr/attribute/sdrtextattribute.hxx index 1d8aebc06d6c..01aa02aef141 100644 --- a/include/svx/sdr/attribute/sdrtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrtextattribute.hxx @@ -43,7 +43,6 @@ namespace drawinglayer { namespace attribute { }} - namespace drawinglayer { namespace attribute @@ -125,7 +124,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_ATTRIBUTE_SDRTEXTATTRIBUTE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/displayinfo.hxx b/include/svx/sdr/contact/displayinfo.hxx index 23190a450f40..7a00f143a392 100644 --- a/include/svx/sdr/contact/displayinfo.hxx +++ b/include/svx/sdr/contact/displayinfo.hxx @@ -101,7 +101,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_CONTACT_DISPLAYINFO_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/objectcontact.hxx b/include/svx/sdr/contact/objectcontact.hxx index 5eaa57c9d6ce..e5fd0ed8c6da 100644 --- a/include/svx/sdr/contact/objectcontact.hxx +++ b/include/svx/sdr/contact/objectcontact.hxx @@ -203,7 +203,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_OBJECTCONTACT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/objectcontactofobjlistpainter.hxx b/include/svx/sdr/contact/objectcontactofobjlistpainter.hxx index 8a2d4da131ae..f584f6787833 100644 --- a/include/svx/sdr/contact/objectcontactofobjlistpainter.hxx +++ b/include/svx/sdr/contact/objectcontactofobjlistpainter.hxx @@ -115,7 +115,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_OBJECTCONTACTOFOBJLISTPAINTER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewcontact.hxx b/include/svx/sdr/contact/viewcontact.hxx index 783bc3301c03..f11c188ca789 100644 --- a/include/svx/sdr/contact/viewcontact.hxx +++ b/include/svx/sdr/contact/viewcontact.hxx @@ -144,7 +144,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWCONTACT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewcontactofe3d.hxx b/include/svx/sdr/contact/viewcontactofe3d.hxx index 33d6c037693c..9c31755a3e09 100644 --- a/include/svx/sdr/contact/viewcontactofe3d.hxx +++ b/include/svx/sdr/contact/viewcontactofe3d.hxx @@ -93,7 +93,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWCONTACTOFE3D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewcontactofpageobj.hxx b/include/svx/sdr/contact/viewcontactofpageobj.hxx index b8d995bc52ab..6087546b7faa 100644 --- a/include/svx/sdr/contact/viewcontactofpageobj.hxx +++ b/include/svx/sdr/contact/viewcontactofpageobj.hxx @@ -55,7 +55,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWCONTACTOFPAGEOBJ_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewcontactofsdrmediaobj.hxx b/include/svx/sdr/contact/viewcontactofsdrmediaobj.hxx index 3ecf81ed7441..902a55f29bf0 100644 --- a/include/svx/sdr/contact/viewcontactofsdrmediaobj.hxx +++ b/include/svx/sdr/contact/viewcontactofsdrmediaobj.hxx @@ -70,7 +70,6 @@ protected: }} - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWCONTACTOFSDRMEDIAOBJ_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewobjectcontact.hxx b/include/svx/sdr/contact/viewobjectcontact.hxx index ddf54b437477..6936760b8feb 100644 --- a/include/svx/sdr/contact/viewobjectcontact.hxx +++ b/include/svx/sdr/contact/viewobjectcontact.hxx @@ -129,7 +129,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWOBJECTCONTACT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx index 28eb5d7cdd36..dccd52ca2b5c 100644 --- a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx +++ b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx @@ -48,7 +48,6 @@ public: }} - #endif // INCLUDED_SVX_SDR_CONTACT_VIEWOBJECTCONTACTOFPAGEOBJ_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlayanimatedbitmapex.hxx b/include/svx/sdr/overlay/overlayanimatedbitmapex.hxx index af77c3a4ca40..eea4d4892fe9 100644 --- a/include/svx/sdr/overlay/overlayanimatedbitmapex.hxx +++ b/include/svx/sdr/overlay/overlayanimatedbitmapex.hxx @@ -24,7 +24,6 @@ #include <vcl/bitmapex.hxx> - namespace sdr { namespace overlay @@ -90,7 +89,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYANIMATEDBITMAPEX_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlaybitmapex.hxx b/include/svx/sdr/overlay/overlaybitmapex.hxx index e98bd4953220..f8cc7ef8dcee 100644 --- a/include/svx/sdr/overlay/overlaybitmapex.hxx +++ b/include/svx/sdr/overlay/overlaybitmapex.hxx @@ -24,7 +24,6 @@ #include <vcl/bitmapex.hxx> - namespace sdr { namespace overlay @@ -70,7 +69,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYBITMAPEX_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlayobjectcell.hxx b/include/svx/sdr/overlay/overlayobjectcell.hxx index 08e41ca85343..c5ef0e67cf0b 100644 --- a/include/svx/sdr/overlay/overlayobjectcell.hxx +++ b/include/svx/sdr/overlay/overlayobjectcell.hxx @@ -25,7 +25,6 @@ #include <vector> - namespace sdr { namespace overlay @@ -55,7 +54,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYOBJECTCELL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlayobjectlist.hxx b/include/svx/sdr/overlay/overlayobjectlist.hxx index 459b9ab1ce82..4fdba83ae798 100644 --- a/include/svx/sdr/overlay/overlayobjectlist.hxx +++ b/include/svx/sdr/overlay/overlayobjectlist.hxx @@ -25,12 +25,10 @@ #include <svx/svxdllapi.h> - #define DEFAULT_VALUE_FOR_HITTEST_PIXEL (2L) #define DEFAULT_VALUE_FOR_HITTEST_TWIP (30L) - class Point; namespace sdr @@ -70,7 +68,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYOBJECTLIST_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlaypolypolygon.hxx b/include/svx/sdr/overlay/overlaypolypolygon.hxx index 998b805dcb85..a59cfe0b2a98 100644 --- a/include/svx/sdr/overlay/overlaypolypolygon.hxx +++ b/include/svx/sdr/overlay/overlaypolypolygon.hxx @@ -25,7 +25,6 @@ #include <basegfx/polygon/b2dpolygon.hxx> - namespace sdr { namespace overlay @@ -54,7 +53,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYPOLYPOLYGON_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx b/include/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx index 2c63a1f6e77a..101e6a0c0352 100644 --- a/include/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx +++ b/include/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx @@ -25,7 +25,6 @@ #include <basegfx/matrix/b2dhommatrix.hxx> - namespace sdr { namespace overlay @@ -51,7 +50,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYPRIMITIVE2DSEQUENCEOBJECT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/overlay/overlayselection.hxx b/include/svx/sdr/overlay/overlayselection.hxx index cdd3448e10ed..ed4d75a51637 100644 --- a/include/svx/sdr/overlay/overlayselection.hxx +++ b/include/svx/sdr/overlay/overlayselection.hxx @@ -24,7 +24,6 @@ #include <vcl/region.hxx> - namespace sdr { namespace overlay @@ -80,7 +79,6 @@ namespace sdr } // end of namespace sdr - #endif // INCLUDED_SVX_SDR_OVERLAY_OVERLAYSELECTION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/primitive2d/sdrattributecreator.hxx b/include/svx/sdr/primitive2d/sdrattributecreator.hxx index 2bf74f5cdbe4..15e489b8e5ab 100644 --- a/include/svx/sdr/primitive2d/sdrattributecreator.hxx +++ b/include/svx/sdr/primitive2d/sdrattributecreator.hxx @@ -50,7 +50,6 @@ namespace basegfx { } - namespace drawinglayer { namespace primitive2d @@ -128,7 +127,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_PRIMITIVE2D_SDRATTRIBUTECREATOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx b/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx index 8edabccdd18f..3811f32234ad 100644 --- a/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx +++ b/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx @@ -41,7 +41,6 @@ namespace drawinglayer { namespace attribute { }} - namespace drawinglayer { namespace primitive2d @@ -79,7 +78,6 @@ namespace drawinglayer } // end of namespace drawinglayer - #endif // INCLUDED_SVX_SDR_PRIMITIVE2D_SDRDECOMPOSITIONTOOLS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/primitive2d/svx_primitivetypes2d.hxx b/include/svx/sdr/primitive2d/svx_primitivetypes2d.hxx index 1161f2c8c194..5123b811a0e3 100644 --- a/include/svx/sdr/primitive2d/svx_primitivetypes2d.hxx +++ b/include/svx/sdr/primitive2d/svx_primitivetypes2d.hxx @@ -23,7 +23,6 @@ #include <drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx> - #define PRIMITIVE2D_ID_SDRCAPTIONPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_SVX| 0) #define PRIMITIVE2D_ID_SDRCONNECTORPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_SVX| 1) #define PRIMITIVE2D_ID_SDRCUSTOMSHAPEPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_SVX| 2) @@ -51,7 +50,6 @@ #define PRIMITIVE2D_ID_SDRCHAINEDTEXTPRIMITIVE2D (PRIMITIVE2D_ID_RANGE_SVX| 24) - #endif // INCLUDED_SVX_SDR_PRIMITIVE2D_SVX_PRIMITIVETYPES2D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/sdr/properties/defaultproperties.hxx b/include/svx/sdr/properties/defaultproperties.hxx index ccc3b84d5e25..0c70cdfce961 100644 --- a/include/svx/sdr/properties/defaultproperties.hxx +++ b/include/svx/sdr/properties/defaultproperties.hxx @@ -24,7 +24,6 @@ #include <svx/svxdllapi.h> - namespace sdr { namespace properties |