diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/impfontcharmap.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/printdlg.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/freetype_glyphcache.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/impfontcharmap.hxx b/vcl/inc/impfontcharmap.hxx index 80c05b9ae799..82f65a86360f 100644 --- a/vcl/inc/impfontcharmap.hxx +++ b/vcl/inc/impfontcharmap.hxx @@ -41,7 +41,7 @@ private: ImplFontCharMap( const ImplFontCharMap& ) = delete; void operator=( const ImplFontCharMap& ) = delete; - static ImplFontCharMapPtr getDefaultMap( bool bSymbols=false); + static ImplFontCharMapPtr const & getDefaultMap( bool bSymbols=false); bool isDefaultMap() const; private: diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx index cf1dea21243b..71af53dfd7d7 100644 --- a/vcl/inc/printdlg.hxx +++ b/vcl/inc/printdlg.hxx @@ -212,7 +212,7 @@ namespace vcl bool mbShowLayoutPage; - Size getJobPageSize(); + Size const & getJobPageSize(); void updateNup(); void updateNupFromPages(); void preparePreview( bool i_bPrintChanged = true, bool i_bMayUseCache = false ); diff --git a/vcl/inc/unx/freetype_glyphcache.hxx b/vcl/inc/unx/freetype_glyphcache.hxx index 3b8d315e5a5c..0a8cfbe14f31 100644 --- a/vcl/inc/unx/freetype_glyphcache.hxx +++ b/vcl/inc/unx/freetype_glyphcache.hxx @@ -82,7 +82,7 @@ public: void CacheGlyphIndex( sal_UCS4 cChar, int nGI ) const; bool GetFontCodeRanges( CmapResult& ) const; - const FontCharMapPtr GetFontCharMap(); + const FontCharMapPtr& GetFontCharMap(); private: FT_FaceRec_* maFaceFT; diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index e29d221129a8..02550fe0f3ce 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -242,7 +242,7 @@ public: void RemoveTimer (SalTimer *pTimer); - std::shared_ptr<vcl::unx::GtkPrintWrapper> getPrintWrapper() const; + std::shared_ptr<vcl::unx::GtkPrintWrapper> const & getPrintWrapper() const; private: std::vector<GtkSalTimer *> m_aTimers; |