summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-10 18:55:12 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-11 05:08:01 +0000
commit0f0ebddb81a7c5b83bdf8d050bfe38dad26f0bfd (patch)
treedd128499869c5f7a7b1a05754af17258f0e32d4a
parentc328aefa6f2c9a04c50bad7228a468ff2f136d22 (diff)
Fix typos
Change-Id: Ic54e808956e5cf4e8079942c0ff799f802cd4b6c Reviewed-on: https://gerrit.libreoffice.org/35053 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx2
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx18
-rw-r--r--compilerplugins/clang/stringstatic.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NResultSetMetaData.hxx2
-rw-r--r--connectivity/source/drivers/jdbc/Timestamp.cxx2
-rw-r--r--connectivity/source/drivers/kab/KResultSetMetaData.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabResultSetMetaData.hxx2
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_statement.cxx2
-rw-r--r--connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx2
-rw-r--r--cpputools/source/unoexe/unoexe.cxx2
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx8
12 files changed, 24 insertions, 24 deletions
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index 2eb8f395e8ff..8f0b1ecf32cc 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -439,7 +439,7 @@ namespace accessibility
{
return getListBox()->GetEntryLongDescription( pEntry );
}
- //want to cout the real column nubmer in the list box.
+ //want to cout the real column number in the list box.
sal_uInt16 iRealItemCount = 0;
sal_uInt16 iCount = 0;
sal_uInt16 iTotleItemCount = pEntry->ItemCount();
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 5c65dde32291..7e5c2dbc7ff9 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -1869,7 +1869,7 @@ namespace comphelper
// ensure dir and file vectors
fillDirFileInfo();
- // proccess all files in question recursively
+ // process all files in question recursively
if (!maDirs.empty() || !maFiles.empty())
{
bDidPush = tryPush_Files(
@@ -1911,7 +1911,7 @@ namespace comphelper
// ensure dir and file vectors
fillDirFileInfo();
- // proccess all files in question recursively
+ // process all files in question recursively
if (!maDirs.empty() || !maFiles.empty())
{
bPopPossible = isPopPossible_files(
@@ -1936,7 +1936,7 @@ namespace comphelper
// ensure dir and file vectors
fillDirFileInfo();
- // proccess all files in question recursively
+ // process all files in question recursively
if (!maDirs.empty() || !maFiles.empty())
{
bDidPop = tryPop_files(
@@ -2258,7 +2258,7 @@ namespace comphelper
bool bDidPush(false);
osl::Directory::createPath(rTargetURL);
- // proccess files
+ // process files
for (const auto& file : rFiles)
{
bDidPush |= tryPush_file(
@@ -2268,7 +2268,7 @@ namespace comphelper
file.second);
}
- // proccess dirs
+ // process dirs
for (const auto& dir : rDirs)
{
OUString aNewSourceURL(rSourceURL + "/" + dir);
@@ -2339,7 +2339,7 @@ namespace comphelper
{
bool bPopPossible(false);
- // proccess files
+ // process files
for (const auto& file : rFiles)
{
bPopPossible |= isPopPossible_file(
@@ -2349,7 +2349,7 @@ namespace comphelper
file.second);
}
- // proccess dirs
+ // process dirs
for (const auto& dir : rDirs)
{
OUString aNewSourceURL(rSourceURL + "/" + dir);
@@ -2406,7 +2406,7 @@ namespace comphelper
{
bool bDidPop(false);
- // proccess files
+ // process files
for (const auto& file : rFiles)
{
bDidPop |= tryPop_file(
@@ -2416,7 +2416,7 @@ namespace comphelper
file.second);
}
- // proccess dirs
+ // process dirs
for (const auto& dir : rDirs)
{
OUString aNewSourceURL(rSourceURL + "/" + dir);
diff --git a/compilerplugins/clang/stringstatic.cxx b/compilerplugins/clang/stringstatic.cxx
index d251ed874c58..e82d173d0b16 100644
--- a/compilerplugins/clang/stringstatic.cxx
+++ b/compilerplugins/clang/stringstatic.cxx
@@ -12,7 +12,7 @@
#include "check.hxx"
#include "plugin.hxx"
-/** Look for static OUString and OUString[], they can be more effeciently declared as:
+/** Look for static OUString and OUString[], they can be more efficiently declared as:
static const OUStringLiteral our_aLBEntryMap[] = {" ", ", "};
static const OUStringLiteral sName("name");
@@ -44,7 +44,7 @@ void StringStatic::run()
// passing around pointers to global OUString
if (fn.startswith(SRCDIR "/filter/source/svg/"))
return;
- // has a mix of literals and and refs to external OUStrings
+ // has a mix of literals and refs to external OUStrings
if (fn == SRCDIR "/ucb/source/ucp/webdav-neon/ContentProperties.cxx")
return;
diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
index 9f5d52c77d73..eaa28e4b44af 100644
--- a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
@@ -49,7 +49,7 @@ namespace connectivity
{ return m_aEvoabFields[columnIndex - 1]; }
sal_Int32 getFieldSize() const
{return m_aEvoabFields.size();}
- /// Avoid ambigous cast error from the compiler.
+ /// Avoid ambiguous cast error from the compiler.
operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
{ return this; }
diff --git a/connectivity/source/drivers/jdbc/Timestamp.cxx b/connectivity/source/drivers/jdbc/Timestamp.cxx
index 1c8039e08c6f..41a29d0baa77 100644
--- a/connectivity/source/drivers/jdbc/Timestamp.cxx
+++ b/connectivity/source/drivers/jdbc/Timestamp.cxx
@@ -110,7 +110,7 @@ java_sql_Time::java_sql_Time( const css::util::Time& _rOut ): java_util_Date( nu
args[0].l = convertwchar_tToJavaString(t.pEnv,sDateStr);
// Turn off Java-Call for the constructor
- // intialise temporary variables
+ // initialise temporary variables
jobject tempObj;
static jmethodID mID(nullptr);
if ( !mID )
diff --git a/connectivity/source/drivers/kab/KResultSetMetaData.hxx b/connectivity/source/drivers/kab/KResultSetMetaData.hxx
index c5052380c77e..492089af1ea0 100644
--- a/connectivity/source/drivers/kab/KResultSetMetaData.hxx
+++ b/connectivity/source/drivers/kab/KResultSetMetaData.hxx
@@ -45,7 +45,7 @@ namespace connectivity
public:
KabResultSetMetaData();
- // avoid ambigous cast error from the compiler
+ // avoid ambiguous cast error from the compiler
inline operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
{ return this; }
diff --git a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
index d1b846e89388..05f911cb0c49 100644
--- a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
+++ b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
@@ -49,7 +49,7 @@ namespace connectivity
public:
MacabResultSetMetaData(MacabConnection* _pConnection, OUString const & _sTableName);
- // avoid ambigous cast error from the compiler
+ // avoid ambiguous cast error from the compiler
operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
{ return this; }
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
index b2ef4d9ffade..3e0432adda7d 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
@@ -186,7 +186,7 @@ namespace connectivity
ProductStruct &rProduct = m_ProductProfileList[index];
if (!rProduct.mCurrentProfileName.isEmpty())
{
- //default profile setted in mozilla registry
+ //default profile set in mozilla registry
return rProduct.mCurrentProfileName;
}
if (rProduct.mProfileList.empty())
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx
index d4351d333ff4..39063d8e6548 100644
--- a/connectivity/source/drivers/postgresql/pq_statement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_statement.cxx
@@ -341,7 +341,7 @@ static std::vector< OUString > lookupKeys(
if( keySupplier.is() )
{
- // is ambigous, as I don't know postgresql searchpath,
+ // is ambiguous, as I don't know postgresql searchpath,
// I can't continue here, as I may write to a different table
keySupplier.clear();
if (isLog(pSettings, LogLevel::Info))
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
index db3e9808200a..904d7661c7d1 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
@@ -74,7 +74,7 @@ namespace connectivity
}
~ODatabaseMetaDataResultSetMetaData() override;
- /// Avoid ambigous cast error from the compiler.
+ /// Avoid ambiguous cast error from the compiler.
inline operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
{ return this; }
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index 32a2fcb97e41..e89044296d6e 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -511,7 +511,7 @@ SAL_IMPLEMENT_MAIN()
Reference< XComponent > xComp( xInstance, UNO_QUERY );
if (xComp.is())
xComp->dispose();
- throw RuntimeException( "component does not export interface interface \"com.sun.star.lang.XMain\"!" );
+ throw RuntimeException( "component does not export interface \"com.sun.star.lang.XMain\"!" );
}
}
}
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 4810f814f710..e1e3d5852589 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -305,7 +305,7 @@ static FrmMap aVCharMap[] =
// #i22341#
// introduce mappings for new vertical alignment at top of line <LB::VertLine>
// and correct mapping for vertical alignment at character for position <FROM_BOTTOM>
- // Note: Because of these adjustments the map becomes ambigous in its values
+ // Note: because of these adjustments the map becomes ambiguous in its values
// <eStrId>/<eMirrorStrId> and <nAlign>. These ambiguities are considered
// in the methods <SwFrmPage::FillRelLB(..)>, <SwFrmPage::GetAlignment(..)>
// and <SwFrmPage::FillPosLB(..)>
@@ -1430,7 +1430,7 @@ short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBo
short nAlign = 0;
// #i22341# - special handling also for map <aVCharMap>,
- // because it contains ambigous items for alignment
+ // because it contains ambiguous items for alignment
if (pMap == aVAsCharHtmlMap || pMap == aVAsCharMap ||
pMap == aVCharMap )
{
@@ -1739,7 +1739,7 @@ void SvxSwPosSizeTabPage::FillRelLB(FrmMap *pMap, sal_uInt16 nMapPos, sal_uInt16
sal_uInt16 nRelCount = SAL_N_ELEMENTS(aRelationMap);
// #i22341# - special handling for map <aVCharMap>,
- // because its ambigous in its <eStrId>/<eMirrorStrId>.
+ // because its ambiguous in its <eStrId>/<eMirrorStrId>.
if ( pMap == aVCharMap )
{
nLBRelations = ::lcl_GetLBRelationsForStrID( pMap,
@@ -1851,7 +1851,7 @@ sal_uInt16 SvxSwPosSizeTabPage::FillPosLB(FrmMap *_pMap,
_rLB.InsertEntry(sEntry);
}
// #i22341# - add condition to handle map <aVCharMap>
- // that is ambigous in the alignment.
+ // that is ambiguous in the alignment.
if ( _pMap[i].nAlign == _nAlign &&
( !(_pMap == aVCharMap) || _pMap[i].nLBRelations & nLBRelations ) )
{