summaryrefslogtreecommitdiff
path: root/extensions/workben
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:18:05 +0000
commita238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch)
tree083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /extensions/workben
parent538f276ae0414ea34ede6090b5f56e8fecd6fc65 (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')
-rw-r--r--extensions/workben/pythonautotest.cxx5
-rw-r--r--extensions/workben/pythontest.cxx7
-rw-r--r--extensions/workben/testcomponent.cxx1
-rw-r--r--extensions/workben/testframecontrol.cxx5
-rw-r--r--extensions/workben/testresource.cxx1
5 files changed, 0 insertions, 19 deletions
diff --git a/extensions/workben/pythonautotest.cxx b/extensions/workben/pythonautotest.cxx
index 3fe5365210de..e4804608bf5e 100644
--- a/extensions/workben/pythonautotest.cxx
+++ b/extensions/workben/pythonautotest.cxx
@@ -38,9 +38,6 @@ using ::rtl::StringToOUString;
#define USTRING_TO_PCHAR(x) OUStringToString(x , CHARSET_DONTKNOW ).GetCharStr()
-
-
-
/*****
*
* A Test root object !
@@ -271,7 +268,6 @@ protected:
};
-
void TestListener::cmdLine()
{
// Condition is set by running listener
@@ -390,7 +386,6 @@ BOOL PythonCodeLibrary::queryInterface( Uik aUik, XInterfaceRef & rOut )
}
-
/*
* main.
*/
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" ) ) {
diff --git a/extensions/workben/testcomponent.cxx b/extensions/workben/testcomponent.cxx
index 721d2b05990b..47eedfa23669 100644
--- a/extensions/workben/testcomponent.cxx
+++ b/extensions/workben/testcomponent.cxx
@@ -18,7 +18,6 @@
*/
-
// testcomponent - Loads a service and its testcomponent from dlls performs a test.
// Expands the dll-names depending on the actual environment.
// Example : testcomponent com.sun.star.io.Pipe stm
diff --git a/extensions/workben/testframecontrol.cxx b/extensions/workben/testframecontrol.cxx
index 5cfa08c2c2a5..593ea72897b1 100644
--- a/extensions/workben/testframecontrol.cxx
+++ b/extensions/workben/testframecontrol.cxx
@@ -185,7 +185,6 @@ void Listener_Impl::windowPaint( const PaintEvent& evt )
void Listener_Impl::disposing( const EventObject& evt ) {}
-
class FrameControlApplication
: public Application
{
@@ -233,9 +232,6 @@ void FrameControlApplication::init()
}
-
-
-
XInterfaceRef xInst = xMgr->createInstance( L"stardiv.one.frame.FrameControl" );
if (xInst->queryInterface( XControl::getSmartUik(), _xControl ))
{
@@ -276,7 +272,6 @@ void FrameControlApplication::deinit()
}
-
void FrameControlApplication::Main()
{
// void TestErrcodes();
diff --git a/extensions/workben/testresource.cxx b/extensions/workben/testresource.cxx
index e31420824349..65be9b946b23 100644
--- a/extensions/workben/testresource.cxx
+++ b/extensions/workben/testresource.cxx
@@ -38,7 +38,6 @@ public:
MyApp aMyApp;
-
void MyApp::Main()
{
XMultiServiceFactoryRef xSMgr = createRegistryServiceManager();