summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-04-26 09:56:47 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:26:04 -0400
commit9c7cae1561cfe16226b1f16dce59f08a38da3ce0 (patch)
tree4eaa57139ad89692acc39438c5a225184efde5b7
parent2d9bbc20d8d465afbf61d69bae120d30c14046f9 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/24317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit fc2590cfa112222500a6c847917d7545f60024c6) Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73
-rwxr-xr-xbin/find-unused-defines.sh2
-rwxr-xr-xbin/find-unused-typedefs.sh2
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype2
-rw-r--r--chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx4
-rw-r--r--configure.ac2
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationwizard.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx2
-rw-r--r--dbaccess/source/ui/uno/unoadmin.cxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_theextmgr.cxx2
-rw-r--r--embeddedobj/source/commonembedding/embedobj.cxx2
-rw-r--r--extensions/source/ole/oleobjw.hxx2
-rw-r--r--extras/source/autotext/lang/it/standard/TE/TE.xml4
-rw-r--r--formula/source/ui/dlg/formula.cxx2
-rw-r--r--include/dbaccess/genericcontroller.hxx2
-rw-r--r--jvmfwk/inc/vendorplugin.hxx2
-rw-r--r--o3tl/qa/test-lru_map.cxx2
-rw-r--r--offapi/com/sun/star/accessibility/AccessibleStateType.idl2
-rw-r--r--offapi/com/sun/star/accessibility/XAccessible.idl2
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs8
-rw-r--r--onlineupdate/source/libmar/sign/mar_sign.c2
-rw-r--r--onlineupdate/source/update/common/updatehelper.cxx2
-rw-r--r--onlineupdate/source/update/updater/updater.cxx2
-rw-r--r--rsc/source/parser/rscdb.cxx2
-rw-r--r--rsc/source/tools/rscdef.cxx2
-rw-r--r--sc/source/core/data/formulacell.cxx2
-rw-r--r--sc/source/core/tool/chartlis.cxx2
-rw-r--r--sc/source/core/tool/sharedformula.cxx2
-rw-r--r--sc/source/ui/view/gridwin2.cxx2
-rw-r--r--sc/source/ui/view/gridwin4.cxx4
-rw-r--r--scripting/java/com/sun/star/script/framework/container/ParcelContainer.java2
-rw-r--r--sd/uiconfig/sdraw/ui/insertlayer.ui2
-rw-r--r--sdext/source/pdfimport/tree/genericelements.hxx2
-rw-r--r--sfx2/source/appl/shutdowniconaqua.mm2
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx2
-rw-r--r--sfx2/source/doc/objmisc.cxx4
-rw-r--r--sfx2/source/doc/syspathw32.cxx2
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
-rw-r--r--svtools/source/uno/wizard/unowizard.cxx4
-rw-r--r--sw/inc/ring.hxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx2
-rw-r--r--sw/source/core/text/txthyph.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx8
-rw-r--r--vcl/unx/generic/window/salframe.cxx2
-rw-r--r--wizards/source/tools/Listbox.xba4
-rw-r--r--wizards/source/tools/Misc.xba2
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
-rw-r--r--xmloff/source/text/txtparae.cxx4
47 files changed, 62 insertions, 62 deletions
diff --git a/bin/find-unused-defines.sh b/bin/find-unused-defines.sh
index d143a3e3b0a7..d9a39f76be84 100755
--- a/bin/find-unused-defines.sh
+++ b/bin/find-unused-defines.sh
@@ -13,7 +13,7 @@
# (3) sort and uniq the results, mostly so I have an idea how far along the process is
# (4) for each result:
# (5) grep for the constant
-# (6) use awk to to check if only one match for a given constant was found
+# (6) use awk to check if only one match for a given constant was found
# (7) if so, generate a sed command to remove the #define
#
( git grep -hP '^\w*#define\s+\w+.*\\' -- "[!e][!x][!t]*" \
diff --git a/bin/find-unused-typedefs.sh b/bin/find-unused-typedefs.sh
index 7a6f54b2b1c8..bc4378533efa 100755
--- a/bin/find-unused-typedefs.sh
+++ b/bin/find-unused-typedefs.sh
@@ -14,7 +14,7 @@
# (4) sort the results, mostly so I have an idea how far along the process is
# (5) for each result:
# (6) grep for the constant
-# (7) use awk to to check if only one match for a given constant was found
+# (7) use awk to check if only one match for a given constant was found
# (8) if so, generate a sed command to remove the #define
#
bin/find-unused-typedefs.py \
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index 001ae81fa42f..fa25cdb42442 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -357,7 +357,7 @@ rss_bugzillas = (
redhatrpc = 'https://bugzilla.redhat.com/xmlrpc.cgi'
redhatbug = 'https://bugzilla.redhat.com/show_bug.cgi?id='
-#Novell Bugzilla requires users to log in in order to get details of the bugs such as attachment bodies etc.
+#Novell Bugzilla requires users to log in, in order to get details of the bugs such as attachment bodies etc.
#As a dirty workaround, we parse comments containing "Created an attachment (id=xxxxxx)" and download attachments manually
#python-bugzilla claims that it supports Novell bugzilla login but it's not working right now and novell bugzilla login
#system is a nightmare
diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
index d6dec7ef7316..29d69cbe2523 100644
--- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
@@ -31,8 +31,8 @@ ChartTypeUnoDlg::ChartTypeUnoDlg( const uno::Reference< uno::XComponentContext >
}
ChartTypeUnoDlg::~ChartTypeUnoDlg()
{
- // we do this here cause the base class' call to destroyDialog won't reach us anymore : we're within an dtor,
- // so this virtual-method-call the base class does does not work, we're already dead then ...
+ // we do this here cause the base class' call to destroyDialog won't reach us anymore: we're within an dtor,
+ // so this virtual-method-call the base class does not work, we're already dead then...
if (m_pDialog)
{
::osl::MutexGuard aGuard(m_aMutex);
diff --git a/configure.ac b/configure.ac
index 536b14dc0a4e..8e270e9a5a63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13040,7 +13040,7 @@ place yourself in a working directory of you choice.
build_w32.bat --without-guile
should result in a WinRel/gnumake.exe.
-Copy it to to the Cygwin /opt/lo/bin directory as make.exe
+Copy it to the Cygwin /opt/lo/bin directory as make.exe
Then re-run autogen.sh
diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
index 33ee622dd22d..3197df449bef 100644
--- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
@@ -106,8 +106,8 @@ namespace dbmm
MacroMigrationDialogService::~MacroMigrationDialogService()
{
- // we do this here cause the base class' call to destroyDialog won't reach us anymore : we're within an dtor,
- // so this virtual-method-call the base class does does not work, we're already dead then ...
+ // we do this here cause the base class' call to destroyDialog won't reach us anymore: we're within an dtor,
+ // so this virtual-method-call the base class does not work, we're already dead then...
if ( m_pDialog )
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index c83d285c8d4f..72528eacf2fe 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -523,7 +523,7 @@ namespace
}
}
- // when nothing found found look for the "from" window
+ // when nothing found look for the "from" window
if(aIter == aEnd)
{
OQueryTableWindow* pEntryTabFrom = static_cast<OQueryTableWindow*>(pEntryConn->GetSourceWin());
diff --git a/dbaccess/source/ui/uno/unoadmin.cxx b/dbaccess/source/ui/uno/unoadmin.cxx
index 6d4c2819cce6..f866b6080d37 100644
--- a/dbaccess/source/ui/uno/unoadmin.cxx
+++ b/dbaccess/source/ui/uno/unoadmin.cxx
@@ -55,8 +55,8 @@ ODatabaseAdministrationDialog::ODatabaseAdministrationDialog(const Reference< XC
ODatabaseAdministrationDialog::~ODatabaseAdministrationDialog()
{
- // we do this here cause the base class' call to destroyDialog won't reach us anymore : we're within an dtor,
- // so this virtual-method-call the base class does does not work, we're already dead then ...
+ // we do this here cause the base class' call to destroyDialog won't reach us anymore: we're within an dtor,
+ // so this virtual-method-call the base class does not work, we're already dead then...
if (m_pDialog)
{
::osl::MutexGuard aGuard(m_aMutex);
diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
index f5f820c05de6..2fdb11a9c129 100644
--- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
+++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
@@ -377,7 +377,7 @@ bool TheExtensionManager::supportsOptions( const uno::Reference< deployment::XPa
for ( int i = 0; i < seqNames.getLength(); i++ )
{
uno::Any anyNode = m_xNameAccessNodes->getByName( seqNames[i] );
- //If we have a node then then it must contain the set of leaves. This is part of OptionsDialog.xcs
+ //If we have a node then it must contain the set of leaves. This is part of OptionsDialog.xcs
uno::Reference< XInterface> xIntNode = anyNode.get< uno::Reference< XInterface > >();
uno::Reference< container::XNameAccess > xNode( xIntNode, uno::UNO_QUERY_THROW );
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx
index f00be260e861..c8c29473181e 100644
--- a/embeddedobj/source/commonembedding/embedobj.cxx
+++ b/embeddedobj/source/commonembedding/embedobj.cxx
@@ -153,7 +153,7 @@ void OCommonEmbeddedObject::StateChangeNotification_Impl( bool bBeforeChange, sa
void OCommonEmbeddedObject::SwitchStateTo_Impl( sal_Int32 nNextState )
{
- // TODO: may be needs interaction handler to detect wherether the object state
+ // TODO: may be needs interaction handler to detect whether the object state
// can be changed even after errors
if ( m_nObjectState == embed::EmbedStates::LOADED )
diff --git a/extensions/source/ole/oleobjw.hxx b/extensions/source/ole/oleobjw.hxx
index 0b617cb61ad6..9d9753dcb694 100644
--- a/extensions/source/ole/oleobjw.hxx
+++ b/extensions/source/ole/oleobjw.hxx
@@ -214,7 +214,7 @@ protected:
void getFuncDescForInvoke(const OUString & sFuncName,
const Sequence<Any> & seqArgs, FUNCDESC** pFuncDesc);
- // Finds out whether the wrapped IDispatch is an JScript Object. This is is
+ // Finds out whether the wrapped IDispatch is an JScript Object. This is
// done by
// asking for the property "_environment". If it has the value "JScript"
// (case insensitive) then the IDispatch is considered a JScript object.
diff --git a/extras/source/autotext/lang/it/standard/TE/TE.xml b/extras/source/autotext/lang/it/standard/TE/TE.xml
index 518ef41456f6..f750d22471f0 100644
--- a/extras/source/autotext/lang/it/standard/TE/TE.xml
+++ b/extras/source/autotext/lang/it/standard/TE/TE.xml
@@ -2,6 +2,6 @@
<office:document xmlns:office="http://openoffice.org/2000/office" xmlns:text="http://openoffice.org/2000/text">
<office:body>
- <text:p>Udì dei passi leggeri dietro di sé. Non prometteva niente d buono. Chi poteva seguirlo a quell&apos;ora della notte e per di più in in una strada stretta nel quartiere malfamato del porto? Proprio adesso, quando sembrava che la sua vita avesse preso una svolta diversa e voleva sparire con il malloppo! Forse uno dei suoi colleghi aveva avuto la stessa idea, lo aveva osservato e aspettato per alleggerirlo del frutto del suo lavoro. Oppure era solo uno dei tanti tutori della legge che aspettava il momento propizio per mettergli le manette. Già gli sembrava di udire il &quot;mani in alto!&quot; Si guardò intorno. Improvvisamente notò la piccola entrata e si voltò di scatto a destra e scomparve tra i due edifici, scontrandosi quasi con i bidoni della spazzatura posti in mezzo alla strada. Cercò di trovare una via d&apos;uscita nell&apos;oscurità, ma si rese conto che non c&apos;era altra via che quella già percorsa attraverso il cortiletto. I passi alle sue spalle si facevano sempre più vicini, finché vide una forma scura girare l&apos;angolo. I suoi occhi scrutavano febbrilmente l&apos;oscurità in cerca di una via d&apos;uscita. Era questa la fine di tutto? Era stato tutto inutile? La fatica e tutti i preparativi... Si accostò tutto alla parete e sperò che l&apos;inseguitore non si accorgesse del suo nascondiglio quando una porta accanto a lui si aprì all&apos;improvviso sospinta dal vento notturno. Forse quella porta era la risposta ai suoi dubbi. Cominciò a muoversi lentamente in direzione dell&apos;uscita spingendosi contro il muro. Ma quella porta era davvero la via della salvezza?</text:p>
+ <text:p>Udì dei passi leggeri dietro di sé. Non prometteva niente d buono. Chi poteva seguirlo a quell&apos;ora della notte e per di più in una strada stretta nel quartiere malfamato del porto? Proprio adesso, quando sembrava che la sua vita avesse preso una svolta diversa e voleva sparire con il malloppo! Forse uno dei suoi colleghi aveva avuto la stessa idea, lo aveva osservato e aspettato per alleggerirlo del frutto del suo lavoro. Oppure era solo uno dei tanti tutori della legge che aspettava il momento propizio per mettergli le manette. Già gli sembrava di udire il &quot;mani in alto!&quot; Si guardò intorno. Improvvisamente notò la piccola entrata e si voltò di scatto a destra e scomparve tra i due edifici, scontrandosi quasi con i bidoni della spazzatura posti in mezzo alla strada. Cercò di trovare una via d&apos;uscita nell&apos;oscurità, ma si rese conto che non c&apos;era altra via che quella già percorsa attraverso il cortiletto. I passi alle sue spalle si facevano sempre più vicini, finché vide una forma scura girare l&apos;angolo. I suoi occhi scrutavano febbrilmente l&apos;oscurità in cerca di una via d&apos;uscita. Era questa la fine di tutto? Era stato tutto inutile? La fatica e tutti i preparativi... Si accostò tutto alla parete e sperò che l&apos;inseguitore non si accorgesse del suo nascondiglio quando una porta accanto a lui si aprì all&apos;improvviso sospinta dal vento notturno. Forse quella porta era la risposta ai suoi dubbi. Cominciò a muoversi lentamente in direzione dell&apos;uscita spingendosi contro il muro. Ma quella porta era davvero la via della salvezza?</text:p>
</office:body>
-</office:document> \ No newline at end of file
+</office:document>
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index f8229a1c45e6..2edcf2151207 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -1478,7 +1478,7 @@ void FormulaDlg_Impl::UpdateSelection()
{
//because its initially hidden, give it its optimal
//size so clicking the refbutton has an initial
- //size to work work when retro-fitting this to .ui
+ //size to work when retro-fitting this to .ui
m_pEdRef->SetSizePixel(m_pEdRef->GetOptimalSize());
m_pEdRef->Show();
pTheRefEdit = pEdit;
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index c31e91d3bb1b..e0be1a088b3a 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -411,7 +411,7 @@ namespace dbaui
void showError(const ::dbtools::SQLExceptionInfo& _rInfo);
// if there is an css::util::URL translation for the id
- // ('handle') then if if xListener is NULL the change will be forwarded
+ // ('handle') then if xListener is NULL the change will be forwarded
// to all listeners to the given css::util::URL
// if there is a toolbar slot with the given id it is updated (the new state is determined via GetState)
// if _bForceBroadcast is sal_True, the current feature state is broadcasted no matter if it is the same as the cached state
diff --git a/jvmfwk/inc/vendorplugin.hxx b/jvmfwk/inc/vendorplugin.hxx
index a108cb3c5b4a..3d83c610c157 100644
--- a/jvmfwk/inc/vendorplugin.hxx
+++ b/jvmfwk/inc/vendorplugin.hxx
@@ -185,7 +185,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
- minVersion, maxVersion, excludeVersions - for that specific vendor).
@param ppInfo
[out] if the JAVA_HOME environment variable is set and points to a suitable
- JRE, then then <code>ppInfo</code> contains
+ JRE, then <code>ppInfo</code> contains
on return a pointer to its <code>JavaInfo</code> object.
@return
diff --git a/o3tl/qa/test-lru_map.cxx b/o3tl/qa/test-lru_map.cxx
index d9428e381bb5..489dd9015834 100644
--- a/o3tl/qa/test-lru_map.cxx
+++ b/o3tl/qa/test-lru_map.cxx
@@ -71,7 +71,7 @@ void lru_map_test::testReplaceValue()
// check if map is empty
CPPUNIT_ASSERT_EQUAL(size_t(0), lru.size());
- // check if inserting entry with with same key replaces the value
+ // check if inserting entry with same key replaces the value
// inserting new entry
lru.insert(std::make_pair<int, int>(1, 2));
diff --git a/offapi/com/sun/star/accessibility/AccessibleStateType.idl b/offapi/com/sun/star/accessibility/AccessibleStateType.idl
index 99602f13af11..c8c6e9f79ea2 100644
--- a/offapi/com/sun/star/accessibility/AccessibleStateType.idl
+++ b/offapi/com/sun/star/accessibility/AccessibleStateType.idl
@@ -192,7 +192,7 @@ constants AccessibleStateType
/** Object information is stale and might not be up to date
<p>Indicates that the information that is returned from this object
- might be out of sync with with the application.</p>
+ might be out of sync with the application.</p>
*/
const short STALE = 27;
diff --git a/offapi/com/sun/star/accessibility/XAccessible.idl b/offapi/com/sun/star/accessibility/XAccessible.idl
index fd094e7eadf3..f1548fd51317 100644
--- a/offapi/com/sun/star/accessibility/XAccessible.idl
+++ b/offapi/com/sun/star/accessibility/XAccessible.idl
@@ -30,7 +30,7 @@ module com { module sun { module star { module accessibility {
accessible.
<p>It is used to provide access to the XAccessibleContext
- interface but allows at the same time that that interface is implemented
+ interface but allows at the same time that the interface is implemented
by another class.</p>
<p>The distinction between the interfaces XAccessible and
diff --git a/officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs b/officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs
index 4be6705aaf05..3cf363ea7408 100644
--- a/officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs
@@ -217,10 +217,10 @@
</prop>
<prop oor:name="GroupIndex" oor:type="xs:int" oor:nillable="false">
<info>
- <desc>The index of the Leaf within the group. The index starts with
- null. If this property is set then GroupId must also have
- a value. If there are two Leaf|s with the same index in the same
- group then then their order is undefined.
+ <desc>The index of the Leaf within the group. The index starts with
+ null. If this property is set then GroupId must also have
+ a value. If there are two Leaf|s with the same index in the same
+ group then their order is undefined.
The value -1 is regarded as nil.</desc>
</info>
<value>-1</value>
diff --git a/onlineupdate/source/libmar/sign/mar_sign.c b/onlineupdate/source/libmar/sign/mar_sign.c
index 68bff67acce6..b1904173db71 100644
--- a/onlineupdate/source/libmar/sign/mar_sign.c
+++ b/onlineupdate/source/libmar/sign/mar_sign.c
@@ -149,7 +149,7 @@ WriteAndUpdateSignatures(FILE *fpDest, void *buffer,
}
/**
- * Adjusts each entry's content offset in the the passed in index by the
+ * Adjusts each entry's content offset in the passed in index by the
* specified amount.
*
* @param indexBuf A buffer containing the MAR index
diff --git a/onlineupdate/source/update/common/updatehelper.cxx b/onlineupdate/source/update/common/updatehelper.cxx
index 1768e5334048..98d97cb1b5fa 100644
--- a/onlineupdate/source/update/common/updatehelper.cxx
+++ b/onlineupdate/source/update/common/updatehelper.cxx
@@ -714,7 +714,7 @@ GetDWORDValue(HKEY key, LPCWSTR valueName, DWORD &retValue)
}
/**
- * Determines if the the system's elevation type allows
+ * Determines if the system's elevation type allows
* unprompted elevation.
*
* @param isUnpromptedElevation Out parameter which specifies if unprompted
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index 5545d18f301d..ec419ad9b674 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -2090,7 +2090,7 @@ ProcessReplaceRequest()
}
#ifdef MACOSX
- // On OS X, we we need to remove the staging directory after its Contents
+ // On OS X, we need to remove the staging directory after its Contents
// directory has been moved.
NS_tchar updatedAppDir[MAXPATHLEN];
NS_tsnprintf(updatedAppDir, sizeof(updatedAppDir)/sizeof(updatedAppDir[0]),
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index d3daab20d5af..6563c1d56f17 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -410,7 +410,7 @@ void RscEnumerateObj::WriteRcFile( RscWriteRc & rMem, FILE * fOut )
sal_uInt32 nId = rMem.GetLong( 0 );
sal_uInt32 nRT = rMem.GetLong( 4 );
- // table is filled with with nId and nRT
+ // table is filled with nId and nRT
pTypCont->PutTranslatorKey( (sal_uInt64(nRT) << 32) + sal_uInt64(nId) );
if( nRT == RSC_VERSIONCONTROL )
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index 816fbd8a22d1..01d1ed9f2a2b 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -629,7 +629,7 @@ RscDefine * RscFileTab::NewDef( sal_uLong lFileKey, const OString& rDefName,
if( !pDef )
{
- // pExp is always always owned and must be deleted after used
+ // pExp is always owned and must be deleted after used
delete pExp;
}
return pDef;
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 09e46353573d..599fb4611682 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -1469,7 +1469,7 @@ void ScFormulaCell::CalcAfterLoad( sc::CompileFormulaContext& rCxt, bool bStartL
}
// DoubleRefs for binary operators were always a Matrix before version v5.0.
- // Now this is only the case when when in an array formula, otherwise it's an implicit intersection
+ // Now this is only the case when in an array formula, otherwise it's an implicit intersection
if ( pDocument->GetSrcVersion() < SC_MATRIX_DOUBLEREF &&
GetMatrixFlag() == MM_NONE && pCode->HasMatrixDoubleRefOps() )
{
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index d2e50bd0e90a..9387549dfd29 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -575,7 +575,7 @@ void ScChartListenerCollection::FreeUno( const uno::Reference< chart::XChartData
}
// Release all pointers currently managed by the ptr_map container.
- // coverity[leaked_storage] - no leak, because because we will take care of them below
+ // coverity[leaked_storage] - no leak, because we will take care of them below
for (auto & it : m_Listeners)
{
it.second.release();
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx
index 62e031cca01c..92c1cda2d0cb 100644
--- a/sc/source/core/tool/sharedformula.cxx
+++ b/sc/source/core/tool/sharedformula.cxx
@@ -218,7 +218,7 @@ void SharedFormulaUtil::unshareFormulaCell(const CellStoreType::position_type& a
ScFormulaCellGroupRef xGroup = rCell.GetCellGroup();
if (xGroup->mnLength == 2)
{
- // Group consists only only two cells. Mark the second one non-shared.
+ // Group consists of only two cells. Mark the second one non-shared.
#if DEBUG_COLUMN_STORAGE
if (aPos.second+1 >= aPos.first->size)
{
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index c90d8dbf6d3a..1c1fee5518b3 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -695,7 +695,7 @@ sal_uInt16 ScGridWindow::HitPageBreak( const Point& rMouse, ScRange* pSource,
Point aTL = pViewData->GetScrPos( nPosX, nPosY, eWhich );
Point aBR = pViewData->GetScrPos( nPosX+1, nPosY+1, eWhich );
- // Horizontal more tolerances as as for vertical, because there is more space
+ // Horizontal more tolerances as for vertical, because there is more space
if ( nMouseX <= aTL.X() + 4 )
{
bHori = true;
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index cdca3947d20a..462fc4993822 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -81,7 +81,7 @@ static void lcl_DrawOneFrame( vcl::RenderContext* pDev, const Rectangle& rInnerP
double nPPTX, double nPPTY, const Fraction& rZoomY,
ScDocument* pDoc, ScViewData* pButtonViewData, bool bLayoutRTL )
{
- // pButtonViewData is only used to set the the button size,
+ // pButtonViewData is only used to set the button size,
// can otherwise be NULL!
Rectangle aInner = rInnerPixel;
@@ -925,7 +925,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
pEditView->Paint(rDevice.PixelToLogic(Rectangle(Point(nScrX, nScrY), Size(aOutputData.GetScrW(), aOutputData.GetScrH()))), &rDevice);
rDevice.SetMapMode(MAP_PIXEL);
- // restore the cursor it it was originally visible
+ // restore the cursor it was originally visible
if (bVisCursor)
pCrsr->Show();
}
diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java
index febd65ad844a..4625bf2faa78 100644
--- a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java
+++ b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java
@@ -305,7 +305,7 @@ public class ParcelContainer implements XNameAccess {
public String getParcelContainerDir() {
// If this container does not represent an uno-package
- // then then it is a document, user or share
+ // then it is a document, user or share
// in each case the convention is to have a Scripts/[language]
// dir where scripts reside
if (!isUnoPkg()) {
diff --git a/sd/uiconfig/sdraw/ui/insertlayer.ui b/sd/uiconfig/sdraw/ui/insertlayer.ui
index 3587adc714c5..6fe8870d178d 100644
--- a/sd/uiconfig/sdraw/ui/insertlayer.ui
+++ b/sd/uiconfig/sdraw/ui/insertlayer.ui
@@ -191,7 +191,7 @@
</object>
</child>
<child type="label">
- <object class="GtkLabel" id="descriptio">
+ <object class="GtkLabel" id="description">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Description</property>
diff --git a/sdext/source/pdfimport/tree/genericelements.hxx b/sdext/source/pdfimport/tree/genericelements.hxx
index 9fefbc45bbed..e10b236e5948 100644
--- a/sdext/source/pdfimport/tree/genericelements.hxx
+++ b/sdext/source/pdfimport/tree/genericelements.hxx
@@ -97,7 +97,7 @@ namespace pdfi
// xxx refac TODO: move code to visitor
virtual void emitStructure( int nLevel );
#endif
- /** el must be a valid dereferencable iterator of el->Parent->Children
+ /** el must be a valid dereferenceable iterator of el->Parent->Children
pNewParent must not be NULL
*/
static void setParent( std::list<Element*>::iterator& el, Element* pNewParent );
diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm
index 031a9ec2e701..87bd9315a172 100644
--- a/sfx2/source/appl/shutdowniconaqua.mm
+++ b/sfx2/source/appl/shutdowniconaqua.mm
@@ -100,7 +100,7 @@
-(void)dockIconClicked: (NSObject*)pSender
{
(void)pSender;
- // start start module
+ // start module
ShutdownIcon::OpenURL( STARTMODULE_URL, "_default" );
}
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index a3e01cae2474..1cbc504415cd 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -582,7 +582,7 @@ sal_uInt32 SfxFilterMatcher::DetectFilter( SfxMedium& rMedium, const SfxFilter**
if ( pInstallFilter )
{
if ( IsFilterInstalled_Impl( pInstallFilter ) )
- // Maybe the filter was installed was installed afterwards.
+ // Maybe the filter was installed afterwards.
pFilter = pInstallFilter;
}
else
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index b23a5d5aa6a7..9904d4a8ade8 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -766,11 +766,11 @@ OUString SfxObjectShell::GetTitle
6 (==SFX_TITLE_PICKLIST)
returns the Title, just like MB now would
- display it in the in the PickList
+ display it in the PickList
7 (==SFX_TITLE_HISTORY)
returns the Title just like MB now would
- display it in the in the History
+ display it in the History
10 bis USHRT_MAX
provides the 'nMaxLength' of the logical
diff --git a/sfx2/source/doc/syspathw32.cxx b/sfx2/source/doc/syspathw32.cxx
index 422a0e0c2e89..87118785e20f 100644
--- a/sfx2/source/doc/syspathw32.cxx
+++ b/sfx2/source/doc/syspathw32.cxx
@@ -56,7 +56,7 @@ static bool _SHGetSpecialFolderW32( int nFolderID, WCHAR* pszFolder, int nSize )
// Copied from sal/types.h to circumvent problems with precompiled headers
// and redefinitions of BOOL, INT32 and other types. Unfortunately tools
// also define these type incompatible with Win32 types which leads from
-// time to time to very nasty compilation errors. If someone finds a better
+// time to very nasty compilation errors. If someone finds a better
// way to solve these probs please remove this copied part!
typedef unsigned short sal_uInt16;
#if ( defined(WIN32) && !defined(__MINGW32__) )
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index fb43f7c55d62..154aff5f66b4 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -957,7 +957,7 @@ sal_uInt64 UCBStorageStream_Impl::SeekPos(sal_uInt64 const nPos)
else
{
// the problem is that even if nPos is larger the length
- // of the stream the stream pointer will be moved to this position
+ // of the stream, the stream pointer will be moved to this position
// so we have to check if temporary stream does not contain required position
if( m_pStream->Tell() > nPos
diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx
index d3b5d7bc30f1..65eb92564fae 100644
--- a/svtools/source/uno/wizard/unowizard.cxx
+++ b/svtools/source/uno/wizard/unowizard.cxx
@@ -153,8 +153,8 @@ namespace {
Wizard::~Wizard()
{
- // we do this here cause the base class' call to destroyDialog won't reach us anymore : we're within an dtor,
- // so this virtual-method-call the base class does does not work, we're already dead then ...
+ // we do this here cause the base class' call to destroyDialog won't reach us anymore: we're within an dtor,
+ // so this virtual-method-call the base class does not work, we're already dead then...
if ( m_pDialog )
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index 3a57d9e19ce5..86943939497d 100644
--- a/sw/inc/ring.hxx
+++ b/sw/inc/ring.hxx
@@ -227,7 +227,7 @@ namespace sw
value_type& dereference() const
{ return m_pCurrent ? *m_pCurrent : * m_pStart; }
/**
- * value_type is is:
+ * value_type is:
* - pointing to the current item in the iteration in general
* - nullptr if on the first item (begin())
* - m_pStart when beyond the last item (end())
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 7e693894ce9b..ff116256279b 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -561,7 +561,7 @@ DECLARE_OOXMLEXPORT_TEST(testParagraphMark, "paragraph-mark.docx")
DECLARE_OOXMLEXPORT_TEST(testParagraphMarkNonempty, "paragraph-mark-nonempty.odt")
{
if (xmlDocPtr pXmlDoc = parseExport())
- // There were two <w:sz> elements, make sure the 40 one is is dropped and the 20 one is kept.
+ // There were two <w:sz> elements, make sure the 40 one is dropped and the 20 one is kept.
assertXPath(pXmlDoc, "//w:p/w:pPr/w:rPr/w:sz", "val", "20");
}
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index f6c70df42157..369a22ae3b03 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -420,7 +420,7 @@ sal_uInt16 SwSoftHyphPortion::GetViewWidth( const SwTextSizeInfo &rInf ) const
* -> invisible, neighbors unchanged
* 2) SoftHyph is in the line, ViewOpt on
* -> visible, neighbors unchanged
- * 3) SoftHyph is at the end of the line, ViewOpt or or off
+ * 3) SoftHyph is at the end of the line, ViewOpt on or off
* -> always visible, neighbors unchanged
*/
void SwSoftHyphPortion::Paint( const SwTextPaintInfo &rInf ) const
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 620f65c77247..4a583b86bd44 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -480,11 +480,11 @@ ApoTestResults SwWW8ImplReader::TestApo(int nCellLevel, bool bTableRowEnd,
/*
#i1140#
If I have a table and apply a style to one of its frames that should cause
- a paragraph that its applied to it to only exist as a separate floating
+ a paragraph that it is applied to it to only exist as a separate floating
frame, then the behaviour depends on which cell that it has been applied
- to. If its the first cell of a row then the whole table row jumps into the
- new frame, if its not then then the paragraph attributes are applied
- "except" for the floating frame stuff. i.e. its ignored. So if theres a
+ to. If it is the first cell of a row then the whole table row jumps into the
+ new frame, if it isn't then the paragraph attributes are applied
+ "except" for the floating frame stuff. i.e. it's ignored. So if there's a
table, and we're not in the first cell then we ignore the fact that the
paragraph style wants to be in a different frame.
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 905abdae12e9..9f0db5e17c85 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -3582,7 +3582,7 @@ long X11SalFrame::HandleReparentEvent( XReparentEvent *pEvent )
* don't rely on the new parent from the event.
* the event may be "out of date", that is the window manager
* window may not exist anymore. This can happen if someone
- * shows a frame and hides it again quickly (not that that would
+ * shows a frame and hides it again quickly (not that it would
* be very sensible)
*/
hWM_Parent = GetShellWindow();
diff --git a/wizards/source/tools/Listbox.xba b/wizards/source/tools/Listbox.xba
index 2f4e48b402e6..21f8f44c6175 100644
--- a/wizards/source/tools/Listbox.xba
+++ b/wizards/source/tools/Listbox.xba
@@ -326,7 +326,7 @@ End Function
&apos; Note: When using this Sub it must be ensured that the
-&apos; &apos;RemoveItem&apos; appears only only once in the Listbox
+&apos; &apos;RemoveItem&apos; appears only once in the Listbox
Sub RemoveListboxItemByName(oListbox as Object, RemoveItem as String)
Dim OldList() as String
Dim NullList() as String
@@ -367,4 +367,4 @@ Dim i as Integer
Next i
GetItemPos() = -1
End Function
-</script:module> \ No newline at end of file
+</script:module>
diff --git a/wizards/source/tools/Misc.xba b/wizards/source/tools/Misc.xba
index 94b9c3047206..0d6e2afaf6c6 100644
--- a/wizards/source/tools/Misc.xba
+++ b/wizards/source/tools/Misc.xba
@@ -136,7 +136,7 @@ End Function
&apos; Opens a Document, checks beforehand, whether it has to be loaded
&apos; or whether it is already on the desktop.
-&apos; If the parameter bDisposable is set to False then then returned document
+&apos; If the parameter bDisposable is set to False then the returned document
&apos; should not be disposed afterwards, because it is already opened.
Function OpenDocument(DocPath as String, Args(), Optional bDisposable as Boolean)
Dim oComponents as Object
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 482ae9b2ffd6..9dbba4f3ac8d 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2352,7 +2352,7 @@ void XMLShapeExport::ImpExportGraphicObjectShape(
OUString aReplacementUrl;
xPropSet->getPropertyValue("ReplacementGraphicURL") >>= aReplacementUrl;
- // If there is no url, then then graphic is empty
+ // If there is no url, then the graphic is empty
if(!aReplacementUrl.isEmpty())
{
const OUString aStr = mrExport.AddEmbeddedGraphicObject(aReplacementUrl);
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index a7d7154039d1..bbcd6f0081b2 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -3101,7 +3101,7 @@ void XMLTextParagraphExport::_exportTextGraphic(
rPropSet->getPropertyValue( sGraphicURL ) >>= sOrigURL;
OUString sURL(GetExport().AddEmbeddedGraphicObject( sOrigURL ));
- // If there still is no url, then then graphic is empty
+ // If there still is no url, then graphic is empty
if( !sURL.isEmpty() )
{
GetExport().AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, sURL );
@@ -3132,7 +3132,7 @@ void XMLTextParagraphExport::_exportTextGraphic(
{
const OUString sReplacementURL(GetExport().AddEmbeddedGraphicObject( sReplacementOrigURL ));
- // If there is no url, then then graphic is empty
+ // If there is no url, then graphic is empty
if(sReplacementURL.getLength())
{
GetExport().AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, sReplacementURL);