summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 08:38:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 11:36:28 +0200
commit87b0eb0183e9a379a3e715dcb5de29b29e406686 (patch)
treeb024052c848a72cfcf9303d0d0830a7e1b2f4ad3 /basctl
parentb399bb8760e87386e74804a33847ff6f5ae571af (diff)
loplugin:virtualdown in basctl,basic
Change-Id: If0d729ee84263a5afb2c7acb2d62b08602aa59f4 Reviewed-on: https://gerrit.libreoffice.org/52046 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.hxx2
-rw-r--r--basctl/source/basicide/bastypes.cxx5
-rw-r--r--basctl/source/inc/baside3.hxx2
-rw-r--r--basctl/source/inc/bastypes.hxx1
4 files changed, 2 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 653b27bcef4e..bff95c0ef7cc 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -369,7 +369,7 @@ public:
BasicStatus& GetBasicStatus() { return m_aStatus; }
virtual bool IsModified () override;
- virtual bool IsPasteAllowed () override;
+ virtual bool IsPasteAllowed ();
void ShowCursor( bool bOn );
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index e69e37c4aaa6..765387522416 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -195,11 +195,6 @@ bool BaseWindow::IsModified ()
return true;
}
-bool BaseWindow::IsPasteAllowed ()
-{
- return false;
-}
-
::svl::IUndoManager* BaseWindow::GetUndoManager()
{
return nullptr;
diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx
index c553466268c8..2b7733e56b15 100644
--- a/basctl/source/inc/baside3.hxx
+++ b/basctl/source/inc/baside3.hxx
@@ -101,7 +101,7 @@ public:
virtual void StoreData() override;
virtual bool IsModified() override;
- virtual bool IsPasteAllowed() override;
+ virtual bool IsPasteAllowed();
virtual svl::IUndoManager* GetUndoManager() override;
// return number of pages to be printed
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index fa30b4c15295..09820d2f6e43 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -204,7 +204,6 @@ public:
virtual EntryDescriptor CreateEntryDescriptor() = 0;
virtual bool IsModified();
- virtual bool IsPasteAllowed();
virtual bool AllowUndo();