summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/salframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/unx/salframe.h')
-rw-r--r--vcl/inc/unx/salframe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h
index 6d7cab6a259b..2329b0b75bb0 100644
--- a/vcl/inc/unx/salframe.h
+++ b/vcl/inc/unx/salframe.h
@@ -176,7 +176,7 @@ public:
{
return pDisplay_->GetDisplay();
}
- SalX11Screen GetScreenNumber() const { return m_nXScreen; }
+ const SalX11Screen& GetScreenNumber() const { return m_nXScreen; }
::Window GetWindow() const { return mhWindow; }
::Window GetShellWindow() const { return mhShellWindow; }
::Window GetForeignParent() const { return mhForeignParent; }