diff options
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r-- | vcl/inc/unx/cpdmgr.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/i18n_ic.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/printergfx.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/salobj.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/vcl/inc/unx/cpdmgr.hxx b/vcl/inc/unx/cpdmgr.hxx index ed1929744163..6449355a1501 100644 --- a/vcl/inc/unx/cpdmgr.hxx +++ b/vcl/inc/unx/cpdmgr.hxx @@ -99,7 +99,7 @@ public: GDBusProxy* getProxy(const std::string& target); void addBackend( std::pair< std::string, GDBusProxy * > pair ); void addTempBackend(const std::pair<std::string, gchar*>& pair); - std::vector<std::pair<std::string, gchar*>> const & getTempBackends(); + std::vector<std::pair<std::string, gchar*>> const & getTempBackends() const; void addNewPrinter( const OUString&, const OUString&, CPDPrinter * ); #endif diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index cc2455a42eb8..2ed92b0b511d 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -247,7 +247,7 @@ public: #endif virtual const cairo_font_options_t* GetCairoFontOptions() override; - const cairo_font_options_t* GetLastSeenCairoFontOptions(); + const cairo_font_options_t* GetLastSeenCairoFontOptions() const; void ResetLastSeenCairoFontOptions(const cairo_font_options_t* pOptions); void RemoveTimer (); diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index 858584398974..2d812cad3962 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -105,7 +105,7 @@ public: void SetMenu( Menu* pMenu ) { mpVCLMenu = pMenu; } Menu* GetMenu() { return mpVCLMenu; } void SetMenuModel(GMenuModel* pMenuModel); - unsigned GetItemCount() { return maItems.size(); } + unsigned GetItemCount() const { return maItems.size(); } GtkSalMenuItem* GetItemAtPos( unsigned nPos ) { return maItems[ nPos ]; } void SetActionGroup( GActionGroup* pActionGroup ) { mpActionGroup = pActionGroup; } bool IsItemVisible( unsigned nPos ); diff --git a/vcl/inc/unx/i18n_ic.hxx b/vcl/inc/unx/i18n_ic.hxx index c07bc6f3a3fb..055b8616285e 100644 --- a/vcl/inc/unx/i18n_ic.hxx +++ b/vcl/inc/unx/i18n_ic.hxx @@ -57,7 +57,7 @@ private: public: Bool UseContext() { return mbUseable; } - bool IsPreeditMode() { return maClientData.eState == PreeditStatus::Active; } + bool IsPreeditMode() const { return maClientData.eState == PreeditStatus::Active; } XIC GetContext() { return maContext; } void ExtendEventMask( ::Window aFocusWindow ); diff --git a/vcl/inc/unx/printergfx.hxx b/vcl/inc/unx/printergfx.hxx index a8f0dc0ab7c2..10d83546c49e 100644 --- a/vcl/inc/unx/printergfx.hxx +++ b/vcl/inc/unx/printergfx.hxx @@ -266,7 +266,7 @@ public: void Clear(); // query depth - sal_uInt16 GetBitCount () { return mnDepth;} + sal_uInt16 GetBitCount () const { return mnDepth;} // clip region void ResetClipRegion (); diff --git a/vcl/inc/unx/salobj.h b/vcl/inc/unx/salobj.h index 0795f20115db..bef98cbbdf6e 100644 --- a/vcl/inc/unx/salobj.h +++ b/vcl/inc/unx/salobj.h @@ -40,7 +40,7 @@ public: return ClipRectangleList.get(); } void ResetClipRegion() { numClipRectangles = 0; } - int GetRectangleCount() { + int GetRectangleCount() const { return numClipRectangles; } private: |