[Libreoffice-commits] core.git: framework/source include/comphelper

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 15 18:49:06 UTC 2021


 framework/source/services/frame.cxx             |    4 ++--
 include/comphelper/multiinterfacecontainer2.hxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d5039e7b4c79b40cf6efb70dd703629cc367fcbf
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 8 22:34:30 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 15 20:48:29 2021 +0200

    Fix typos
    
    Change-Id: I3b75c0b8500bebe3025e038dba02a0d6f444bce6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120181
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 9c3aeb2897ef..6603ceaaecc3 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -1698,11 +1698,11 @@ void SAL_CALL XFrameImpl::close( sal_Bool bDeliverOwnership )
             m_bSelfClose = true;
         }
 
-        throw css::util::CloseVetoException("Frame in use for loading document ...",static_cast< ::cppu::OWeakObject*>(this));
+        throw css::util::CloseVetoException("Frame in use for loading document...",static_cast< ::cppu::OWeakObject*>(this));
     }
 
     if ( ! setComponent(nullptr,nullptr) )
-        throw css::util::CloseVetoException("Component couldn't be deattached ...",static_cast< ::cppu::OWeakObject*>(this));
+        throw css::util::CloseVetoException("Component couldn't be detached...",static_cast< ::cppu::OWeakObject*>(this));
 
     // If closing is allowed... inform all listeners and dispose this frame!
     pContainer = m_aListenerContainer.getContainer( cppu::UnoType<css::util::XCloseListener>::get());
diff --git a/include/comphelper/multiinterfacecontainer2.hxx b/include/comphelper/multiinterfacecontainer2.hxx
index 59d18483baac..e15c26733198 100644
--- a/include/comphelper/multiinterfacecontainer2.hxx
+++ b/include/comphelper/multiinterfacecontainer2.hxx
@@ -41,7 +41,7 @@ namespace comphelper
 {
 /**
   A helper class to store interface references of different types.
-  This is a copy of the similiar class at include/cppuhelper/interfacecontainer.h,
+  This is a copy of the similar class at include/cppuhelper/interfacecontainer.h,
   but now uses the improved comphelper::InterfaceContainer2.
 
   @see OInterfaceIteratorHelper2


More information about the Libreoffice-commits mailing list