Fix typos

Change-Id: I4209ef12af9e6cecb97e290a35a9de4d5f738ad5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210164
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini
2026-08-29 16:20:13 +02:00
committed by Julien Nabet
parent 31ad0ae961
commit c664918e40
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -789,12 +789,12 @@ private:
virtual void remove(const SfxPoolItem&) = 0;
};
// offering a default implementation that can be use for
// offering a default implementation that can be used for
// each SfxPoolItem (except when !isShareable()). It just
// uses an unordered_set holding ptrs to SfxPoolItems added
// and SfxPoolItem::operator== to linearly search for one.
// Thus this is not the fastest, but as fast as old 'pooled'
// stuff - better use an intelligent, pro-Item implementation
// stuff - better use an intelligent, per-Item implementation
// that does e.g. hashing or whatever might be feasible for
// that specific Item (see other derivations)
class SVL_DLLPUBLIC DefaultItemInstanceManager final : public ItemInstanceManager
+4 -4
View File
@@ -237,9 +237,9 @@ class UNLESS_MERGELIBS_MORE(VCL_DLLPUBLIC) SvTreeListBox : public Control,
bool mbHoverSelection; // Make mouse over a row "select" a row like a single-click normally does
bool mbSelectingByHover; // true during "Select" if it was due to hover
bool mbIsTextColumEnabled; // true if the property name text-column is enabled
sal_Int8 mnClicksToToggle; // 0 == Click on a row not toggle its checkbox.
// 1 == Every click on row toggle its checkbox.
// 2 == First click select, second click toggle.
sal_Int8 mnClicksToToggle; // 0 == Click on a row does not toggle its checkbox.
// 1 == Every click on row toggles its checkbox.
// 2 == First click selects, second click toggles.
SvTreeListEntry* m_pHdlEntry;
@@ -722,7 +722,7 @@ public:
void SetHoverSelection(bool bEnable) { mbHoverSelection = bEnable; }
bool GetHoverSelection() const { return mbHoverSelection; }
// to get enable or disable the text-column
// to enable or disable the text-column
void SetTextColumnEnabled(bool bEnable) { mbIsTextColumEnabled = bEnable; }
// only true during Select if the Select is due to a Hover
+3 -3
View File
@@ -212,7 +212,7 @@ LwpCellLayout* LwpFootnote::GetCellLayout()
}
/**
* @descr Get division which footnote table contains current footnote content, copy from lwp source code
* @descr Get division whose footnote table contains current footnote content, copy from lwp source code
*/
LwpDocument* LwpFootnote::GetFootnoteTableDivision()
{
@@ -287,7 +287,7 @@ LwpDocument* LwpFootnote::GetFootnoteTableDivision()
}
/**
* @descr Get division which endnote table contains current endnote content, copy from lwp source code
* @descr Get division whose endnote table contains current endnote content, copy from lwp source code
*/
LwpDocument* LwpFootnote::GetEndnoteDivision(LwpDocument* pPossible)
{
@@ -378,7 +378,7 @@ LwpContent* LwpFootnote::FindFootnoteContent()
{
LwpContent* pContent = dynamic_cast<LwpContent*>(m_Content.obj().get());
//if the content has layout, the content has footnote contents;
//or looking for the celllayout and return the footnote contents.
//or look for the celllayout and return the footnote contents.
if (pContent && pContent->GetLayout(nullptr).is())
return pContent;