Kaydet (Commit) ea72ad44 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused ShowFlags::NoParentUpdate

Change-Id: Id63e1d73643a18d823dfcb35479f0f8eb3e20b15
Reviewed-on: https://gerrit.libreoffice.org/63972
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst ae3309c9
......@@ -1096,8 +1096,6 @@ include/vcl/wall.hxx:44
enum WallpaperStyle Bottom
include/vcl/window.hxx:121
enum TrackingEventFlags DontCallHdl
include/vcl/window.hxx:172
enum ShowFlags NoParentUpdate
include/xmloff/shapeexport.hxx:53
enum XMLShapeExportFlags WIDTH
include/xmloff/shapeexport.hxx:54
......
......@@ -169,14 +169,13 @@ namespace o3tl
enum class ShowFlags
{
NONE = 0x0000,
NoParentUpdate = 0x0001,
NoFocusChange = 0x0002,
NoActivate = 0x0004,
ForegroundTask = 0x0008,
};
namespace o3tl
{
template<> struct typed_flags<ShowFlags> : is_typed_flags<ShowFlags, 0x000f> {};
template<> struct typed_flags<ShowFlags> : is_typed_flags<ShowFlags, 0x000e> {};
}
// Flags for SetZOrder()
......
......@@ -2232,7 +2232,7 @@ void Window::Show(bool bVisible, ShowFlags nFlags)
aBounds.AdjustBottom(workaround_border );
aInvRegion = aBounds;
}
if ( !mpWindowImpl->mbNoParentUpdate && !(nFlags & ShowFlags::NoParentUpdate) )
if ( !mpWindowImpl->mbNoParentUpdate )
{
if ( !aInvRegion.IsEmpty() )
ImplInvalidateParentFrameRegion( aInvRegion );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment