summaryrefslogtreecommitdiff
path: root/svtools/source/java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 15:43:34 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-24 06:45:07 +0000
commit24ca187b6370ca56c8acd92bc405028dd9deb5f2 (patch)
tree07fa9921bc8f6b101500e152fdad0b18b1d3397b /svtools/source/java
parentdb12f068f849dc0e03d43ee6688ba342e985fa04 (diff)
loplugin:singlevalfields in svtools
Change-Id: I80fe1d4646af2b8d8e6362a25f6cda4b7ac29eab Reviewed-on: https://gerrit.libreoffice.org/26603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source/java')
-rw-r--r--svtools/source/java/javacontext.cxx5
1 files changed, 2 insertions, 3 deletions
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);