diff options
Diffstat (limited to 'vcl/source/app/salvtables.cxx')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index bf8ac3db8120..601fe9c04958 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -2962,6 +2962,21 @@ public: signal_changed(); } + virtual void cut_clipboard() override + { + m_xEntry->Cut(); + } + + virtual void copy_clipboard() override + { + m_xEntry->Copy(); + } + + virtual void paste_clipboard() override + { + m_xEntry->Paste(); + } + virtual ~SalInstanceEntry() override { if (m_aCursorPositionHdl.IsSet()) @@ -3407,6 +3422,12 @@ public: enable_notify_events(); } + virtual bool is_selected(int pos) const override + { + SvTreeListEntry* pEntry = m_xTreeView->GetEntry(nullptr, pos); + return m_xTreeView->IsSelected(pEntry); + } + virtual void unselect(int pos) override { assert(m_xTreeView->IsUpdateMode() && "don't select when frozen"); |