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 /extensions/workben/pythontest.cxx | |
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 'extensions/workben/pythontest.cxx')
-rw-r--r-- | extensions/workben/pythontest.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/extensions/workben/pythontest.cxx b/extensions/workben/pythontest.cxx index e6b972931b30..b7174dbe12ab 100644 --- a/extensions/workben/pythontest.cxx +++ b/extensions/workben/pythontest.cxx @@ -39,7 +39,6 @@ using ::rtl::StringToOUString; #define PCHAR_TO_USTRING(x) StringToOUString(String(x),CHARSET_SYSTEM) - class NullEngineListenerRef : public XEngineListenerRef { virtual void interrupt(const InterruptEngineEvent& Evt) THROWS( (UsrSystemException) ) {} @@ -149,7 +148,6 @@ protected: }; - void CmdDebugger::cmdLine() { char pcLine[80]; @@ -454,10 +452,6 @@ BOOL CmdDebugger::queryInterface( Uik aUik, XInterfaceRef & rOut ) } - - - - /* * main. */ @@ -520,7 +514,6 @@ int SAL_CALL main (int argc, char **argv) xEngine->runAsync( UString( L"x=x+1\nprint 4\n") , XInterfaceRef(), args , XEngineListenerRef() ); - } else if( argc >1 && ! strcmp( argv[1] , "3" ) ) { |