summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/wintypes.hxx1
-rw-r--r--vcl/source/window/window.cxx3
2 files changed, 0 insertions, 4 deletions
diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx
index 897e63578759..bfd038ee6e6c 100644
--- a/include/tools/wintypes.hxx
+++ b/include/tools/wintypes.hxx
@@ -171,7 +171,6 @@ WinBits const WB_DOCKABLE = SAL_CONST_INT64(0x20000000);
WinBits const WB_AUTOVSCROLL = SAL_CONST_INT64(0x40000000);
WinBits const WB_HYPHENATION = SAL_CONST_INT64(0x800000000) | WB_WORDBREAK;
WinBits const WB_CHILDDLGCTRL = SAL_CONST_INT64(0x100000000000);
-WinBits const WB_REFMODE = SAL_CONST_INT64(0x200000000000);
// system floating window
WinBits const WB_SYSTEMFLOATWIN = SAL_CONST_INT64(0x100000000);
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 17cb1c92e7d8..827c306e210d 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3623,9 +3623,6 @@ bool Window::IsInModalMode() const
bool Window::IsInModalNonRefMode() const
{
- if(mpWindowImpl->mnStyle & WB_REFMODE)
- return false;
-
return IsInModalMode();
}