summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/source/src/java/org/libreoffice/storage/external/LegacyExtSDDocumentsProvider.java2
-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--include/unotools/fontcvt.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--pyuno/README2
-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--sw/source/uibase/dbui/dbmgr.cxx2
-rw-r--r--vcl/unx/generic/window/salframe.cxx2
-rw-r--r--vcl/win/gdi/winlayout.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
52 files changed, 67 insertions, 67 deletions
diff --git a/android/source/src/java/org/libreoffice/storage/external/LegacyExtSDDocumentsProvider.java b/android/source/src/java/org/libreoffice/storage/external/LegacyExtSDDocumentsProvider.java
index ae5ddde40141..0ded17764cce 100644
--- a/android/source/src/java/org/libreoffice/storage/external/LegacyExtSDDocumentsProvider.java
+++ b/android/source/src/java/org/libreoffice/storage/external/LegacyExtSDDocumentsProvider.java
@@ -18,7 +18,7 @@ import java.net.URI;
/**
* Legacy document provider for External SD cards, for Android 4.3 and below.
*
- * Uses the the LocalFile class.
+ * Uses the LocalFile class.
*/
public class LegacyExtSDDocumentsProvider implements IExternalDocumentProvider,
SharedPreferences.OnSharedPreferenceChangeListener{
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 3c6d62459930..33a70aceb54b 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 9646339e45ae..6e10a3331175 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 d331b426cb09..36bb3a0e540a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12967,7 +12967,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 615a5cfd8c66..78b51f5b8e8e 100644
--- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
@@ -104,8 +104,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 4be4c8864e13..9a6484a30690 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -519,7 +519,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 58a2dc82e78b..1f30767cf419 100644
--- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
+++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
@@ -376,7 +376,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 0d96af96518e..cda0aade7fce 100644
--- a/embeddedobj/source/commonembedding/embedobj.cxx
+++ b/embeddedobj/source/commonembedding/embedobj.cxx
@@ -154,7 +154,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 77a30d11ffc5..de0263983b2c 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 75b50bee42ab..2fc981ef51e7 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -412,7 +412,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/include/unotools/fontcvt.hxx b/include/unotools/fontcvt.hxx
index df8003b2063a..ae6db9edb0d7 100644
--- a/include/unotools/fontcvt.hxx
+++ b/include/unotools/fontcvt.hxx
@@ -57,7 +57,7 @@ public:
};
-// The converter will allow somewhat dubious mappings to the the windows symbols fonts,
+// The converter will allow somewhat dubious mappings to the windows symbols fonts,
// that are nevertheless recognizably similar. Even in this mode there will be characters that fail.
// The users of this might want to make a distinction between failed characters
// which were inside and those outside the unicode private area.
diff --git a/jvmfwk/inc/vendorplugin.hxx b/jvmfwk/inc/vendorplugin.hxx
index 0bd5988301d6..c354087df88c 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 a8e0f306d18a..e14d16945747 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 c10ea8d580d4..d61a4d279096 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 2d5e614dbf59..b2b4866c16be 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/pyuno/README b/pyuno/README
index 57f57db69870..a0a40027004b 100644
--- a/pyuno/README
+++ b/pyuno/README
@@ -14,6 +14,6 @@ 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
-function to to insert "import pdb; pdb.set_trace()" (somewhere so that it is
+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/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index b4b31b84ab0c..877e22605b63 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -399,7 +399,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 c3dbffe28d88..b632009afadb 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -623,7 +623,7 @@ RscDefine * RscFileTab::NewDef( Index 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 6e3bbca0b449..57a7e647043c 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -1420,7 +1420,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 7efeb337fed5..c97286cb8fd7 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -573,7 +573,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 3b829ad0aeba..d99972898a9b 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 05174c9248c4..ec58fed70534 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 35fc86776c9e..8a4b2e23f9d5 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 9bb702173af3..7099cb99cd2a 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 adf0e4d4c368..5d15dda359d6 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -579,7 +579,7 @@ sal_uInt32 SfxFilterMatcher::DetectFilter( SfxMedium& rMedium, std::shared_ptr<c
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 65786cf8997a..902e96ccea05 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -755,11 +755,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 1037ce74ff61..a6ec72d08acf 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 704be0047579..264eafb26eb8 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -947,7 +947,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 1a15b3b9dd18..5b0cc4d1e383 100644
--- a/svtools/source/uno/wizard/unowizard.cxx
+++ b/svtools/source/uno/wizard/unowizard.cxx
@@ -149,8 +149,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 fcfcfbdf7548..9260cd12e648 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -563,7 +563,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 acafdd777d71..ac170336ca73 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -486,11 +486,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/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 0b886c616a07..a5a851f37e32 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -918,7 +918,7 @@ static bool lcl_SaveDoc(
bool bAnyError = !xObjectShell->DoSaveAs(*pDstMed);
// Actually this should be a bool... so in case of email and individual
- // files, where this is set, we skip the the recently used handling
+ // files, where this is set, we skip the recently used handling
bAnyError |= !xObjectShell->DoSaveCompleted( pDstMed, !decodedURL );
bAnyError |= (0 != xObjectShell->GetError());
if( bAnyError )
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index a154be861d02..7f4511df6ab0 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -3583,7 +3583,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/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index b248aebb0912..391f7008c10b 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -3558,7 +3558,7 @@ void UniscribeLayout::Justify( DeviceCoordinate nNewWidth )
bool UniscribeLayout::IsKashidaPosValid ( int nCharPos ) const
{
// we have to find the visual item first since the mpLogClusters[]
- // needed to find the cluster start is relative to to the visual item
+ // needed to find the cluster start is relative to the visual item
int nMinGlyphIndex = -1;
for( int nItem = 0; nItem < mnItemCount; ++nItem )
{
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 92c965ee0e71..41a01c71da9b 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2351,7 +2351,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 4b7a823afe19..ba08a558ada5 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -3081,7 +3081,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 );
@@ -3112,7 +3112,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);