diff options
Diffstat (limited to 'vcl/inc/unx/salgdi.h')
-rw-r--r-- | vcl/inc/unx/salgdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index 9b77c7069fcc..88db9ce4c94b 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -94,7 +94,7 @@ public: using SalGraphics::GetPixel; inline Pixel GetPixel( SalColor nSalColor ) const; - SalX11Screen GetScreenNumber() const { return m_nXScreen; } + const SalX11Screen& GetScreenNumber() const { return m_nXScreen; } // override all pure virtual methods virtual void GetResolution( sal_Int32& rDPIX, sal_Int32& rDPIY ) override; |