[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Julien Nabet
serval2412 at yahoo.fr
Tue May 20 02:23:03 PDT 2014
sc/source/ui/app/inputhdl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit bb8acc29e4ad4fb8245b2ed47e60c6cac641ddb1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue May 20 07:33:00 2014 +0200
Resolves: fdo#78838 past-the-end iterator
Inserting data in pColumnData invalidated miAutoPosColumn
See https://bugs.freedesktop.org/show_bug.cgi?id=78838#c6
Cherry-picked from 1df54514d7a1ebb1b4fa16cca386a34e7c41c490
Change-Id: Iece423cd8d14f5ae7bf382583c0369895a00f168
Reviewed-on: https://gerrit.libreoffice.org/9409
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index d964312..ed5e352 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1536,7 +1536,10 @@ void ScInputHandler::GetColData()
pDoc->GetDataEntries(
aCursorPos.Col(), aCursorPos.Row(), aCursorPos.Tab(), true, aEntries, true);
if (!aEntries.empty())
+ {
pColumnData->insert(aEntries.begin(), aEntries.end());
+ miAutoPosColumn = pColumnData->end();
+ }
}
}
More information about the Libreoffice-commits
mailing list