summaryrefslogtreecommitdiff
path: root/extensions/test
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/test
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/test')
-rw-r--r--extensions/test/ole/OleClient/axhost.cxx1
-rw-r--r--extensions/test/ole/OleClient/clientTest.cxx14
-rw-r--r--extensions/test/ole/OleConverterVar1/convTest.cxx3
-rw-r--r--extensions/test/ole/cpnt/cpnt.cxx6
-rw-r--r--extensions/test/ole/cppToUno/testcppuno.cxx4
5 files changed, 0 insertions, 28 deletions
diff --git a/extensions/test/ole/OleClient/axhost.cxx b/extensions/test/ole/OleClient/axhost.cxx
index d79ff7b31a10..a163a6a7de4a 100644
--- a/extensions/test/ole/OleClient/axhost.cxx
+++ b/extensions/test/ole/OleClient/axhost.cxx
@@ -41,5 +41,4 @@ LRESULT HostWin::OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, B
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/test/ole/OleClient/clientTest.cxx b/extensions/test/ole/OleClient/clientTest.cxx
index 5759baa24428..d2700be2f1f3 100644
--- a/extensions/test/ole/OleClient/clientTest.cxx
+++ b/extensions/test/ole/OleClient/clientTest.cxx
@@ -189,7 +189,6 @@ bool doParameterTest(const Reference<XInvocation> & inv)
Sequence<Any> seqMix2Out(arArgs1, 3);
-
//in args + out, optional, positional-----------------------------------------
//first general test
seqIndices.realloc(0);
@@ -872,7 +871,6 @@ bool doSimpleTest(const Reference<XInvocation> & inv)
return false;
-
// mixed parameter
// mixed1
@@ -1104,11 +1102,6 @@ HRESULT doTest()
}
-
-
-
-
-
// // in multi Sequences
// // inMulDimArrayLong
@@ -1188,14 +1181,9 @@ HRESULT doTest()
inv->invoke( OUString(L"inMulDimArrayByte2"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut);
-
-
-
-
// Tests with a MFC ActiveX control, ( pure dispinterface)
-
// in parameter MFC ActiveX
// unsigned char is not supported by MFC
@@ -1286,7 +1274,6 @@ HRESULT doTest()
MessageBox( NULL, buff, _T("clientTest"), MB_OK);
-
// Sequence parameter MFC ActiveX
// Sequences are not directly supported.
@@ -1298,7 +1285,6 @@ HRESULT doTest()
}
-
//VARIANT_TRUE VT_UI1
diff --git a/extensions/test/ole/OleConverterVar1/convTest.cxx b/extensions/test/ole/OleConverterVar1/convTest.cxx
index 00cbcc3e276a..112f8dee4b10 100644
--- a/extensions/test/ole/OleConverterVar1/convTest.cxx
+++ b/extensions/test/ole/OleConverterVar1/convTest.cxx
@@ -60,8 +60,6 @@ void printResultVariantArray( VARIANT & var);
void printVariant( VARIANT & var);
-
-
int SAL_CALL _tmain( int argc, _TCHAR * argv[] )
{
HRESULT hr;
@@ -220,7 +218,6 @@ HRESULT doTest()
DISPATCH_METHOD | DISPATCH_PROPERTYGET, &params, &varRet, NULL, NULL);
-
CComVariant varByteArray;
varByteArray.vt= VT_ARRAY | VT_I1;
varByteArray.parray= (SAFEARRAY*)arByte;
diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx
index dba797d49699..d61919ea3ec8 100644
--- a/extensions/test/ole/cpnt/cpnt.cxx
+++ b/extensions/test/ole/cpnt/cpnt.cxx
@@ -60,7 +60,6 @@ using namespace com::sun::star::script;
using namespace com::sun::star::reflection;
-
#define IMPL_NAME L"oletest.OleTestImpl" // oletest.OleTestImpl in applicat.rdb
#define SERVICE_NAME L"oletest.OleTest"
#define KEY1 L"/oletest.OleTestImpl/UNO/SERVICES"
@@ -559,7 +558,6 @@ Sequence< Sequence<Reference<XEventListener > > > SAL_CALL OComponent::methodXEv
}
-
Sequence< sal_Int8 > SAL_CALL OComponent::getAttrByte() throw( RuntimeException)
{
return m_seqByte;
@@ -710,7 +708,6 @@ void SAL_CALL OComponent::setAttrXInterface( const Sequence< Reference< XInterfa
}
-
::sal_Int8 SAL_CALL OComponent::getAByte() throw (RuntimeException)
{
return m_attr_int8;
@@ -1221,7 +1218,6 @@ void SAL_CALL OComponent::setAttrAny2(const Any& AttrAny2_) throw( RuntimeExcept
}
-
// XTestStruct =======================================================================================
void SAL_CALL OComponent::methodStruct(const Property& aProp) throw( RuntimeException )
@@ -1894,8 +1890,6 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac
break;
-
-
}
}
diff --git a/extensions/test/ole/cppToUno/testcppuno.cxx b/extensions/test/ole/cppToUno/testcppuno.cxx
index 1d067bd04552..89764491cfaf 100644
--- a/extensions/test/ole/cppToUno/testcppuno.cxx
+++ b/extensions/test/ole/cppToUno/testcppuno.cxx
@@ -36,7 +36,6 @@
#include <rtl/string.h>
-
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::script;
@@ -72,8 +71,6 @@ int SAL_CALL _tmain( int /*argc*/, _TCHAR * /*argv[]*/ )
}
-
-
HRESULT doTest()
{
HRESULT hr= S_OK;
@@ -166,7 +163,6 @@ HRESULT doTest()
}
-
}
SafeArrayDestroy( par);
}