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 /desktop/win32 | |
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 'desktop/win32')
-rw-r--r-- | desktop/win32/source/guiloader/genericloader.cxx | 3 | ||||
-rw-r--r-- | desktop/win32/source/officeloader/officeloader.cxx | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/desktop/win32/source/guiloader/genericloader.cxx b/desktop/win32/source/guiloader/genericloader.cxx index 4c3d94883e6d..76ee748de1a4 100644 --- a/desktop/win32/source/guiloader/genericloader.cxx +++ b/desktop/win32/source/guiloader/genericloader.cxx @@ -41,7 +41,6 @@ #include "../loader.hxx" - static int GenericMain() { TCHAR szTargetFileName[MAX_PATH]; @@ -143,7 +142,6 @@ static int GenericMain() } - #ifdef __MINGW32__ int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) #else @@ -154,7 +152,6 @@ int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) } - #ifdef __MINGW32__ int __cdecl main() #else diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx index e782c90c94b0..99404488b753 100644 --- a/desktop/win32/source/officeloader/officeloader.cxx +++ b/desktop/win32/source/officeloader/officeloader.cxx @@ -117,8 +117,6 @@ BOOL WINAPI ConvertSidToStringSid( PSID pSid, LPTSTR* StringSid ) } - - static LPTSTR *GetCommandArgs( int *pArgc ) { #ifdef UNICODE @@ -130,7 +128,6 @@ static LPTSTR *GetCommandArgs( int *pArgc ) } - namespace { bool writeArgument(HANDLE pipe, char prefix, WCHAR const * argument) { |