summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-03 09:30:05 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:00 +0200
commit6bf3b6d420873e236b2805a42a95ce33e614ad98 (patch)
treefc582e0a8af0ae1979891bb9e2bb6d49696d34d7 /filter
parent5133b27e638140ba574016b33dae70ca92edc323 (diff)
loplugin:constantfunction: svtools
Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx7
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.hxx1
2 files changed, 0 insertions, 8 deletions
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index d02fbed34968..c5051bcbf33d 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -1421,7 +1421,6 @@ bool SvxPathControl::Notify(NotifyEvent& rNEvt)
XMLFilterListBox::XMLFilterListBox(Window* pParent, SvxPathControl* pPathControl)
: SvTabListBox(pParent, WB_SORT | WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP)
- , mbFirstPaint(true)
, m_pHeaderBar(pPathControl->getHeaderBar())
{
Size aBoxSize( pParent->GetOutputSizePixel() );
@@ -1452,12 +1451,6 @@ XMLFilterListBox::XMLFilterListBox(Window* pParent, SvxPathControl* pPathControl
void XMLFilterListBox::Paint( const Rectangle& rRect )
{
- if( mbFirstPaint )
- {
- mbFirstPaint = false;
- RepaintScrollBars();
- }
-
SvTabListBox::Paint( rRect );
}
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
index cfa47e8d0671..85bb4d79094a 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
@@ -59,7 +59,6 @@ class HeaderBar;
class XMLFilterListBox : public SvTabListBox
{
private:
- bool mbFirstPaint;
HeaderBar* m_pHeaderBar;
DECL_LINK( TabBoxScrollHdl_Impl, SvTabListBox* );