loplugin:unusedfields in svtools

Change-Id: I5484fe5ee449e72919591bd374366aa60f792e28
Reviewed-on: https://gerrit.libreoffice.org/40254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2017-07-20 15:15:48 +02:00
parent 7b59273c6c
commit 8e7cb95888
5 changed files with 1 additions and 9 deletions

View File

@ -660,12 +660,8 @@ include/svl/svdde.hxx:300
DdeService pConv ConvList *
include/svl/svdde.hxx:301
DdeService nStatus short
include/svtools/calendar.hxx:337
CalendarField mnCalendarStyle WinBits
include/svtools/editsyntaxhighlighter.hxx:33
MultiLineEditSyntaxHighlight m_aColorConfig svtools::ColorConfig
include/svtools/headbar.hxx:241
HeaderBar maDoubleClickHdl Link<class HeaderBar *, void>
include/svx/svdmark.hxx:142
SdrMarkList maPointName class rtl::OUString
include/svx/svdmark.hxx:143

View File

@ -334,7 +334,6 @@ class SVT_DLLPUBLIC CalendarField : public DateField
private:
VclPtr<ImplCFieldFloatWin> mpFloatWin;
VclPtr<Calendar> mpCalendar;
WinBits mnCalendarStyle;
VclPtr<PushButton> mpTodayBtn;
VclPtr<PushButton> mpNoneBtn;
Date maDefaultDate;

View File

@ -238,7 +238,6 @@ private:
Link<HeaderBar*,void> maDragHdl;
Link<HeaderBar*,void> maEndDragHdl;
Link<HeaderBar*,void> maSelectHdl;
Link<HeaderBar*,void> maDoubleClickHdl;
Link<HeaderBar*,void> maCreateAccessibleHdl;
css::uno::Reference< css::accessibility::XAccessible >

View File

@ -2121,7 +2121,6 @@ CalendarField::CalendarField(vcl::Window* pParent, WinBits nWinStyle)
: DateField(pParent, nWinStyle)
, mpFloatWin(nullptr)
, mpCalendar(nullptr)
, mnCalendarStyle(0)
, mpTodayBtn(nullptr)
, mpNoneBtn(nullptr)
, maDefaultDate( Date::EMPTY )
@ -2250,7 +2249,7 @@ Calendar* CalendarField::GetCalendar()
{
mpFloatWin = VclPtr<ImplCFieldFloatWin>::Create( this );
mpFloatWin->SetPopupModeEndHdl( LINK( this, CalendarField, ImplPopupModeEndHdl ) );
mpCalendar = VclPtr<Calendar>::Create( mpFloatWin, mnCalendarStyle | WB_TABSTOP );
mpCalendar = VclPtr<Calendar>::Create( mpFloatWin, WB_TABSTOP );
mpCalendar->SetPosPixel( Point() );
mpCalendar->SetSelectHdl( LINK( this, CalendarField, ImplSelectHdl ) );
}

View File

@ -1106,7 +1106,6 @@ void HeaderBar::Select()
void HeaderBar::DoubleClick()
{
maDoubleClickHdl.Call( this );
}
void HeaderBar::InsertItem( sal_uInt16 nItemId, const OUString& rText,