m_pLine is always unset

Change-Id: I269081ed0abcad09b66331d7fc1589e16556bd27
Reviewed-on: https://gerrit.libreoffice.org/61801
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2018-10-15 21:01:56 +02:00
parent 992ed5bdf9
commit ff643eb3c5
2 changed files with 1 additions and 5 deletions
-2
View File
@@ -40,7 +40,6 @@ class OKButton;
class CancelButton;
class HelpButton;
class Button;
class FixedLine;
// class SfxModalDialog --------------------------------------------------
@@ -153,7 +152,6 @@ public:
struct SingleTabDlgImpl
{
VclPtr<SfxTabPage> m_pSfxPage;
VclPtr<FixedLine> m_pLine;
SingleTabDlgImpl();
};
+1 -3
View File
@@ -46,8 +46,7 @@ using namespace ::com::sun::star::uno;
#define USERITEM_NAME "UserItem"
SingleTabDlgImpl::SingleTabDlgImpl()
: m_pSfxPage(nullptr)
, m_pLine(nullptr)
: m_pSfxPage(nullptr)
{
}
@@ -664,7 +663,6 @@ SfxSingleTabDialog::~SfxSingleTabDialog()
void SfxSingleTabDialog::dispose()
{
pImpl->m_pSfxPage.disposeAndClear();
pImpl->m_pLine.disposeAndClear();
pImpl.reset();
pOKBtn.clear();
pCancelBtn.clear();