summaryrefslogtreecommitdiffstats
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-24 09:15:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-25 08:06:15 +0100
commit970ca8de0be4c4cd9485170f3c56a34b4069eec2 (patch)
tree1eb110e926d1539b729e06ab78e723f5ca19ae1c /basctl
parentloplugin:unusedfields in dbaccess (diff)
downloadcore-970ca8de0be4c4cd9485170f3c56a34b4069eec2.tar.gz
core-970ca8de0be4c4cd9485170f3c56a34b4069eec2.zip
loplugin:unusedfields in various
Change-Id: I31d0e6c3559af2e322fb474b97f3bbf4d5064831 Reviewed-on: https://gerrit.libreoffice.org/68280 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside3.cxx4
-rw-r--r--basctl/source/inc/baside3.hxx2
2 files changed, 0 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index 48eb1c8cf3e4..7de114b17ced 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -1261,7 +1261,6 @@ ItemType DialogWindow::GetType () const
DialogWindowLayout::DialogWindowLayout (vcl::Window* pParent, ObjectCatalog& rObjectCatalog_) :
Layout(pParent),
- pChild(nullptr),
rObjectCatalog(rObjectCatalog_),
pPropertyBrowser(nullptr)
{
@@ -1278,7 +1277,6 @@ void DialogWindowLayout::dispose()
if (pPropertyBrowser)
Remove(pPropertyBrowser);
pPropertyBrowser.disposeAndClear();
- pChild.clear();
Layout::dispose();
}
@@ -1321,7 +1319,6 @@ void DialogWindowLayout::UpdatePropertyBrowser ()
void DialogWindowLayout::Activating (BaseWindow& rChild)
{
assert(dynamic_cast<DialogWindow*>(&rChild));
- pChild = &static_cast<DialogWindow&>(rChild);
rObjectCatalog.SetLayoutWindow(this);
rObjectCatalog.UpdateEntries();
rObjectCatalog.Show();
@@ -1336,7 +1333,6 @@ void DialogWindowLayout::Deactivating ()
rObjectCatalog.Hide();
if (pPropertyBrowser)
pPropertyBrowser->Hide();
- pChild = nullptr;
}
void DialogWindowLayout::ExecuteGlobal (SfxRequest& rReq)
diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx
index e48c135f4480..e955b6b71430 100644
--- a/basctl/source/inc/baside3.hxx
+++ b/basctl/source/inc/baside3.hxx
@@ -137,8 +137,6 @@ protected:
virtual void OnFirstSize (long nWidth, long nHeight) override;
private:
- // child window
- VclPtr<DialogWindow> pChild;
// dockable windows:
// object catalog (owned by Shell)
ObjectCatalog& rObjectCatalog;