[Libreoffice-commits] core.git: include/ucbhelper include/unotools include/vcl odk/examples offapi/com officecfg/registry officecfg/util opencl/inc pyuno/GeneratedPackage_python-core.mk pyuno/README sal/qa sc/inc sc/qa sc/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Oct 1 19:10:42 UTC 2016


 include/ucbhelper/interceptedinteraction.hxx                                |    2 +-
 include/unotools/mediadescriptor.hxx                                        |    2 +-
 include/vcl/uitest/uiobject.hxx                                             |    2 +-
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java |    2 +-
 offapi/com/sun/star/awt/UnoControlFixedTextModel.idl                        |    2 +-
 offapi/com/sun/star/text/AccessibleParagraphView.idl                        |    2 +-
 offapi/com/sun/star/ui/XAcceleratorConfiguration.idl                        |    4 ++--
 officecfg/registry/schema/org/openoffice/Office/Common.xcs                  |    2 +-
 officecfg/registry/schema/org/openoffice/Setup.xcs                          |    2 +-
 officecfg/util/AcceleratorKeyChecker.fodt                                   |    4 ++--
 opencl/inc/opencl_device_selection.h                                        |    2 +-
 pyuno/GeneratedPackage_python-core.mk                                       |    2 +-
 pyuno/README                                                                |    2 +-
 sal/qa/osl/file/osl_File.cxx                                                |    2 +-
 sal/qa/osl/pipe/osl_Pipe.cxx                                                |    2 +-
 sc/inc/address.hxx                                                          |    2 +-
 sc/qa/unit/mark_test.cxx                                                    |    2 +-
 sc/source/core/data/markmulti.cxx                                           |    2 +-
 sc/source/core/tool/interpr4.cxx                                            |    2 +-
 sc/source/ui/vba/vbaapplication.cxx                                         |    2 +-
 20 files changed, 22 insertions(+), 22 deletions(-)

New commits:
commit 6445d8d7d662d9bbeb20647bd14470ff7a4dba34
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Oct 1 13:09:49 2016 +0200

    Fix typos
    
    Change-Id: Icfc61fcc5ace717bca4bea988243674afe31e6f8
    Reviewed-on: https://gerrit.libreoffice.org/29435
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index 3bc55df..72d6bd3 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -64,7 +64,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
             css::uno::Type Continuation;
 
 
-            /** @short  its an unique identifier, which must be managed by the outside code.
+            /** @short  it's an unique identifier, which must be managed by the outside code.
 
                 @descr  If there is a derived class, which overwrites the InterceptedInteraction::intercepted()
                         method, it will be called with a reference to an InterceptedRequest struct.
diff --git a/include/unotools/mediadescriptor.hxx b/include/unotools/mediadescriptor.hxx
index 56b5b34..26f68cc6 100644
--- a/include/unotools/mediadescriptor.hxx
+++ b/include/unotools/mediadescriptor.hxx
@@ -287,7 +287,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap
         /** @short  tries to open a stream by using the given URL.
 
             @descr  First it tries to open the content in r/w mode (if its
-                    allowed to do so). Only in case its not allowed or it failed
+                    allowed to do so). Only in case it's not allowed or it failed
                     the stream will be tried to open in readonly mode.
 
                     The MediaDescriptor itself is changed inside this method.
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index 81ce297..f2eae6e 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -73,7 +73,7 @@ public:
     virtual std::unique_ptr<UIObject> get_child(const OUString& rID);
 
     /**
-     * Returns a set containing all decendants of the object.
+     * Returns a set containing all descendants of the object.
      */
     virtual std::set<OUString> get_children() const;
 
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index c5334f8..43b3d98 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -359,7 +359,7 @@ public class DocumentView extends    JFrame
 
     /**
      * callback from our internal saved frame
-     * which wish to die. Its not necessary to remove listener connections
+     * which wish to die. It's not necessary to remove listener connections
      * here. Because the broadcaster do it automatically.
      * We have to release all references to him only.
      *
diff --git a/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl b/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl
index ed9a941..a5cbe7f 100644
--- a/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl
+++ b/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl
@@ -138,7 +138,7 @@ published service UnoControlFixedTextModel
 
     //-------------------------------------------------------------------------
 
-    /** supresses automatic accelerator assignment on this control.
+    /** suppresses automatic accelerator assignment on this control.
 
         @since OOo 2.4
      */
diff --git a/offapi/com/sun/star/text/AccessibleParagraphView.idl b/offapi/com/sun/star/text/AccessibleParagraphView.idl
index acf98c9..5f94827 100644
--- a/offapi/com/sun/star/text/AccessibleParagraphView.idl
+++ b/offapi/com/sun/star/text/AccessibleParagraphView.idl
@@ -113,7 +113,7 @@ service AccessibleParagraphView
         ::com::sun::star::style::CharacterProperties. For
         properties that have Asian and complex counterparts, the value that
         is visible is returned. This can be in fact the western, Asian or
-        complex value.  Its not possible to change the value of any property
+        complex value. It's not possible to change the value of any property
         by using
         ::com::sun::star::accessibility::XAccessibleEditableText::setAttributes().
         <p><em>TODO: If there is a demand, some attributes might be added that
diff --git a/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl b/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
index 9a88b60..591d3d5 100644
--- a/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
+++ b/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
@@ -130,7 +130,7 @@ interface XAcceleratorConfiguration
         @throws ::com::sun::star::lang::IllegalArgumentException
                 if the key event isn't a valid one. Commands can be
                 checked only, if they are empty. Because every URL schema can be used
-                by commands in general, so its not possible to validate it.
+                by commands in general, so it's not possible to validate it.
      */
     void setKeyEvent( [in] com::sun::star::awt::KeyEvent aKeyEvent,
                       [in] string                        sCommand )
@@ -193,7 +193,7 @@ interface XAcceleratorConfiguration
         This internal selection can't be influenced from outside.
         </p>
 
-        @attention  Because its not defined, that any command (e.g. configured inside a menu)
+        @attention  Because it's not defined, that any command (e.g. configured inside a menu)
                     must have an accelerator - we can't reject the call if at least one command
                     does not occur inside this configuration set ...
                     We handle it more gracefully - and return an empty item instead of throwing
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index dd3f6a5..c8c7720 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -5675,7 +5675,7 @@
       </prop>
       <prop oor:name="SelectedOpenCLDeviceIdentifier" oor:type="xs:string" oor:nillable="false">
         <info>
-          <desc>A string identifying the OpenCL device that was successfully selected and passed the OpenCL calculation tests. The syntax of this value is purposedly not documented. For LibreOffice internal use only, do not inspect this value or try to modify it from any level of user code.</desc>
+          <desc>A string identifying the OpenCL device that was successfully selected and passed the OpenCL calculation tests. The syntax of this value is purposely not documented. For LibreOffice internal use only, do not inspect this value or try to modify it from any level of user code.</desc>
         </info>
         <value>none</value>
       </prop>
diff --git a/officecfg/registry/schema/org/openoffice/Setup.xcs b/officecfg/registry/schema/org/openoffice/Setup.xcs
index 0b3ee4e..3eecf97 100644
--- a/officecfg/registry/schema/org/openoffice/Setup.xcs
+++ b/officecfg/registry/schema/org/openoffice/Setup.xcs
@@ -138,7 +138,7 @@
       <prop oor:name="ooSetupFactoryDocumentService" oor:type="xs:string">
         <!-- UIHints: setup -->
         <info>
-          <desc>Its the service name of the document model used by this module.
+          <desc>It's the service name of the document model used by this module.
           E.g. filter match against those service name.</desc>
         </info>
       </prop>
diff --git a/officecfg/util/AcceleratorKeyChecker.fodt b/officecfg/util/AcceleratorKeyChecker.fodt
index f6aba7a..9ad75c1 100644
--- a/officecfg/util/AcceleratorKeyChecker.fodt
+++ b/officecfg/util/AcceleratorKeyChecker.fodt
@@ -742,7 +742,7 @@ End Sub
     <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
    </text:sequence-decls>
    <text:h text:style-name="P5" text:outline-level="1">Accelerator key check</text:h>
-   <text:p text:style-name="P1">This document contains some code to traverse the menus and generate a reports the contents of the main menu items and it's accelerator keys. If there is a duplicate and the menu item has a sub menu then that means that the user wont be able to reach the second menu item with the same accelerator key. Therefore it will be marked with a <text:span text:style-name="T2">red</text:span> background color. If it has the same key <text:span text:style-name="T6">but don't have a sub-menu it is marked with a </text:span><text:span text:style-name="T3">yellow</text:span><text:span text:style-name="T6"> background, this is still a problem </text:span>that should be fixed but the <text:span text:style-name="T7">problem</text:span> is just not <text:span text:style-name="T1">quite </text:span>as severe.</text:p>
+   <text:p text:style-name="P1">This document contains some code to traverse the menus and generate a reports the contents of the main menu items and it's accelerator keys. If there is a duplicate and the menu item has a sub menu then that means that the user won't be able to reach the second menu item with the same accelerator key. Therefore it will be marked with a <text:span text:style-name="T2">red</text:span> background color. If it has the same key <text:span text:style-name="T6">but don't have a sub-menu it is marked with a </text:span><text:span text:style-name="T3">yellow</text:span><text:span text:style-name="T6"> background, this is still a problem </text:span>that should be fixed but the <text:span text:style-name="T7">problem</text:span> is just not <text:span text:style-name="T1">quite </text:span>as severe.</text:p>
    <text:p text:style-name="P1"><draw:control text:anchor-type="as-char" svg:y="0cm" draw:z-index="0" draw:style-name="gr1" draw:text-style-name="P11" svg:width="3.89cm" svg:height="1.324cm" draw:control="control1"/></text:p>
    <text:p text:style-name="P2">If nothing happens when you press Generate report then the macros have probably been blocked for security reasons. To allow the report tobe generated you need change this setting. To do this:</text:p>
    <text:list xml:id="list8718540425442089522" text:style-name="L1">
@@ -768,4 +768,4 @@ End Sub
    <text:p text:style-name="P3">Of course you need to pay attention when this dialog shows up and don't <text:span text:style-name="T5">blindly </text:span>allow macros to run if you don't know where it comes from and what it does.</text:p>
   </office:text>
  </office:body>
-</office:document>
\ No newline at end of file
+</office:document>
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h
index 543c629..19202ad 100644
--- a/opencl/inc/opencl_device_selection.h
+++ b/opencl/inc/opencl_device_selection.h
@@ -321,7 +321,7 @@ public:
  * XmlWalker main purpose is to make it easier for walking the
  * parsed XML DOM tree.
  *
- * It hides all the libxml2 and C -isms and makes the useage more
+ * It hides all the libxml2 and C -isms and makes the usage more
  * comfortable from LO developer point of view.
  *
  * TODO: move to common code
diff --git a/pyuno/GeneratedPackage_python-core.mk b/pyuno/GeneratedPackage_python-core.mk
index 88cd9b9..ec6123e 100644
--- a/pyuno/GeneratedPackage_python-core.mk
+++ b/pyuno/GeneratedPackage_python-core.mk
@@ -12,7 +12,7 @@ $(eval $(call gb_GeneratedPackage_GeneratedPackage,python-core,$(MINGW_SYSROOT)/
 # NOTE: The original code excluded *.pyc, *.py~, *.orig and *_failed . I
 # assume it was just a size optimization. If their presence actually
 # causes a problem, an extension of GeneratedPackage is is left as an
-# excercise for the poor misguided person who wants to cross-compile
+# exercise for the poor misguided person who wants to cross-compile
 # with mingw and system python and actually use the results for
 # something.
 $(eval $(call gb_GeneratedPackage_add_dir,python-core,$(INSTDIR)/program/python-core-$(PYTHON_VERSION)/lib,python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)))
diff --git a/pyuno/README b/pyuno/README
index 26f929a..4d88391 100644
--- a/pyuno/README
+++ b/pyuno/README
@@ -13,7 +13,7 @@ that is copied to instdir and will be auto-loaded by gdb;
 it provides commands like "py-bt" to get a python-level backtrace,
 and "py-print" to print python variables.
 
-Another way to debug python code is to use pdb: edit some initalization
+Another way to debug Python code is to use pdb: edit some initialization
 function to insert "import pdb; pdb.set_trace()" (somewhere so that it is
 executed early), then run soffice from a terminal and a command-line python
 debugger will appear where you can set python-level breakpoints.
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 01a4954..14922cd 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -3487,7 +3487,7 @@ namespace osl_File
             CPPUNIT_ASSERT_MESSAGE( "test for setTime function: set access time then get it. time precision is still a problem for it cut off the nanosec.",
                 t_compareTime( pTV_access, pTV_current, delta ) );
 #if defined(_WIN32)
-            //Unfortunately there is no way to get the creation time of a file under Unix (its a Windows only feature).
+            //Unfortunately there is no way to get the creation time of a file under Unix (it's a Windows only feature).
             //That means the flag osl_FileStatus_Mask_CreationTime should be deprecated under Unix.
             CPPUNIT_ASSERT_MESSAGE( "test for setTime function: set creation time then get it. ",
                 sal_True == t_compareTime( pTV_creation, pTV_current, delta ) ) ;
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index d3510e1..543b730 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -430,7 +430,7 @@ namespace osl_Pipe
                 bRes  = aPipe == aPipe;
                 aPipe.close( );
 
-                CPPUNIT_ASSERT_MESSAGE( "#test comment#: test isEqual(), compare its self.",
+                CPPUNIT_ASSERT_MESSAGE( "#test comment#: test isEqual(), compare itself.",
                                         bRes );
             }
 
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 3d57844..63d8371 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -309,7 +309,7 @@ public:
 
     /**
         @param  pSheetEndPos
-                If given and Parse() sucessfully parsed a sheet name it returns
+                If given and Parse() successfully parsed a sheet name it returns
                 the end position (exclusive) behind the sheet name AND a
                 following sheet name separator. This independent of whether the
                 resulting reference is fully valid or not.
diff --git a/sc/qa/unit/mark_test.cxx b/sc/qa/unit/mark_test.cxx
index 957d5fe..6c98329 100644
--- a/sc/qa/unit/mark_test.cxx
+++ b/sc/qa/unit/mark_test.cxx
@@ -63,7 +63,7 @@ struct MultiMarkTestData
     std::vector<MarkArrayTestData> aMarkArrays;
 
     // To test ScMultiSel::HasOneMark()
-    // Encoding : StartCol is the column to test, StartRow is the begining of the one mark,
+    // Encoding : StartCol is the column to test, StartRow is the beginning of the one mark,
     // EndRow is the end of the one mark, EndCol is not used
     std::vector<ScRange> aColsWithOneMark;
     std::vector<SCCOL> aColsWithoutOneMark;
diff --git a/sc/source/core/data/markmulti.cxx b/sc/source/core/data/markmulti.cxx
index ea1eb5b..0461986 100644
--- a/sc/source/core/data/markmulti.cxx
+++ b/sc/source/core/data/markmulti.cxx
@@ -256,7 +256,7 @@ void ScMultiSel::SetMarkArea( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, S
     MapType::iterator aIter = aMultiSelContainer.end();
     for ( SCCOL nColIter = nEndCol; nColIter >= nStartCol; --nColIter )
     {
-        // First hint is usually off, so the first emplace operation will take upto
+        // First hint is usually off, so the first emplace operation will take up to
         // logarithmic in map size, all other iterations will take only constant time.
         aIter = aMultiSelContainer.emplace_hint( aIter, nColIter, ScMarkArray() );
         aIter->second.SetMarkArea( nStartRow, nEndRow, bMark );
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 6bc8662..6175d87 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4471,7 +4471,7 @@ StackVar ScInterpreter::Interpret()
                     {
                         // If typed, pop token to obtain type information and
                         // push a plain untyped double so the result token to
-                        // be transfered to the formula cell result does not
+                        // be transferred to the formula cell result does not
                         // unnecessarily duplicate the information.
                         if (pCur->GetDoubleType())
                         {
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index aaba52d..cf2c121 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -687,7 +687,7 @@ ScVbaApplication::setCursor( sal_Int32 _cursor ) throw (uno::RuntimeException, s
 }
 
 // #TODO perhaps we should switch the return type depending of the filter
-// type, e.g. return Calc for Calc and Excel if its an imported doc
+// type, e.g. return Calc for Calc and Excel if it's an imported doc
 OUString SAL_CALL
 ScVbaApplication::getName() throw (uno::RuntimeException, std::exception)
 {


More information about the Libreoffice-commits mailing list