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 /odk/examples/cpp | |
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 'odk/examples/cpp')
-rw-r--r-- | odk/examples/cpp/counter/countermain.cxx | 1 | ||||
-rw-r--r-- | odk/examples/cpp/custompanel/ctp_panel.hxx | 1 | ||||
-rw-r--r-- | odk/examples/cpp/custompanel/ctp_services.cxx | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/odk/examples/cpp/counter/countermain.cxx b/odk/examples/cpp/counter/countermain.cxx index a00e22143605..72ce6b4f729f 100644 --- a/odk/examples/cpp/counter/countermain.cxx +++ b/odk/examples/cpp/counter/countermain.cxx @@ -60,7 +60,6 @@ using namespace com::sun::star::lang; using namespace ::rtl; - SAL_IMPLEMENT_MAIN() { try { diff --git a/odk/examples/cpp/custompanel/ctp_panel.hxx b/odk/examples/cpp/custompanel/ctp_panel.hxx index 098faba050f3..c811f24e6fb1 100644 --- a/odk/examples/cpp/custompanel/ctp_panel.hxx +++ b/odk/examples/cpp/custompanel/ctp_panel.hxx @@ -31,7 +31,6 @@ #include <cppuhelper/basemutex.hxx> - namespace sd { namespace colortoolpanel { diff --git a/odk/examples/cpp/custompanel/ctp_services.cxx b/odk/examples/cpp/custompanel/ctp_services.cxx index 4b96e2b14e55..d259028b1986 100644 --- a/odk/examples/cpp/custompanel/ctp_services.cxx +++ b/odk/examples/cpp/custompanel/ctp_services.cxx @@ -27,8 +27,6 @@ namespace sd { namespace colortoolpanel { - - //= descriptors for the services implemented in this component static struct ::cppu::ImplementationEntry s_aServiceEntries[] = |