summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-05-22 16:00:23 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-05-22 21:02:51 +0200
commitba9b525ec1ecbe3e4972a46766930253504becfb (patch)
treebc88af81f5d1876c07a9ecb1f83db7f86f9b9f53
parente1544f8785af4b78fa2b96854e3bc2d8f26c6241 (diff)
Fix typos
Change-Id: I5ad14286712e27e8d15174c9ed420bf93367d041 Reviewed-on: https://gerrit.libreoffice.org/54579 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--sal/osl/unx/profile.cxx2
-rw-r--r--sc/source/filter/excel/xestring.cxx4
-rw-r--r--sfx2/source/control/bindings.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx2
-rw-r--r--sw/source/core/inc/flyfrm.hxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx
index 9eee8ce54e0e..e1992da2416e 100644
--- a/sal/osl/unx/profile.cxx
+++ b/sal/osl/unx/profile.cxx
@@ -948,7 +948,7 @@ static osl_TFile* openFileImpl(const sal_Char* pszFilename, oslProfileOption Pro
if (! bWriteable)
{
pFile->m_Handle = open(pszFilename, O_RDONLY);
- /* mfe: argghh!!! do not check if the file could be openend */
+ /* mfe: argghh!!! do not check if the file could be opened */
/* default mode expects it that way!!! */
}
else
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index 1b92cf17c905..ac827e90cf11 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -237,7 +237,7 @@ sal_uInt16 XclExpString::GetHeaderSize() const
return
(mb8BitLen ? 1 : 2) + // length field
(IsWriteFlags() ? 1 : 0) + // flag field
- (IsWriteFormats() ? 2 : 0); // richtext formattting count
+ (IsWriteFormats() ? 2 : 0); // richtext formatting count
}
std::size_t XclExpString::GetBufferSize() const
@@ -250,7 +250,7 @@ std::size_t XclExpString::GetSize() const
return
GetHeaderSize() + // header
GetBufferSize() + // character buffer
- (IsWriteFormats() ? (4 * GetFormatsCount()) : 0); // richtext formattting
+ (IsWriteFormats() ? (4 * GetFormatsCount()) : 0); // richtext formatting
}
sal_uInt16 XclExpString::GetChar( sal_uInt16 nCharIdx ) const
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 44f409d99fbd..74e414a1807b 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -112,7 +112,7 @@ public:
css::uno::Reference< css::frame::XDispatchProvider > xProv;
SfxWorkWindow* pWorkWin;
SfxBindings* pSubBindings;
- std::vector<SfxStateCache *> pCaches; // One chache for each binding
+ std::vector<SfxStateCache *> pCaches; // One cache for each binding
std::size_t nCachedFunc1; // index for the last one called
std::size_t nCachedFunc2; // index for the second last called
std::size_t nMsgPos; // Message-Position relative the one to be updated
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 99a1ae02769e..8fe2079492c5 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -693,7 +693,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
pNewSet->Put( SfxUInt16Item(SID_UPDATEDOCMODE,css::document::UpdateDocMode::ACCORDING_TO_CONFIG) );
xOldObj->SetModified( false );
- // Do not chache the old Document! Is invalid when loading
+ // Do not cache the old Document! Is invalid when loading
// another document.
const SfxStringItem* pSavedOptions = SfxItemSet::GetItem<SfxStringItem>(pMedium->GetItemSet(), SID_FILE_FILTEROPTIONS, false);
diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx
index 04c33f659732..0c4c9319b3ed 100644
--- a/sw/source/core/inc/flyfrm.hxx
+++ b/sw/source/core/inc/flyfrm.hxx
@@ -77,7 +77,7 @@ protected:
private:
// It must be possible to block Content-bound flys so that they will be not
// formatted; in this case MakeAll() returns immediately. This is necessary
- // for page changes during formattting. In addition, it is needed during
+ // for page changes during formatting. In addition, it is needed during
// the constructor call of the root object since otherwise the anchor will
// be formatted before the root is anchored correctly to a shell and
// because too much would be formatted as a result.
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 9aab72c50ddf..c0b0587f036d 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -543,7 +543,7 @@ void SwFntObj::GuessLeading( const SwViewShell&
// (above original comment preserved for cultural reasons)
// Those who lie about their Leading, may lie about their
// Ascent/Descent as well, hence the Font will be lowered a
- // litte without changing its height.
+ // little without changing its height.
long nDiff = std::min( rMet.GetDescent() - aWinMet.GetDescent(),
aWinMet.GetAscent() - rMet.GetAscent() - nTmpLeading );
if( nDiff > 0 )