summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/unusedfields.readonly.results4
-rw-r--r--include/svtools/calendar.hxx1
-rw-r--r--include/svtools/headbar.hxx1
-rw-r--r--svtools/source/control/calendar.cxx3
-rw-r--r--svtools/source/control/headbar.cxx1
5 files changed, 1 insertions, 9 deletions
diff --git a/compilerplugins/clang/unusedfields.readonly.results b/compilerplugins/clang/unusedfields.readonly.results
index 0c3ddcd1516e..a0cbcb37d6c8 100644
--- a/compilerplugins/clang/unusedfields.readonly.results
+++ b/compilerplugins/clang/unusedfields.readonly.results
@@ -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
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 6cd7f153d5de..fc8384e1ff8e 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -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;
diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx
index ef06552f097d..077718815656 100644
--- a/include/svtools/headbar.hxx
+++ b/include/svtools/headbar.hxx
@@ -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 >
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 324a548b0bf2..5556d1006d00 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -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 ) );
}
diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx
index 75cd3f9a960e..5518f58ec2cc 100644
--- a/svtools/source/control/headbar.cxx
+++ b/svtools/source/control/headbar.cxx
@@ -1106,7 +1106,6 @@ void HeaderBar::Select()
void HeaderBar::DoubleClick()
{
- maDoubleClickHdl.Call( this );
}
void HeaderBar::InsertItem( sal_uInt16 nItemId, const OUString& rText,