[Libreoffice-commits] core.git: framework/inc framework/source offapi/com sal/qa svx/source sw/source

Andrea Gelmini andrea.gelmini at gelma.net
Sun Dec 17 09:25:23 UTC 2017


 framework/inc/threadhelp/gate.hxx            |    2 +-
 framework/source/fwe/xml/xmlnamespaces.cxx   |    2 +-
 framework/source/jobs/joburl.cxx             |   12 ++++++------
 offapi/com/sun/star/frame/XLayoutManager.idl |    2 +-
 sal/qa/osl/file/osl_File.cxx                 |    2 +-
 svx/source/unodraw/unoshape.cxx              |    2 +-
 sw/source/filter/ww8/ww8graf.cxx             |    2 +-
 7 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 696bc1e951e785e71de74d61eeafd06c3e8a0283
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sun Dec 17 07:31:26 2017 +0100

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

diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx
index eb538501b230..5928d3e16444 100644
--- a/framework/inc/threadhelp/gate.hxx
+++ b/framework/inc/threadhelp/gate.hxx
@@ -104,7 +104,7 @@ class Gate
             // Reset condition -> wait blocks now -> gate is closed
             m_aPassage.reset();
             // Check if operation was successful!
-            // Check returns false if condition was reseted => m_bClosed will be true then => we can return true; closing ok
+            // Check returns false if condition was reset => m_bClosed will be true then => we can return true; closing ok
             m_bClosed = !m_aPassage.check();
         }
 
diff --git a/framework/source/fwe/xml/xmlnamespaces.cxx b/framework/source/fwe/xml/xmlnamespaces.cxx
index 9b57861589c2..4b930ad33f20 100644
--- a/framework/source/fwe/xml/xmlnamespaces.cxx
+++ b/framework/source/fwe/xml/xmlnamespaces.cxx
@@ -66,7 +66,7 @@ void XMLNamespaces::addNamespace( const OUString& aName, const OUString& aValue
 
     if ( aValue.isEmpty() && !aNamespaceName.isEmpty() )
     {
-        // namespace should be reseted - as xml draft states this is only allowed
+        // namespace should be reset - as xml draft states this is only allowed
         // for the default namespace - check and throw exception if check fails
         throw SAXException( "Clearing xml namespace only allowed for default namespace!", Reference< XInterface >(), Any() );
     }
diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx
index 62bd3ce8b880..fd30218dd954 100644
--- a/framework/source/jobs/joburl.cxx
+++ b/framework/source/jobs/joburl.cxx
@@ -122,7 +122,7 @@ bool JobURL::isValid() const
     @return     <TRUE/> if an event part of the job URL exist and the out parameter
                 sEvent was filled.
 
-    @attention  The out parameter will be reseted every time. Don't use it if method returns <FALSE/>!
+    @attention  The out parameter will be reset every time. Don't use it if method returns <FALSE/>!
 */
 bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const
 {
@@ -150,7 +150,7 @@ bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const
     @return     <TRUE/> if an alias part of the job URL exist and the out parameter
                 sAlias was filled.
 
-    @attention  The out parameter will be reseted every time. Don't use it if method returns <FALSE/>!
+    @attention  The out parameter will be reset every time. Don't use it if method returns <FALSE/>!
 */
 bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const
 {
@@ -178,7 +178,7 @@ bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const
     @return     <TRUE/> if an service part of the job URL exist and the out parameter
                 sService was filled.
 
-    @attention  The out parameter will be reseted every time. Don't use it if method returns <FALSE/>!
+    @attention  The out parameter will be reset every time. Don't use it if method returns <FALSE/>!
 */
 bool JobURL::getService( /*OUT*/ OUString& sService ) const
 {
@@ -209,12 +209,12 @@ bool JobURL::getService( /*OUT*/ OUString& sService ) const
                     the length of the ascii value <var>pPartIdentifier</var>
 
     @param      rPartValue
-                    returns the part value if <var>sPart</var> was splitted successfully
+                    returns the part value if <var>sPart</var> was split successfully
 
     @param      rPartArguments
-                    returns the part arguments if <var>sPart</var> was splitted successfully
+                    returns the part arguments if <var>sPart</var> was split successfully
 
-    @return     <TRUE/> if the identifier could be found and the string was splitted.
+    @return     <TRUE/> if the identifier could be found and the string was split.
                 <FALSE/> otherwise.
 */
 bool JobURL::implst_split( /*IN*/  const OUString& sPart           ,
diff --git a/offapi/com/sun/star/frame/XLayoutManager.idl b/offapi/com/sun/star/frame/XLayoutManager.idl
index a6ba65dae90a..627662d8ea9c 100644
--- a/offapi/com/sun/star/frame/XLayoutManager.idl
+++ b/offapi/com/sun/star/frame/XLayoutManager.idl
@@ -84,7 +84,7 @@ interface XLayoutManager : com::sun::star::uno::XInterface
 
         <p>
         This call should be handled with care as all user interface elements will
-        be destroyed and the layout manager is reseted to a state after a
+        be destroyed and the layout manager is reset to a state after a
         attachFrame() has been made. That means an attached frame
         which has been set by attachFrame() is not released.
         The layout manager itself calls reset after a component has been attached
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 0df251294497..509a78d5c0c2 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -4317,7 +4317,7 @@ namespace osl_Directory
             // reset enumeration
             nError2 = testDirectory.reset();
             CPPUNIT_ASSERT_EQUAL(nError2, osl::FileBase::E_None);
-            // get reseted Item, if reset does not work, getNextItem() should return the second Item (aTmpName1)
+            // get reset Item, if reset does not work, getNextItem() should return the second Item (aTmpName1)
             nError1 = testDirectory.getNextItem(rItem);
             CPPUNIT_ASSERT_EQUAL(nError1, osl::FileBase::E_None);
 
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 778b4f2911f6..afd8949360b1 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -1784,7 +1784,7 @@ void SAL_CALL SvxShape::setPropertyValues( const css::uno::Sequence< OUString >&
     const uno::Any* pValues = aValues.getConstArray();
 
     // make sure mbIsMultiPropertyCall and mpImpl->mpItemSet are
-    // reseted even when an exception is thrown
+    // reset even when an exception is thrown
     const ::comphelper::ScopeGuard aGuard( [this] () { return this->endSetPropertyValues(); } );
 
     mbIsMultiPropertyCall = true;
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index 4ef69f36b18b..b61b8147932d 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -1947,7 +1947,7 @@ void SwWW8ImplReader::MapWrapIntoFlyFormat(SvxMSDffImportRec const * pRecord,
              Gather round children and hear of a tale that will raise the
              hairs on the back of your neck this dark halloween night.
 
-             There is a polygon in word that describes the wraping around
+             There is a polygon in word that describes the wrapping around
              the graphic.
 
              Here are some sample values for the simplest case of a square


More information about the Libreoffice-commits mailing list