[Libreoffice-commits] core.git: compilerplugins/clang extensions/source include/cppuhelper odk/examples sc/source sd/source udkapi/com

Andrea Gelmini andrea.gelmini at gelma.net
Mon Jun 5 15:58:41 UTC 2017


 compilerplugins/clang/redundantcast.cxx                                |    2 +-
 extensions/source/ole/servprov.hxx                                     |    2 +-
 include/cppuhelper/factory.hxx                                         |    4 ++--
 odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx |    2 +-
 sc/source/core/inc/parclass.hxx                                        |    2 +-
 sd/source/core/annotations/Annotation.cxx                              |    2 +-
 udkapi/com/sun/star/lang/ServiceManager.idl                            |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit ac341548dc45fedee5a8d8544afeff6c0e142aa5
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sun Jun 4 23:07:12 2017 +0200

    Fix typos
    
    Change-Id: I9eb05432732a04e816946fbb13001df100a31f73
    Reviewed-on: https://gerrit.libreoffice.org/38395
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/compilerplugins/clang/redundantcast.cxx b/compilerplugins/clang/redundantcast.cxx
index 9604365dc945..87bed77a22f8 100644
--- a/compilerplugins/clang/redundantcast.cxx
+++ b/compilerplugins/clang/redundantcast.cxx
@@ -365,7 +365,7 @@ bool RedundantCast::VisitCXXStaticCastExpr(CXXStaticCastExpr const * expr) {
         report(
             DiagnosticsEngine::Warning,
             ("in static_cast from %0 %1 to %2 %3, remove redundant top-level"
-             " %select{const qualifier|volatile qualifer|const volatile"
+             " %select{const qualifier|volatile qualifier|const volatile"
              " qualifiers}4"),
             expr->getExprLoc())
             << t1 << printExprValueKind(sub->getValueKind())
diff --git a/extensions/source/ole/servprov.hxx b/extensions/source/ole/servprov.hxx
index dfccc74e03ca..bff863b2f0c0 100644
--- a/extensions/source/ole/servprov.hxx
+++ b/extensions/source/ole/servprov.hxx
@@ -239,7 +239,7 @@ protected:
 
     Implementation of the UNO service com.sun.star.bridge.OleApplicationRegistration.
     Register the calling application as OLE automation server for
-    standard OLE object. The objects will be registered while instanciating
+    standard OLE object. The objects will be registered while instantiating
     this implementation and deregistered, if this implementation is destroyed.
 
 *****************************************************************************/
diff --git a/include/cppuhelper/factory.hxx b/include/cppuhelper/factory.hxx
index 21ae8e27b814..062252e92f4e 100644
--- a/include/cppuhelper/factory.hxx
+++ b/include/cppuhelper/factory.hxx
@@ -129,7 +129,7 @@ typedef css::uno::Reference< css::uno::XInterface >(
 
 /** Creates a single component factory supporting the XSingleComponentFactory interface.
 
-    @param fptr function pointer for instanciating the object
+    @param fptr function pointer for instantiating the object
     @param rImplementationName implementation name of service
     @param rServiceNames supported services
     @param pModCount a backwards-compatibility remainder of a removed library
@@ -144,7 +144,7 @@ SAL_CALL createSingleComponentFactory(
 
 /** Creates a single service factory which holds the instance created only once.
 
-    @param fptr function pointer for instanciating the object
+    @param fptr function pointer for instantiating the object
     @param rImplementationName implementation name of service
     @param rServiceNames supported services
     @param pModCount a backwards-compatibility remainder of a removed library
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
index def49109571e..5fa2e5af1331 100644
--- a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
+++ b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
@@ -113,7 +113,7 @@ void MyService2Impl::initialize( Sequence< Any > const & args )
     {
         throw lang::IllegalArgumentException(
             OUString(
-                          "give a string instanciating this component!"),
+                          "give a string instantiating this component!"),
             // resolve to XInterface reference:
             static_cast< ::cppu::OWeakObject * >(this),
             0 ); // argument pos
diff --git a/sc/source/core/inc/parclass.hxx b/sc/source/core/inc/parclass.hxx
index 6b55cc63a2fa..531c110ac98a 100644
--- a/sc/source/core/inc/parclass.hxx
+++ b/sc/source/core/inc/parclass.hxx
@@ -27,7 +27,7 @@
 /** Activate parameter classification documentation.
 
     Building with DEBUG_SC_PARCLASSDOC 1 enables generation of parameter
-    classification documentation when instanciating the first Calc document if
+    classification documentation when instantiating the first Calc document if
     the environment variable OOO_CALC_GENPARCLASSDOC is set and SAL_LOG
     contains +INFO.sc.core
 
diff --git a/sd/source/core/annotations/Annotation.cxx b/sd/source/core/annotations/Annotation.cxx
index 50ff84fbba1c..96d31feb2204 100644
--- a/sd/source/core/annotations/Annotation.cxx
+++ b/sd/source/core/annotations/Annotation.cxx
@@ -437,7 +437,7 @@ std::string lcl_LOKGetCommentPayload(CommentNotificationType nType, Reference<XA
 
     return aStream.str();
 }
-} // unonymous ns
+} // anonymous ns
 
 void LOKCommentNotify(CommentNotificationType nType, const SfxViewShell* pViewShell, Reference<XAnnotation>& rxAnnotation)
 {
diff --git a/udkapi/com/sun/star/lang/ServiceManager.idl b/udkapi/com/sun/star/lang/ServiceManager.idl
index 24f3559adf46..85d9a750c808 100644
--- a/udkapi/com/sun/star/lang/ServiceManager.idl
+++ b/udkapi/com/sun/star/lang/ServiceManager.idl
@@ -113,7 +113,7 @@ published service ServiceManager
     /** Property access.
     */
     [optional] interface com::sun::star::beans::XPropertySet;
-    /** specifies the default component context to be used, if instanciating services
+    /** specifies the default component context to be used, if instantiating services
         via XMultiServiceFactory
     */
     [optional, property] com::sun::star::uno::XComponentContext DefaultContext;


More information about the Libreoffice-commits mailing list