From e367e59e37499d0efca381f0b41df52c7cfc2026 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Aug 2021 10:13:13 +0200 Subject: loplugin:unusedfields Change-Id: Ie27afe4c2438c44baece4b926572584c6695dc39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120774 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basctl/source/basicide/baside3.cxx | 2 +- basctl/source/inc/baside3.hxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'basctl') 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 m_pEditor; std::unique_ptr m_pUndoMgr; // never nullptr - OUString m_sCurPath; sal_uInt16 m_nControlSlotId; protected: -- cgit