summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/svl/cntwall.hxx2
-rw-r--r--include/svl/globalnameitem.hxx2
-rw-r--r--include/svl/zforlist.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/cntwall.hxx b/include/svl/cntwall.hxx
index 184cb4ca9847..cbea63600df7 100644
--- a/include/svl/cntwall.hxx
+++ b/include/svl/cntwall.hxx
@@ -57,7 +57,7 @@ public:
void SetStyle( sal_uInt16 nStyle ) { _nStyle = nStyle; }
const OUString& GetBitmapURL() const { return _aURL; }
- Color GetColor() const { return _nColor; }
+ const Color& GetColor() const { return _nColor; }
sal_uInt16 GetStyle() const { return _nStyle; }
};
diff --git a/include/svl/globalnameitem.hxx b/include/svl/globalnameitem.hxx
index 94011d088583..9547b4b64327 100644
--- a/include/svl/globalnameitem.hxx
+++ b/include/svl/globalnameitem.hxx
@@ -36,7 +36,7 @@ public:
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
- SvGlobalName GetValue() const { return m_aName; }
+ const SvGlobalName& GetValue() const { return m_aName; }
virtual bool PutValue ( const css::uno::Any& rVal,
sal_uInt8 nMemberId ) override;
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index 2b98347b97b5..a18354fdf3b6 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -914,7 +914,7 @@ public:
// new format codes are appended.
void ReplaceSystemCL( LanguageType eOldLanguage );
- css::uno::Reference<css::uno::XComponentContext> GetComponentContext() const;
+ const css::uno::Reference<css::uno::XComponentContext>& GetComponentContext() const;
//! The following method is not to be used from outside but must be
//! public for the InputScanner.