[Libreoffice-commits] core.git: chart2/source cli_ure/qa comphelper/source compilerplugins/clang configure.ac connectivity/source cui/source dbaccess/source desktop/source dtrans/source framework/source include/comphelper odk/examples offapi/com officecfg/README package/source sal/osl solenv/bin svx/source sw/inc sw/source vcl/osx vcl/source vcl/unx vcl/workben winaccessibility/source xmloff/source

Andrea Gelmini andrea.gelmini at gelma.net
Mon Sep 25 10:21:29 UTC 2017


 chart2/source/controller/chartapiwrapper/TitleWrapper.cxx     |    2 +-
 chart2/source/controller/main/UndoGuard.hxx                   |    2 +-
 cli_ure/qa/climaker/ClimakerTestCase.java                     |    2 +-
 comphelper/source/eventattachermgr/eventattachermgr.cxx       |    2 +-
 compilerplugins/clang/store/cascadingassignop.cxx             |    2 +-
 compilerplugins/clang/store/cascadingcondop.cxx               |    2 +-
 configure.ac                                                  |    2 +-
 connectivity/source/drivers/hsqldb/HView.cxx                  |    4 ++--
 cui/source/tabpages/paragrph.cxx                              |    2 +-
 dbaccess/source/core/api/FilteredContainer.cxx                |    2 +-
 desktop/source/migration/migration.cxx                        |    2 +-
 dtrans/source/win32/dnd/globals.hxx                           |    2 +-
 framework/source/services/frame.cxx                           |    2 +-
 framework/source/services/sessionlistener.cxx                 |    2 +-
 include/comphelper/numberedcollection.hxx                     |    8 ++++----
 odk/examples/java/DocumentHandling/Makefile                   |    2 +-
 offapi/com/sun/star/frame/XUntitledNumbers.idl                |    2 +-
 officecfg/README                                              |    2 +-
 package/source/xstor/xstorage.cxx                             |    2 +-
 sal/osl/w32/process.cxx                                       |    2 +-
 solenv/bin/modules/installer/windows/file.pm                  |    4 ++--
 svx/source/svdraw/svdomedia.cxx                               |    2 +-
 sw/inc/dbmgr.hxx                                              |    4 ++--
 sw/source/core/docnode/swbaslnk.cxx                           |    2 +-
 sw/source/filter/ww8/wrtw8nds.cxx                             |    2 +-
 sw/source/filter/ww8/ww8par2.cxx                              |    4 ++--
 sw/source/filter/ww8/ww8par6.cxx                              |    2 +-
 vcl/osx/HtmlFmtFlt.cxx                                        |    2 +-
 vcl/source/gdi/bitmap.cxx                                     |    2 +-
 vcl/unx/generic/print/common_gfx.cxx                          |    2 +-
 vcl/workben/vcldemo.cxx                                       |    2 +-
 winaccessibility/source/service/AccComponentEventListener.cxx |    2 +-
 xmloff/source/forms/property_meta_data.cxx                    |    2 +-
 33 files changed, 40 insertions(+), 40 deletions(-)

New commits:
commit e44c188a7353cc183fac8ece0cbf3611d842835e
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sun Sep 24 22:54:11 2017 +0200

    Fix typos
    
    Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2
    Reviewed-on: https://gerrit.libreoffice.org/42726
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
    Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index 8a1c597acb74..bc127a2e0221 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
@@ -186,7 +186,7 @@ TitleWrapper::TitleWrapper( ::chart::TitleHelper::eTitleType eTitleType,
         m_eTitleType(eTitleType)
 {
     ControllerLockGuardUNO aCtrlLockGuard( Reference< frame::XModel >( m_spChart2ModelContact->getChart2Document(), uno::UNO_QUERY ));
-    if( !getTitleObject().is() ) //#i83831# create an empty title at the model, thus references to properties can be mapped mapped correctly
+    if( !getTitleObject().is() ) //#i83831# create an empty title at the model, thus references to properties can be mapped correctly
         TitleHelper::createTitle( m_eTitleType, OUString(), m_spChart2ModelContact->getChartModel(), m_spChart2ModelContact->m_xContext );
 }
 
diff --git a/chart2/source/controller/main/UndoGuard.hxx b/chart2/source/controller/main/UndoGuard.hxx
index 6a2d37d8477e..b8ade04817d8 100644
--- a/chart2/source/controller/main/UndoGuard.hxx
+++ b/chart2/source/controller/main/UndoGuard.hxx
@@ -31,7 +31,7 @@
 namespace chart
 {
 
-/** A guard which which does nothing, unless you explicitly call commitAction. In particular, in its destructor, it
+/** A guard which does nothing, unless you explicitly call commitAction. In particular, in its destructor, it
     does neither auto-commit nor auto-rollback the model changes.
  */
 class UndoGuard
diff --git a/cli_ure/qa/climaker/ClimakerTestCase.java b/cli_ure/qa/climaker/ClimakerTestCase.java
index e994d014e1eb..b90c3844b471 100644
--- a/cli_ure/qa/climaker/ClimakerTestCase.java
+++ b/cli_ure/qa/climaker/ClimakerTestCase.java
@@ -65,7 +65,7 @@ public class ClimakerTestCase extends ComplexTestCase
 }
 
 
-/*  This reads reads from an InputStream and discards the data.
+/*  This read from an InputStream and discards the data.
  */
 class Reader extends Thread
 {
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index 578d5fd1a6a9..8a61d398936f 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -401,7 +401,7 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvent
         aEvt.ListenerType = aEvt.ListenerType.copy(nLastDot+1);
     aIt->aEventList.push_back( aEvt );
 
-    // register new new Event
+    // register new Event
     for( auto& rObj : aIt->aObjList )
     {
         Reference< XAllListener > xAll =
diff --git a/compilerplugins/clang/store/cascadingassignop.cxx b/compilerplugins/clang/store/cascadingassignop.cxx
index 0a88b0ca6402..1d08217f177e 100644
--- a/compilerplugins/clang/store/cascadingassignop.cxx
+++ b/compilerplugins/clang/store/cascadingassignop.cxx
@@ -21,7 +21,7 @@ operators, which are errorprone, e.g.
 However, it finds 556 cases in sw/source alone, thus likely needs some more
 restricting, e.g. by checking for multiline conditional operator statements or
 a certain length in characters (but that needs the Context/SourceManager, which
-I havent played with yet).
+I haven't played with yet).
 */
 
 // the value is rather arbitrary, but code above this number of stmts begins to
diff --git a/compilerplugins/clang/store/cascadingcondop.cxx b/compilerplugins/clang/store/cascadingcondop.cxx
index 722b9819b60b..c868e5e468a2 100644
--- a/compilerplugins/clang/store/cascadingcondop.cxx
+++ b/compilerplugins/clang/store/cascadingcondop.cxx
@@ -21,7 +21,7 @@ operators, which are errorprone, e.g.
 However, it finds 556 cases in sw/source alone, thus likely needs some more
 restricting, e.g. by checking for multiline conditional operator statements or
 a certain length in characters (but that needs the Context/SourceManager, which
-I havent played with yet).
+I haven't played with yet).
 */
 
 // the value is rather arbitrary, but code above this number of stmts begins to
diff --git a/configure.ac b/configure.ac
index 77203d4b0944..eb387452d313 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2089,7 +2089,7 @@ AC_ARG_WITH(compat-oowrappers,
 
 AC_ARG_WITH(os-version,
     AS_HELP_STRING([--with-os-version=<OSVERSION>],
-        [For FreeBSD users, use this option option to override the detected OSVERSION.]),
+        [For FreeBSD users, use this option to override the detected OSVERSION.]),
 ,)
 
 AC_ARG_WITH(mingw-cross-compiler,
diff --git a/connectivity/source/drivers/hsqldb/HView.cxx b/connectivity/source/drivers/hsqldb/HView.cxx
index e2ee450581e9..cd6d61f44b87 100644
--- a/connectivity/source/drivers/hsqldb/HView.cxx
+++ b/connectivity/source/drivers/hsqldb/HView.cxx
@@ -159,8 +159,8 @@ namespace connectivity { namespace hsqldb
         Reference< XResultSet > xResult( xStatement->executeQuery( aCommand.makeStringAndClear() ), UNO_QUERY_THROW );
         if ( !xResult->next() )
         {
-            // hmm. There is no view view the name as we know it. Can only mean some other instance
-            // dropped this view meanwhile ...
+            // hmm. There is no view the name as we know it. Can only mean some other instance
+            // dropped this view meanwhile...
             throw DisposedException();
         }
 
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 6b5e19ea8b95..99828edc04bd 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -2174,7 +2174,7 @@ IMPL_LINK( SvxExtParagraphTabPage, PageBreakPosHdl_Impl, ListBox&, rListBox, voi
 
 IMPL_LINK( SvxExtParagraphTabPage, PageBreakTypeHdl_Impl, ListBox&, rListBox, void )
 {
-    //column break or break break after
+    //column break or break after
     sal_Int32 nBreakPos = m_pBreakPositionLB->GetSelectedEntryPos();
     if ( rListBox.GetSelectedEntryPos() == 1 || 1 == nBreakPos)
     {
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx
index 6f9b1548026a..62bdeb248d3e 100644
--- a/dbaccess/source/core/api/FilteredContainer.cxx
+++ b/dbaccess/source/core/api/FilteredContainer.cxx
@@ -304,7 +304,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector<
             Reference< XConnection > xCon( m_xConnection, UNO_SET_THROW );
             m_xMetaData.set( xCon->getMetaData(), UNO_SET_THROW );
 
-            // create a table table filter suitable for the XDatabaseMetaData::getTables call,
+            // create a table filter suitable for the XDatabaseMetaData::getTables call,
             // taking into account both the externally-provided table type filter, and any
             // table type restriction which is inherent to the container
             Sequence< OUString > aTableTypeFilter;
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index bd0143608adb..7361419637f9 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -476,7 +476,7 @@ OUString MigrationImpl::preXDGConfigDir(const OUString& rConfigDir)
     // we would need to weigh results from the current config dir against matches in
     // the 'old' config dir etc. ) - currently we just use the returned config dir.
     // If XDG_CONFIG_HOME is NOT set;
-    // assume then we should now using the default $HOME/,config config location for
+    // assume then we should now using the default $HOME/.config config location for
     // our user profiles, however *all* previous libreoffice and openoffice.org
     // configurations will be in the 'old' config directory and that's where we need
     // to search - we convert the returned config dir to the 'old' dir
diff --git a/dtrans/source/win32/dnd/globals.hxx b/dtrans/source/win32/dnd/globals.hxx
index d8763189d3b3..01a218dd4fcc 100644
--- a/dtrans/source/win32/dnd/globals.hxx
+++ b/dtrans/source/win32/dnd/globals.hxx
@@ -47,7 +47,7 @@ namespace com { namespace sun { namespace star { namespace datatransfer {
 // IDropSource::QueryContinueDrag, to actions as are declared in
 // css::datatransfer::dnd::DNDConstants ( ACTION_MOVE etc).
 // If the grfKeyState indicates the ALt or right mousebutton then the returned
-// values combines all possible actions. This is because those key and button are
+// values combines all possible actions. This is because those keys and buttons are
 // used when the user expect a menu to appear when he drops. The menu then
 // contains entries, such as move, copy, link, cancel.
 // An odd fact is that the argument grfKeyState in IDropTarget::Drop does not
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index ef0b48fef1bf..37d8032bcd04 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -833,7 +833,7 @@ css::uno::Reference< css::awt::XWindow > SAL_CALL Frame::getContainerWindow()
     @descr      We need a parent to support some functionality! e.g. findFrame()
                 By the way we use the chance to set an internal information about our top state.
                 So we must not check this information during every isTop() call.
-                We are top, if our parent is the desktop instance or we havent any parent.
+                We are top, if our parent is the desktop instance or we haven't any parent.
 
     @seealso    getCreator()
     @seealso    findFrame()
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index 6a57c566907f..ec26813e814e 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -189,7 +189,7 @@ void SessionListener::StoreSession( bool bAsync )
         xDispatch->dispatch(aURL, args);
     } catch (const css::uno::Exception& e) {
         SAL_WARN("fwk.session",e.Message);
-        // save failed, but tell manager to go on if we havent yet dispatched the request
+        // save failed, but tell manager to go on if we haven't yet dispatched the request
         // in case of synchronous saving the notification is done by the caller
         if ( bAsync && m_rSessionManager.is() )
             m_rSessionManager->saveDone(this);
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx
index a3429ac2862f..638641568d21 100644
--- a/include/comphelper/numberedcollection.hxx
+++ b/include/comphelper/numberedcollection.hxx
@@ -132,12 +132,12 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
                     of this collection. (fragmentation!) If collection is full (means there
                     is no free number) the special value INVALID_NUMBER will be returned.
 
-            @note   Those method can't be called within a multithreaded environment ..
-                    Because such number wont be "reserved" for the calli of these method
-                    it can happen that two calls returns the same number (reasoned by the fact that first calli
+            @note   Those method can't be called within a multithreaded environment.
+                    Because such number won't be "reserved" for the call of these method
+                    it can happen that two calls returns the same number (reasoned by the fact that first call
                     doesn't used the returned number already.
 
-                    So the outside code has to make sure that retrieving and using of those number
+                    So the outside code has to make sure that retrieving and using of those numbers
                     will be an atomic operation.
 
             @return an unique number or special value INVALID_NUMBER if collection is full.
diff --git a/odk/examples/java/DocumentHandling/Makefile b/odk/examples/java/DocumentHandling/Makefile
index 08e8f0f79ee8..d8eff760d450 100644
--- a/odk/examples/java/DocumentHandling/Makefile
+++ b/odk/examples/java/DocumentHandling/Makefile
@@ -91,7 +91,7 @@ $(APP4_JAR) : $(SAMPLE_CLASS_OUT)/$(APP4_NAME).mf $(SAMPLE_CLASS_OUT)/$(APP4_NAM
 $(SAMPLE_NAME) : $(APP1_JAR) $(APP2_JAR) $(APP3_JAR) $(APP4_JAR)
 	@echo --------------------------------------------------------------------------------
 	@echo The $(APP1_NAME) search the "$(QM)./test$(QM)" directory for documents, convert
-	@echo them using using the "$(QM)MS Word 97$(QM)" filter and the extension "$(QM).doc$(QM)".
+	@echo them using the "$(QM)MS Word 97$(QM)" filter and the extension "$(QM).doc$(QM)".
 	@echo The converted files are store in "$(QM)$(SAMPLE_GEN_OUT)/converted_files$(QM)".
 	@echo The list of possible filter names can change. Normally an updated list can be found 
 	@echo on "$(QM)http://www.openoffice.org/files/documents/25/111/filter_description.html$(QM)".
diff --git a/offapi/com/sun/star/frame/XUntitledNumbers.idl b/offapi/com/sun/star/frame/XUntitledNumbers.idl
index 231707b5e7b2..19fbbca9eddf 100644
--- a/offapi/com/sun/star/frame/XUntitledNumbers.idl
+++ b/offapi/com/sun/star/frame/XUntitledNumbers.idl
@@ -46,7 +46,7 @@ interface XUntitledNumbers : com::sun::star::uno::XInterface
     long leaseNumber ( [in] com::sun::star::uno::XInterface xComponent )
         raises (com::sun::star::lang::IllegalArgumentException);
 
-    /** has to be used to mark those number as "free for using".
+    /** has to be used to mark those numbers as "free for using".
 
         If the registered component does not use such leased number any longer
         it has to be released so it can be used for new components.
diff --git a/officecfg/README b/officecfg/README
index fd6674b41d42..33ba54ccc6cf 100644
--- a/officecfg/README
+++ b/officecfg/README
@@ -1,6 +1,6 @@
 The schema and default settings for the OpenOffice.org configuration database.
 
-If you change change a file in this module, then a make postprocess is needed after make officecfg.
+If you change a file in this module, then a make postprocess is needed after make officecfg.
 
 See also:
 [[configmgr]]
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 9d1f77d5223a..3821c7488b70 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -3200,7 +3200,7 @@ uno::Reference< io::XStream > SAL_CALL OStorage::openEncryptedStream(
         SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
 
         uno::Any aCaught( ::cppu::getCaughtException() );
-        throw embed::StorageWrappedTargetException( THROW_WHERE "Can't open encrypted stream stream!",
+        throw embed::StorageWrappedTargetException( THROW_WHERE "Can't open encrypted stream!",
                                                  uno::Reference< io::XInputStream >(),
                                                  aCaught );
     }
diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx
index efe4b8e92860..07d2c722a762 100644
--- a/sal/osl/w32/process.cxx
+++ b/sal/osl/w32/process.cxx
@@ -136,7 +136,7 @@ oslProcessError SAL_CALL osl_terminateProcess(oslProcess Process)
     if (bHasExited)
         return osl_Process_E_None;
 
-    // fallback - given that we we wait for an infinite time on WaitForSingleObject, this should
+    // fallback - given that we wait for an infinite time on WaitForSingleObject, this should
     // never occur... unless CreateRemoteThread failed
     SAL_WARN("sal.osl", "TerminateProcess(hProcess, 0) called - we should never get here!");
     return (TerminateProcess(hProcess, 0) == FALSE) ? osl_Process_E_Unknown : osl_Process_E_None;
diff --git a/solenv/bin/modules/installer/windows/file.pm b/solenv/bin/modules/installer/windows/file.pm
index bd72185fc9ac..1a12becb6076 100644
--- a/solenv/bin/modules/installer/windows/file.pm
+++ b/solenv/bin/modules/installer/windows/file.pm
@@ -399,8 +399,8 @@ sub generate_unique_filename_for_filetable
     $uniquefilename =~ s/\-/\_/g;       # no "-" allowed
     $uniquefilename =~ s/\@/\_/g;       # no "@" allowed
     $uniquefilename =~ s/\$/\_/g;       # no "$" allowed
-    $uniquefilename =~ s/^\s*\./\_/g;       # no "." at the beginning allowed allowed
-    $uniquefilename =~ s/^\s*\d/\_d/g;      # no number at the beginning allowed allowed (even file "0.gif", replacing to "_d.gif")
+    $uniquefilename =~ s/^\s*\./\_/g;       # no "." at the beginning allowed
+    $uniquefilename =~ s/^\s*\d/\_d/g;      # no number at the beginning allowed (even file "0.gif", replacing to "_d.gif")
     $uniquefilename =~ s/org_openoffice_/ooo_/g;    # shorten the unique file name
 
     my $lcuniquefilename = lc($uniquefilename); # only lowercase names
diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 2387c5888a8f..1594c5d43396 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -412,7 +412,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
     bool bBroadcastChanged = false;
     const AVMediaSetMask nMaskSet = rNewProperties.getMaskSet();
 
-    // use only a subset of MediaItem properties for own own properties
+    // use only a subset of MediaItem properties for own properties
     if( AVMediaSetMask::MIME_TYPE & nMaskSet )
         m_xImpl->m_MediaProperties.setMimeType( rNewProperties.getMimeType() );
 
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 0947bf0e4804..892bf3ad648b 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -486,10 +486,10 @@ public:
     /// Stop reacting to removed database registrations.
     void releaseRevokeListener();
 
-    /// Revoke not commited registrations in case of mail merge cancel
+    /// Revoke not committed registrations in case of mail merge cancel
     void RevokeLastRegistrations();
 
-    /// Accept not commited registrations
+    /// Accept not committed registrations
     void CommitLastRegistrations();
 
     /// Remove not used connections.
diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx
index de742ac81d94..c6ca7da2b8c2 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -63,7 +63,7 @@ static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
     //call fist all not SwNoTextFrames, then the SwNoTextFrames.
     //              The reason is, that in the SwNoTextFrames the Graphic
     //              after a Paint will be swapped out! So all other "behind"
-    //              them havent't a loaded Graphic.
+    //              them haven't a loaded Graphic.
     rGrfNd.LockModify();
     {
         SwIterator<SwClient,SwGrfNode> aIter(rGrfNd);
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 1397526a02d5..91eed80cdc65 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -620,7 +620,7 @@ FlyProcessingState SwWW8AttrIter::OutFlys(sal_Int32 nSwPos)
         const sal_Int32 nPos = rAnchor.nContent.GetIndex();
 
         if ( nPos != nSwPos )
-            return FLY_NOT_PROCESSED ; //We havent processed the fly
+            return FLY_NOT_PROCESSED ; // We haven't processed the fly
 
         const SdrObject* pSdrObj = maFlyIter->GetFrameFormat().FindRealSdrObject();
 
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 85ec71a4701f..f9891290d0aa 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2387,8 +2387,8 @@ void WW8TabDesc::CalcDefaults()
 
         /*
         If the last cell was "false" then there is no valid cell following it,
-        so the default mapping forward wont't work. So map it (and
-        contiguous invalid cells backwards to the last valid cell instead.
+        so the default mapping forward won't work. So map it (and
+        contiguous invalid cells backwards to the last valid cell instead.)
         */
         if (i && !pR->bExist[i-1])
         {
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 2130cdc25f39..a375003a4228 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -3013,7 +3013,7 @@ the same sprmCMajority as appears before 0x6f in word 6/95
 I think the easiest explanation is that the CJK Word for Window 95, or whatever
 the product was went rogue, and did their own things with at least first three
 slots after sprmCMajority to do a different thing. I have no reason to think Tono
-was wrong with what they do in the a698<->a699 versions versions, but with magic
+was wrong with what they do in the a698<->a699 versions, but with magic
 a5dc they probably did mean sprmCFBoldBi, sprmCFItalicBi cause they have that 0x81
 pattern which has significance for those types of properties.
 */
diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx
index 8431a5513a04..5c32772aa512 100644
--- a/vcl/osx/HtmlFmtFlt.cxx
+++ b/vcl/osx/HtmlFmtFlt.cxx
@@ -34,7 +34,7 @@ using namespace com::sun::star::uno;
 // well known under MS Windows
 // the MS HTML Format has a header before the real html data
 
-// Version:1.0      Version number of the clipboard. Staring is 0.9
+// Version:1.0      Version number of the clipboard. Starting is 0.9
 // StartHTML:       Byte count from the beginning of the clipboard to the start
 //                  of the context, or -1 if no context
 // EndHTML:         Byte count from the beginning of the clipboard to the end
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index 94646dc286a1..bce74703689c 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -1119,7 +1119,7 @@ Bitmap Bitmap::CreateMask( const Color& rTransColor, sal_uLong nTol ) const
     if (!nTol && pReadAcc && (pReadAcc->GetScanlineFormat() == ScanlineFormat::N1BitLsbPal || pReadAcc->GetScanlineFormat() == ScanlineFormat::N1BitMsbPal)
         && pReadAcc->GetBestMatchingColor(Color(COL_WHITE)) == pReadAcc->GetBestMatchingColor(rTransColor))
     {
-        //if we're a 1 bit pixel already, and the transcolor matches the color that would replace it already already, then just return a copy
+        //if we're a 1 bit pixel already, and the transcolor matches the color that would replace it already, then just return a copy
         return *this;
     }
 
diff --git a/vcl/unx/generic/print/common_gfx.cxx b/vcl/unx/generic/print/common_gfx.cxx
index 6fee6f53b485..8b96f5039d07 100644
--- a/vcl/unx/generic/print/common_gfx.cxx
+++ b/vcl/unx/generic/print/common_gfx.cxx
@@ -49,7 +49,7 @@ GraphicsStatus::GraphicsStatus() :
 }
 
 /*
- * non graphics graphics routines
+ * non graphics routines
  */
 
 void
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 48a0bb0bc2ca..1825bbd22c55 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -518,7 +518,7 @@ public:
 #define SET(font,string) { font, reinterpret_cast<const char *>(string) }
                 SET("sans", "a"),           // logical font - no 'sans' font.
                 SET("opensymbol", "#$%"),   // font fallback - $ is missing.
-                SET("sans", pInvalid),      // unicode invalid character character
+                SET("sans", pInvalid),      // unicode invalid character
                 // tdf#96266 - stacking diacritics
                 SET("carlito", pDiacritic1),
                 SET("carlito", pDiacritic2),
diff --git a/winaccessibility/source/service/AccComponentEventListener.cxx b/winaccessibility/source/service/AccComponentEventListener.cxx
index 97f3112aa979..3e842097cea2 100644
--- a/winaccessibility/source/service/AccComponentEventListener.cxx
+++ b/winaccessibility/source/service/AccComponentEventListener.cxx
@@ -174,7 +174,7 @@ void AccComponentEventListener::SetComponentState(short state, bool enable)
         {
             pAgent->UpdateState(m_xAccessible.get());
             pAgent->DecreaseState(m_xAccessible.get(), AccessibleStateType::DEFUNC);
-            // 8. label should have no FOCUSABLE state state, Firefox has READONLY state, we can also have.
+            // 8. label should have no FOCUSABLE state, Firefox has READONLY state, we can also have.
             if (    GetRole() != AccessibleRole::LABEL
                 &&  GetRole() != AccessibleRole::SCROLL_BAR)
             {
diff --git a/xmloff/source/forms/property_meta_data.cxx b/xmloff/source/forms/property_meta_data.cxx
index 7da6f4974bec..e1946bcc8429 100644
--- a/xmloff/source/forms/property_meta_data.cxx
+++ b/xmloff/source/forms/property_meta_data.cxx
@@ -64,7 +64,7 @@ namespace xmloff { namespace metadata
         // TODO: instead of having all of the below static, it should be some per-instance data. This way, the
         // approach used here would scale much better.
         // That is, if you have multiple "meta data instances", which manage a small, but closed set of properties,
-        // then looking looking through those multiple instances would probably be faster than searching within
+        // then looking through those multiple instances would probably be faster than searching within
         // one big instance, since in this case, every instance can quickly decide whether it is responsible
         // for some attribute or property, and otherwise delegate to the next instance.
 


More information about the Libreoffice-commits mailing list