[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 1 15:12:13 UTC 2021


 vcl/source/app/salvtables.cxx |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

New commits:
commit 097257d5e5ccf5026db42b8bb459dc78390dc9e5
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 30 16:08:25 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 1 17:11:36 2021 +0200

    Resolves: tdf#140992 Paste/Cut should mark Edit as modified
    
    Change-Id: Id56b5bf2e922394da7e730f4bab652808253c54e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122899
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 9d565b40f1eb..855012c327ab 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -3323,11 +3323,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