[Libreoffice-commits] core.git: dbaccess/source desktop/source extensions/source framework/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 1 07:52:50 UTC 2020


 dbaccess/source/core/dataaccess/documentdefinition.cxx |    4 ++--
 desktop/source/app/check_ext_deps.cxx                  |    6 +++---
 extensions/source/update/check/updatecheck.cxx         |    6 +++---
 framework/source/dispatch/oxt_handler.cxx              |    6 +++---
 framework/source/dispatch/servicehandler.cxx           |    6 +++---
 5 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 765d57f7550a33380d71a09472419611066076b1
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 16:17:15 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 09:52:12 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I8be2457de5018e1e764e378e609c3a41c3cb9d11
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101802
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index 40fddc4dec36..2bfee3800b3b 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -2015,9 +2015,9 @@ void ODocumentDefinition::fillReportData( const Reference< XComponentContext >&
     }));
     try
     {
-        Reference< XJobExecutor > xExecuteable(
+        Reference< XJobExecutor > xExecutable(
             _rContext->getServiceManager()->createInstanceWithArgumentsAndContext("com.sun.star.wizards.report.CallReportWizard", aArgs, _rContext), UNO_QUERY_THROW );
-        xExecuteable->trigger( "fill" );
+        xExecutable->trigger( "fill" );
     }
     catch( const Exception& )
     {
diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx
index 297f6dfc8444..8af149f1f93b 100644
--- a/desktop/source/app/check_ext_deps.cxx
+++ b/desktop/source/app/check_ext_deps.cxx
@@ -220,9 +220,9 @@ static sal_Int16 impl_showExtensionDialog( uno::Reference< uno::XComponentContex
             "impl_showExtensionDialog(): unable to obtain service manager from component context", uno::Reference< uno::XInterface > () );
 
     xService = xServiceManager->createInstanceWithContext( "com.sun.star.deployment.ui.UpdateRequiredDialog", xContext );
-    uno::Reference< ui::dialogs::XExecutableDialog > xExecuteable( xService, uno::UNO_QUERY );
-    if ( xExecuteable.is() )
-        nRet = xExecuteable->execute();
+    uno::Reference< ui::dialogs::XExecutableDialog > xExecutable( xService, uno::UNO_QUERY );
+    if ( xExecutable.is() )
+        nRet = xExecutable->execute();
 
     return nRet;
 }
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 71a7b1239f63..e7309e4a4725 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -1476,9 +1476,9 @@ void UpdateCheck::showExtensionDialog()
             "UpdateCheck::showExtensionDialog(): unable to obtain service manager from component context", uno::Reference< uno::XInterface > () );
 
     xService = xServiceManager->createInstanceWithContext( "com.sun.star.deployment.ui.PackageManagerDialog", m_xContext );
-    uno::Reference< task::XJobExecutor > xExecuteable( xService, uno::UNO_QUERY );
-    if ( xExecuteable.is() )
-        xExecuteable->trigger( "SHOW_UPDATE_DIALOG" );
+    uno::Reference< task::XJobExecutor > xExecutable( xService, uno::UNO_QUERY );
+    if ( xExecutable.is() )
+        xExecutable->trigger( "SHOW_UPDATE_DIALOG" );
 }
 
 
diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx
index ede5c031e89c..50d402d610d3 100644
--- a/framework/source/dispatch/oxt_handler.cxx
+++ b/framework/source/dispatch/oxt_handler.cxx
@@ -97,9 +97,9 @@ void SAL_CALL Oxt_Handler::dispatchWithNotification( const css::util::URL& aURL,
     lParams[0] <<= aURL.Main;
 
     css::uno::Reference< css::uno::XInterface > xService = m_xContext->getServiceManager()->createInstanceWithArgumentsAndContext( "com.sun.star.deployment.ui.PackageManagerDialog", lParams, m_xContext );
-    css::uno::Reference< css::task::XJobExecutor > xExecuteable( xService, css::uno::UNO_QUERY );
-    if ( xExecuteable.is() )
-        xExecuteable->trigger( OUString() );
+    css::uno::Reference< css::task::XJobExecutor > xExecutable( xService, css::uno::UNO_QUERY );
+    if ( xExecutable.is() )
+        xExecutable->trigger( OUString() );
 
     if ( xListener.is() )
     {
diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx
index 3ce8be684048..cf99c16c27a0 100644
--- a/framework/source/dispatch/servicehandler.cxx
+++ b/framework/source/dispatch/servicehandler.cxx
@@ -207,9 +207,9 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con
         // => a) a service starts running inside his own ctor and we create it only
         xService = m_xContext->getServiceManager()->createInstanceWithContext(sServiceName, m_xContext);
         // or b) he implements the right interface and starts there (may with optional parameters)
-        css::uno::Reference< css::task::XJobExecutor > xExecuteable(xService, css::uno::UNO_QUERY);
-        if (xExecuteable.is())
-            xExecuteable->trigger(sArguments);
+        css::uno::Reference< css::task::XJobExecutor > xExecutable(xService, css::uno::UNO_QUERY);
+        if (xExecutable.is())
+            xExecutable->trigger(sArguments);
     }
     // ignore all errors - inclusive runtime errors!
     // E.g. a script based service (written in Python) could not be executed


More information about the Libreoffice-commits mailing list