diff options
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r-- | vcl/source/window/window2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index ed43771a8c0d..9882ce3e3e77 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1029,7 +1029,7 @@ WindowType Window::GetType() const if (mpWindowImpl) return mpWindowImpl->mnType; else - return 0; + return WindowType::NONE; } Dialog* Window::GetParentDialog() const @@ -1341,7 +1341,7 @@ namespace { bSomeoneCares = true; } - else if (pWindow->GetType() == WINDOW_TABCONTROL) + else if (pWindow->GetType() == WindowType::TABCONTROL) { bSomeoneCares = true; } |