diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-01-16 22:28:50 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-01-17 06:06:17 +0000 |
commit | 98397a48f1f33be3405b0f462fc20422f6363b68 (patch) | |
tree | b5a9e3cb982a43d1c5ab199631a0959f477860ff /scripting | |
parent | bc2dee995b38fd16336541d533a105245aa681d2 (diff) |
Typo: listerner->listener
Change-Id: Ib2cb62477630641f0302769eacdd0dd00f4e760c
Reviewed-on: https://gerrit.libreoffice.org/33192
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.cxx | 14 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.hxx | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx index 633ec641ad88..ca25c1458f78 100644 --- a/scripting/source/dlgprov/dlgevtatt.cxx +++ b/scripting/source/dlgprov/dlgevtatt.cxx @@ -156,12 +156,12 @@ namespace dlgprov // key listeners by protocol when ScriptType = 'Script' // otherwise key is the ScriptType e.g. StarBasic if ( rxRTLListener.is() ) // set up handler for RTL_BASIC - listernersForTypes[ OUString("StarBasic") ] = rxRTLListener; + listenersForTypes[ OUString("StarBasic") ] = rxRTLListener; else - listernersForTypes[ OUString("StarBasic") ] = new DialogLegacyScriptListenerImpl( rxContext, rxModel ); + listenersForTypes[ OUString("StarBasic") ] = new DialogLegacyScriptListenerImpl( rxContext, rxModel ); // handler for Script & OUString("vnd.sun.star.UNO:") - listernersForTypes[ OUString("vnd.sun.star.UNO") ] = new DialogUnoScriptListenerImpl( rxContext, rxModel, rxControl, rxHandler, rxIntrospect, bProviderMode ); - listernersForTypes[ OUString("vnd.sun.star.script") ] = new DialogSFScriptListenerImpl( rxContext, rxModel ); + listenersForTypes[ OUString("vnd.sun.star.UNO") ] = new DialogUnoScriptListenerImpl( rxContext, rxModel, rxControl, rxHandler, rxIntrospect, bProviderMode ); + listenersForTypes[ OUString("vnd.sun.star.script") ] = new DialogSFScriptListenerImpl( rxContext, rxModel ); // determine the VBA compatibility mode from the Basic library container try @@ -175,7 +175,7 @@ namespace dlgprov { } if ( mbUseFakeVBAEvents ) - listernersForTypes[ OUString("VBAInterop") ] = new DialogVBAScriptListenerImpl( rxContext, rxControl, rxModel, sDialogLibName ); + listenersForTypes[ OUString("VBAInterop") ] = new DialogVBAScriptListenerImpl( rxContext, rxControl, rxModel, sDialogLibName ); } @@ -187,8 +187,8 @@ namespace dlgprov Reference< script::XScriptListener > DialogEventsAttacherImpl::getScriptListenerForKey( const OUString& sKey ) throw ( RuntimeException ) { - ListenerHash::iterator it = listernersForTypes.find( sKey ); - if ( it == listernersForTypes.end() ) + ListenerHash::iterator it = listenersForTypes.find( sKey ); + if ( it == listenersForTypes.end() ) throw RuntimeException(); // more text info here please return it->second; } diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx index 033f25831b96..46cef1442634 100644 --- a/scripting/source/dlgprov/dlgevtatt.hxx +++ b/scripting/source/dlgprov/dlgevtatt.hxx @@ -49,7 +49,7 @@ namespace dlgprov { private: bool mbUseFakeVBAEvents; - ListenerHash listernersForTypes; + ListenerHash listenersForTypes; css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::script::XEventAttacher > m_xEventAttacher; css::uno::Reference< css::script::XScriptListener > getScriptListenerForKey( const OUString& sScriptName ) throw ( css::uno::RuntimeException ); |