summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-19 13:36:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-20 13:10:48 +0100
commita87ba810993a9cd1fd4739d6f42cdc6bc0c82cac (patch)
treeeac016bf018c38dbe5c4f61eadef258c83edc0bb /reportdesign
parentdbd5b255f016fc92530e2325bded0f07a0dbc861 (diff)
remove bogus static variable in reportdesign OSectionWindow
which arrived with commit bee746960f3d94d92e71006a7365a26669f52f8c Date: Tue Feb 1 13:42:47 2011 +0100 dba34d: limit invalidate calls and looks extremely dodgy, because it means only the very first report design window will be correctly configured. Change-Id: I127c733faaddcacd8507fa74aebe3b6da761327f Reviewed-on: https://gerrit.libreoffice.org/63641 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/SectionWindow.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx
index f76f3469ca48..3cc789fea738 100644
--- a/reportdesign/source/ui/report/SectionWindow.cxx
+++ b/reportdesign/source/ui/report/SectionWindow.cxx
@@ -207,13 +207,9 @@ bool OSectionWindow::setGroupSectionTitle(
void OSectionWindow::ImplInitSettings()
{
- static bool t = false;
- if ( t )
- {
EnableChildTransparentMode();
SetParentClipMode( ParentClipMode::NoClip );
SetPaintTransparent( true );
- }
SetBackground( );
}