summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 12:49:04 +0200
committerNoel Grandin <noel@peralex.com>2015-05-25 10:31:35 +0200
commitb419da0f53cf7f65b1d0c58351176ece23fbfe1f (patch)
treeb29c038348d6aae8e5ec9c0c97ed8eeb41f5cd67 /cui
parentacf5049188e1be0ededc70f9bbedaa0032610680 (diff)
convert SHOW constants to scoped enum
Change-Id: I2712a0901049885502cade31f9757f712048bb33
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/macropg.cxx2
-rw-r--r--cui/source/inc/headertablistbox.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index 6211bcc9b935..54c944db99a8 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -196,7 +196,7 @@ void MacroEventListBox::ConnectElements()
maListBox->InitHeaderBar( maHeaderBar.get() );
}
-void MacroEventListBox::Show( bool bVisible, sal_uInt16 nFlags )
+void MacroEventListBox::Show( bool bVisible, ShowFlags nFlags )
{
maListBox->Show( bVisible, nFlags );
maHeaderBar->Show( bVisible, nFlags );
diff --git a/cui/source/inc/headertablistbox.hxx b/cui/source/inc/headertablistbox.hxx
index f63eba3c73c1..59037ed1b870 100644
--- a/cui/source/inc/headertablistbox.hxx
+++ b/cui/source/inc/headertablistbox.hxx
@@ -52,7 +52,7 @@ public:
void ConnectElements();/**< should be called after all manipulations on elements are done
calcs real sizes depending on sizes of this */
- void Show( bool bVisible = true, sal_uInt16 nFlags = 0 ); ///< same meaning as Windows::Show()
+ void Show( bool bVisible = true, ShowFlags nFlags = ShowFlags::NONE ); ///< same meaning as Windows::Show()
void Enable( bool bEnable = true, bool bChild = true ); ///< same meaning as Windows::Enable()
};