summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-20 10:13:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-20 11:28:46 +0200
commite367e59e37499d0efca381f0b41df52c7cfc2026 (patch)
tree5d723ef00ca4d480231571cedef3029640ad6aa3 /basctl/source
parent02c9c9adf65883ecaeef0e86a4b0b70ee3d5cf52 (diff)
loplugin:unusedfields
Change-Id: Ie27afe4c2438c44baece4b926572584c6695dc39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120774 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/baside3.cxx2
-rw-r--r--basctl/source/inc/baside3.hxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index 12aa15589739..085228971eae 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -682,7 +682,7 @@ void DialogWindow::SaveDialog()
if( bResource )
{
- INetURLObject aURLObj( m_sCurPath );
+ INetURLObject aURLObj("");
aURLObj.removeExtension();
OUString aDialogName( aURLObj.getName() );
aURLObj.removeSegment();
diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx
index 86c37ea20a44..f5d367182d0a 100644
--- a/basctl/source/inc/baside3.hxx
+++ b/basctl/source/inc/baside3.hxx
@@ -51,7 +51,6 @@ private:
DialogWindowLayout& m_rLayout;
std::unique_ptr<DlgEditor> m_pEditor;
std::unique_ptr<SfxUndoManager> m_pUndoMgr; // never nullptr
- OUString m_sCurPath;
sal_uInt16 m_nControlSlotId;
protected: