Fix typo
Change-Id: Ic0961f62e5212901104c60fa2119a9fd4cc896ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185029 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
446f9b4fc8
commit
d57d5826db
@ -2924,7 +2924,7 @@ void EditDoc::YrsApplyEEDelta(YTransaction *const /*pTxn*/, YTextEvent const*con
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (pos == 0 && static_cast<size_t>(node) == maContents.size())
|
if (pos == 0 && static_cast<size_t>(node) == maContents.size())
|
||||||
{ // adjust past-the-end positon (formatting change)
|
{ // adjust past-the-end position (formatting change)
|
||||||
--node;
|
--node;
|
||||||
pos = maContents[node]->Len();
|
pos = maContents[node]->Len();
|
||||||
}
|
}
|
||||||
@ -3043,7 +3043,7 @@ EditDoc::~EditDoc()
|
|||||||
maContents.clear();
|
maContents.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// not sure which of the members make sense to sync - if its only a cache for
|
// not sure which of the members make sense to sync - if it's only a cache for
|
||||||
// some value elsewhere in the model then probably not?
|
// some value elsewhere in the model then probably not?
|
||||||
void EditDoc::SetVertical(bool const bVertical)
|
void EditDoc::SetVertical(bool const bVertical)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user