Kaydet (Commit) ba9b525e authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I5ad14286712e27e8d15174c9ed420bf93367d041
Reviewed-on: https://gerrit.libreoffice.org/54579Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst e1544f87
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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);
......
......@@ -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.
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment