From 24ca187b6370ca56c8acd92bc405028dd9deb5f2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 23 Jun 2016 15:43:34 +0200 Subject: loplugin:singlevalfields in svtools Change-Id: I80fe1d4646af2b8d8e6362a25f6cda4b7ac29eab Reviewed-on: https://gerrit.libreoffice.org/26603 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/java/javacontext.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'svtools/source/java') diff --git a/svtools/source/java/javacontext.cxx b/svtools/source/java/javacontext.cxx index d4cf64805994..b03398755a2e 100644 --- a/svtools/source/java/javacontext.cxx +++ b/svtools/source/java/javacontext.cxx @@ -30,8 +30,7 @@ namespace svt JavaContext::JavaContext( const Reference< XCurrentContext > & ctx) : m_aRefCount(0), - m_xNextContext( ctx ), - m_bShowErrorsOnce(true) + m_xNextContext( ctx ) { } @@ -69,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(m_bShowErrorsOnce)); + m_xHandler.set( new JavaInteractionHandler(true/*bShowErrorsOnce*/)); } retVal = makeAny(m_xHandler); -- cgit