summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-12 22:06:25 -0400
commit8dcf22abfc6a07ececcef6bb830fdea825d416ec (patch)
tree7e0b3686991aef9689218ed309f462987f36e273 /uui
parentb91e39cf1b2d0c4201993d768a1b2c686eeff0de (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 Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89) Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl.cxx1
-rw-r--r--uui/source/logindlg.hxx8
-rw-r--r--uui/source/loginerr.hxx1
-rw-r--r--uui/source/masterpasscrtdlg.cxx1
-rw-r--r--uui/source/masterpassworddlg.cxx2
-rw-r--r--uui/source/nameclashdlg.hxx1
-rw-r--r--uui/source/passwordcontainer.cxx9
-rw-r--r--uui/source/passwordcontainer.hxx4
-rw-r--r--uui/source/passworddlg.hxx1
-rw-r--r--uui/source/services.cxx2
-rw-r--r--uui/source/sslwarndlg.cxx1
-rw-r--r--uui/source/unknownauthdlg.cxx3
12 files changed, 0 insertions, 34 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index 19e63efabcf1..762535349cd0 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -780,7 +780,6 @@ UUIInteractionHelper::handleRequest_impl(
}
-
// Handle requests which do not have a plain string representation.
if (!bObtainErrorStringOnly)
diff --git a/uui/source/logindlg.hxx b/uui/source/logindlg.hxx
index 34d099793826..567c401e350e 100644
--- a/uui/source/logindlg.hxx
+++ b/uui/source/logindlg.hxx
@@ -38,9 +38,6 @@
#define LF_NO_USESYSCREDS 0x0100 // hide "use system credentials"
-
-
-
class LoginDialog : public ModalDialog
{
VclPtr<FixedText> m_pErrorFT;
@@ -88,11 +85,6 @@ public:
};
-
-
-
-
-
#endif // INCLUDED_UUI_SOURCE_LOGINDLG_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx
index 793b965ac5e7..db4ce88d5178 100644
--- a/uui/source/loginerr.hxx
+++ b/uui/source/loginerr.hxx
@@ -23,7 +23,6 @@
#include <rtl/ustring.hxx>
-
#define LOGINERROR_FLAG_MODIFY_ACCOUNT 1
#define LOGINERROR_FLAG_MODIFY_USER_NAME 2
#define LOGINERROR_FLAG_CAN_REMEMBER_PASSWORD 4
diff --git a/uui/source/masterpasscrtdlg.cxx b/uui/source/masterpasscrtdlg.cxx
index 182f82660762..62b94b9d382b 100644
--- a/uui/source/masterpasscrtdlg.cxx
+++ b/uui/source/masterpasscrtdlg.cxx
@@ -26,7 +26,6 @@
// MasterPasswordCreateDialog---------------------------------------------------
-
IMPL_LINK_NOARG_TYPED(MasterPasswordCreateDialog, EditHdl_Impl, Edit&, void)
{
m_pOKBtn->Enable( m_pEDMasterPasswordCrt->GetText().getLength() >= nMinLen );
diff --git a/uui/source/masterpassworddlg.cxx b/uui/source/masterpassworddlg.cxx
index 5b580945534b..4f055e73c22b 100644
--- a/uui/source/masterpassworddlg.cxx
+++ b/uui/source/masterpassworddlg.cxx
@@ -25,14 +25,12 @@
// MasterPasswordDialog---------------------------------------------------
-
IMPL_LINK_NOARG_TYPED(MasterPasswordDialog, OKHdl_Impl, Button*, void)
{
EndDialog( RET_OK );
}
-
MasterPasswordDialog::MasterPasswordDialog
(
vcl::Window* pParent,
diff --git a/uui/source/nameclashdlg.hxx b/uui/source/nameclashdlg.hxx
index c33649f5708d..2c850d5b0cc7 100644
--- a/uui/source/nameclashdlg.hxx
+++ b/uui/source/nameclashdlg.hxx
@@ -26,7 +26,6 @@
#include <vcl/edit.hxx>
-
enum NameClashResolveDialogResult { ABORT, RENAME, OVERWRITE };
class NameClashDialog : public ModalDialog
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx
index 342aa651f0d7..f7e3d428beb3 100644
--- a/uui/source/passwordcontainer.cxx
+++ b/uui/source/passwordcontainer.cxx
@@ -272,9 +272,6 @@ bool PasswordContainerHelper::addRecord(
}
-
-
-
PasswordContainerInteractionHandler::PasswordContainerInteractionHandler(
const uno::Reference< uno::XComponentContext >& xContext )
: m_aPwContainerHelper( xContext )
@@ -288,11 +285,9 @@ PasswordContainerInteractionHandler::~PasswordContainerInteractionHandler()
}
-
// XServiceInfo methods.
-
// virtual
OUString SAL_CALL
PasswordContainerInteractionHandler::getImplementationName()
@@ -338,11 +333,9 @@ PasswordContainerInteractionHandler::getSupportedServiceNames_Static()
}
-
// XInteractionHandler2 methods.
-
// virtual
void SAL_CALL
PasswordContainerInteractionHandler::handle(
@@ -407,11 +400,9 @@ PasswordContainerInteractionHandler::handleInteractionRequest(
}
-
// Service factory implementation.
-
static uno::Reference< uno::XInterface > SAL_CALL
PasswordContainerInteractionHandler_CreateInstance(
const uno::Reference< lang::XMultiServiceFactory> & rSMgr )
diff --git a/uui/source/passwordcontainer.hxx b/uui/source/passwordcontainer.hxx
index a638a9e7a890..42a56e4d3b61 100644
--- a/uui/source/passwordcontainer.hxx
+++ b/uui/source/passwordcontainer.hxx
@@ -41,7 +41,6 @@ namespace com {
namespace uui {
-
/** Passwordcontainer UNO service (com.sun.star.task.PasswordContainer) helper.
*/
class PasswordContainerHelper
@@ -51,7 +50,6 @@ public:
css::uno::Reference< css::uno::XComponentContext > const & xContext );
-
/** This member function tries to handle an authentication interaction
request by looking up credentials for the given URL in the password
container service.
@@ -121,13 +119,11 @@ public:
bool bPersist );
-
private:
css::uno::Reference< css::task::XPasswordContainer2 > m_xPasswordContainer;
};
-
class PasswordContainerInteractionHandler :
public cppu::WeakImplHelper< css::lang::XServiceInfo,
css::task::XInteractionHandler2 >
diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx
index 6dfaed4fec8e..742174b80cb6 100644
--- a/uui/source/passworddlg.hxx
+++ b/uui/source/passworddlg.hxx
@@ -29,7 +29,6 @@
#include <vcl/fixed.hxx>
-
class PasswordDialog : public ModalDialog
{
VclPtr<FixedText> m_pFTPassword;
diff --git a/uui/source/services.cxx b/uui/source/services.cxx
index 162cedba1042..e914508227a9 100644
--- a/uui/source/services.cxx
+++ b/uui/source/services.cxx
@@ -32,7 +32,6 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
-
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL uui_component_getFactory(sal_Char const * pImplName,
void * pServiceManager,
void *)
@@ -75,7 +74,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL uui_component_getFactory(sal_Cha
}
-
if ( xFactory.is() )
{
xFactory->acquire();
diff --git a/uui/source/sslwarndlg.cxx b/uui/source/sslwarndlg.cxx
index 1e3a55edda88..53da63af1952 100644
--- a/uui/source/sslwarndlg.cxx
+++ b/uui/source/sslwarndlg.cxx
@@ -37,7 +37,6 @@ void SSLWarnDialog::ViewCert()
}
-
SSLWarnDialog::SSLWarnDialog(vcl::Window* pParent,
const css::uno::Reference< css::security::XCertificate >& rXCert,
const css::uno::Reference< css::uno::XComponentContext >& xContext)
diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx
index 378b98f45327..9184365a160c 100644
--- a/uui/source/unknownauthdlg.cxx
+++ b/uui/source/unknownauthdlg.cxx
@@ -28,7 +28,6 @@
using namespace css;
-
IMPL_LINK_NOARG_TYPED(UnknownAuthDialog, OKHdl_Impl, Button*, void)
{
if ( m_pOptionButtonAccept->IsChecked() )
@@ -41,7 +40,6 @@ IMPL_LINK_NOARG_TYPED(UnknownAuthDialog, OKHdl_Impl, Button*, void)
}
-
IMPL_LINK_NOARG_TYPED(UnknownAuthDialog, ViewCertHdl_Impl, Button*, void)
{
uno::Reference< css::security::XDocumentDigitalSignatures > xDocumentDigitalSignatures(
@@ -51,7 +49,6 @@ IMPL_LINK_NOARG_TYPED(UnknownAuthDialog, ViewCertHdl_Impl, Button*, void)
}
-
UnknownAuthDialog::UnknownAuthDialog(vcl::Window* pParent,
const css::uno::Reference< css::security::XCertificate >& rXCert,
const css::uno::Reference< css::uno::XComponentContext >& xContext)