vcl/roadmapwizard: remove unused maResponses and AddResponseButton()
Change-Id: I00b9951d1ac6ff18f4bfb0cc8c470d83db754567 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207237 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
@@ -74,7 +74,6 @@ namespace vcl
|
||||
VclPtr<PushButton> mpPrevBtn;
|
||||
VclPtr<PushButton> mpNextBtn;
|
||||
VclPtr<ORoadmap> mpRoadmap;
|
||||
std::map<VclPtr<vcl::Window>, short> maResponses;
|
||||
sal_uInt16 mnCurLevel;
|
||||
sal_Int16 mnLeftAlignCount;
|
||||
bool mbEmptyViewMargin;
|
||||
@@ -129,7 +128,6 @@ namespace vcl
|
||||
|
||||
void AddButton( Button* pButton, tools::Long nOffset = 0 );
|
||||
void RemoveButton( Button* pButton );
|
||||
void AddButtonResponse( Button* pButton, int response);
|
||||
|
||||
void SetPageSizePixel( const Size& rSize ) { maPageSize = rSize; }
|
||||
const Size& GetPageSizePixel() const { return maPageSize; }
|
||||
|
||||
@@ -161,7 +161,6 @@ namespace vcl
|
||||
mpPrevBtn.reset();
|
||||
mpNextBtn.reset();
|
||||
mpRoadmap.disposeAndClear();
|
||||
maResponses.clear();
|
||||
Dialog::dispose();
|
||||
}
|
||||
|
||||
@@ -403,11 +402,6 @@ namespace vcl
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void RoadmapWizard::AddButtonResponse( Button* pButton, int response)
|
||||
{
|
||||
maResponses[pButton] = response;
|
||||
}
|
||||
|
||||
void RoadmapWizard::implConstruct()
|
||||
{
|
||||
m_xWizardImpl->sTitleBase = GetText();
|
||||
@@ -418,7 +412,6 @@ namespace vcl
|
||||
m_pHelp->SetSizePixel(LogicToPixel(Size(50, 14), MapMode(MapUnit::MapAppFont)));
|
||||
m_pHelp->Show();
|
||||
m_pHelp->set_id(u"help"_ustr);
|
||||
AddButtonResponse(m_pHelp, RET_HELP);
|
||||
AddButton( m_pHelp, WIZARDDIALOG_BUTTON_STDOFFSET_X);
|
||||
|
||||
// the previous button
|
||||
|
||||
Reference in New Issue
Block a user