summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-08 08:47:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-08 09:37:59 +0200
commita84026031db35e9388c76c3b365a23e6bf1ed3e6 (patch)
tree8b4e5a308f82dcfb4f51d43f08f086dca1ac6379 /sfx2
parent8e8c789742874ac823e68f6154050c64b6fc5b85 (diff)
loplugin:unusedfields
Change-Id: Ie26c52090d984c40cc108c9f20eb2ba31a866796 Reviewed-on: https://gerrit.libreoffice.org/42090 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index ee5ac675b220..9a32d2b1780a 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1435,7 +1435,6 @@ CustomPropertyLine::CustomPropertyLine( vcl::Window* pParent ) :
m_aEditButton ( VclPtr<CustomPropertiesEditButton>::Create(m_aLine, WB_TABSTOP, this) ),
m_aYesNoButton ( VclPtr<CustomPropertiesYesNoButton>::Create(m_aLine) ),
m_aRemoveButton ( VclPtr<CustomPropertiesRemoveButton>::Create(m_aLine, 0, this) ),
- m_bIsDate ( false ),
m_bIsRemoved ( false ),
m_bTypeLostFocus( false )
{
@@ -1564,12 +1563,6 @@ IMPL_LINK(CustomPropertiesWindow, TypeHdl, ListBox&, rListBox, void)
pLine->m_aEditButton->Show( CUSTOM_TYPE_DURATION == nType );
pLine->m_aYesNoButton->Show( CUSTOM_TYPE_BOOLEAN == nType );
- //adjust positions of date and time controls
- if ( nType == CUSTOM_TYPE_DATE )
- pLine->m_bIsDate = true;
- else if ( nType == CUSTOM_TYPE_DATETIME)
- pLine->m_bIsDate = false;
-
pLine->m_aLine->SetSizePixel(Size(GetSizePixel().Width(), m_nWidgetHeight));
}