summaryrefslogtreecommitdiff
path: root/vcl/inc/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:13:42 +0100
commit0d50804e1c0c0ea2a5cd73fa3fa2a9ff0a0e7048 (patch)
treeab861bba797a4610ffd5b482cc8fa4c4d5b59c35 /vcl/inc/unx
parent26e8b589b3f7716a80df7f3a9273e4967d9b0991 (diff)
loplugin:constparams in various(2)
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c Reviewed-on: https://gerrit.libreoffice.org/44313 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r--vcl/inc/unx/i18n_ic.hxx2
-rw-r--r--vcl/inc/unx/salframe.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/vcl/inc/unx/i18n_ic.hxx b/vcl/inc/unx/i18n_ic.hxx
index 6a36f48d0804..2da9e8bbc072 100644
--- a/vcl/inc/unx/i18n_ic.hxx
+++ b/vcl/inc/unx/i18n_ic.hxx
@@ -66,7 +66,7 @@ public:
void HandleDestroyIM();
void EndExtTextInput();
- void CommitKeyEvent( sal_Unicode* pText, std::size_t nLength );
+ void CommitKeyEvent( sal_Unicode const * pText, std::size_t nLength );
int UpdateSpotLocation();
void Map( SalFrame *pFrame );
diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h
index 5adb54b0454f..0bcb79721282 100644
--- a/vcl/inc/unx/salframe.h
+++ b/vcl/inc/unx/salframe.h
@@ -149,9 +149,9 @@ class VCLPLUG_GEN_PUBLIC X11SalFrame : public SalFrame, public NativeWindowHandl
bool HandleKeyEvent ( XKeyEvent *pEvent );
bool HandleMouseEvent ( XEvent *pEvent );
bool HandleFocusEvent ( XFocusChangeEvent const *pEvent );
- bool HandleExposeEvent ( XEvent *pEvent );
+ bool HandleExposeEvent ( XEvent const *pEvent );
bool HandleSizeEvent ( XConfigureEvent *pEvent );
- bool HandleStateEvent ( XPropertyEvent *pEvent );
+ bool HandleStateEvent ( XPropertyEvent const *pEvent );
bool HandleReparentEvent ( XReparentEvent *pEvent );
bool HandleClientMessage ( XClientMessageEvent*pEvent );
@@ -165,12 +165,12 @@ class VCLPLUG_GEN_PUBLIC X11SalFrame : public SalFrame, public NativeWindowHandl
void updateWMClass();
public:
- X11SalFrame( SalFrame* pParent, SalFrameStyleFlags nSalFrameStyle, SystemParentData* pSystemParent = nullptr );
+ X11SalFrame( SalFrame* pParent, SalFrameStyleFlags nSalFrameStyle, SystemParentData const * pSystemParent = nullptr );
virtual ~X11SalFrame() override;
bool Dispatch( XEvent *pEvent );
void Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nScreen,
- SystemParentData* pParentData, bool bUseGeometry = false );
+ SystemParentData const * pParentData, bool bUseGeometry = false );
SalDisplay* GetDisplay() const
{
@@ -191,7 +191,7 @@ public:
Cursor GetCursor() const { return hCursor_; }
bool IsCaptured() const { return nCaptured_ == 1; }
#if !defined(__synchronous_extinput__)
- void HandleExtTextEvent (XClientMessageEvent *pEvent);
+ void HandleExtTextEvent (XClientMessageEvent const *pEvent);
#endif
bool IsOverrideRedirect() const;
bool IsChildWindow() const { return bool(nStyle_ & (SalFrameStyleFlags::PLUG|SalFrameStyleFlags::SYSTEMCHILD)); }