diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-09 08:37:09 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-09 08:49:59 +0000 |
commit | c3c3e5b0554ca3f49649c96cf0b0b1b770713532 (patch) | |
tree | ca72b4772363484cc3664c26b70698fc396c8e8b /svtools/source/java | |
parent | d4b0ab2214425545aac5d98c49dc320ee39d6dc2 (diff) |
loplugin:constantparam in svtools
Change-Id: I04caae0c9ae621c55e16d3bdc014a4729617feb3
Reviewed-on: https://gerrit.libreoffice.org/28757
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source/java')
-rw-r--r-- | svtools/source/java/javacontext.cxx | 2 | ||||
-rw-r--r-- | svtools/source/java/javainteractionhandler.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/java/javacontext.cxx b/svtools/source/java/javacontext.cxx index b03398755a2e..82b76e34acac 100644 --- a/svtools/source/java/javacontext.cxx +++ b/svtools/source/java/javacontext.cxx @@ -68,7 +68,7 @@ Any SAL_CALL JavaContext::getValueByName( const OUString& Name) throw (RuntimeEx { osl::MutexGuard aGuard(osl::Mutex::getGlobalMutex()); if (!m_xHandler.is()) - m_xHandler.set( new JavaInteractionHandler(true/*bShowErrorsOnce*/)); + m_xHandler.set( new JavaInteractionHandler ); } retVal = makeAny(m_xHandler); diff --git a/svtools/source/java/javainteractionhandler.cxx b/svtools/source/java/javainteractionhandler.cxx index b1f8e452b0a6..f947a288eac3 100644 --- a/svtools/source/java/javainteractionhandler.cxx +++ b/svtools/source/java/javainteractionhandler.cxx @@ -45,9 +45,9 @@ using namespace com::sun::star::task; namespace svt { -JavaInteractionHandler::JavaInteractionHandler(bool bReportErrorOnce) : +JavaInteractionHandler::JavaInteractionHandler() : m_aRefCount(0), - m_bShowErrorsOnce(bReportErrorOnce), + m_bShowErrorsOnce(true), m_bJavaDisabled_Handled(false), m_bInvalidSettings_Handled(false), m_bJavaNotFound_Handled(false), |