[Libreoffice-commits] core.git: Branch 'libreoffice-7-2-2' - vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 1 16:59:17 UTC 2021
vcl/source/app/salvtables.cxx | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
New commits:
commit ce64c678e7dcc188f38304f0813d1c7895e6832f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 30 16:08:25 2021 +0100
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Fri Oct 1 18:58:44 2021 +0200
Resolves: tdf#140992 Paste/Cut should mark Edit as modified
Change-Id: Id56b5bf2e922394da7e730f4bab652808253c54e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122857
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
Tested-by: Jenkins
(cherry picked from commit 236419fb117ce8cd96d181f0b1050d7bb6020a06)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122871
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index a66e95158aa4..1fe6cb38320b 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -3336,11 +3336,19 @@ Edit& SalInstanceEntry::getEntry() { return *m_xEntry; }
void SalInstanceEntry::fire_signal_changed() { signal_changed(); }
-void SalInstanceEntry::cut_clipboard() { m_xEntry->Cut(); }
+void SalInstanceEntry::cut_clipboard()
+{
+ m_xEntry->Cut();
+ m_xEntry->Modify();
+}
void SalInstanceEntry::copy_clipboard() { m_xEntry->Copy(); }
-void SalInstanceEntry::paste_clipboard() { m_xEntry->Paste(); }
+void SalInstanceEntry::paste_clipboard()
+{
+ m_xEntry->Paste();
+ m_xEntry->Modify();
+}
namespace
{
More information about the Libreoffice-commits
mailing list