diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/saltype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/saltype.h b/vcl/inc/unx/saltype.h index 97d9f1a4bb93..e62bdd25e1e2 100644 --- a/vcl/inc/unx/saltype.h +++ b/vcl/inc/unx/saltype.h @@ -18,8 +18,8 @@ class SalX11Screen { public: explicit SalX11Screen(unsigned int nXScreen) : mnXScreen( nXScreen ) {} unsigned int getXScreen() const { return mnXScreen; } - bool operator==(const SalX11Screen &rOther) { return rOther.mnXScreen == mnXScreen; } - bool operator!=(const SalX11Screen &rOther) { return rOther.mnXScreen != mnXScreen; } + bool operator==(const SalX11Screen &rOther) const { return rOther.mnXScreen == mnXScreen; } + bool operator!=(const SalX11Screen &rOther) const { return rOther.mnXScreen != mnXScreen; } }; #endif // INCLUDED_VCL_INC_UNX_SALTYPE_H |