diff options
Diffstat (limited to 'include/svx/galleryitem.hxx')
-rw-r--r-- | include/svx/galleryitem.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/galleryitem.hxx b/include/svx/galleryitem.hxx index ecfe03f57a0c..988c4ef2074f 100644 --- a/include/svx/galleryitem.hxx +++ b/include/svx/galleryitem.hxx @@ -52,8 +52,8 @@ public: virtual ~SvxGalleryItem(); sal_Int8 GetType() const { return m_nType; } - const rtl::OUString GetURL() const { return m_aURL; } - const css::uno::Reference< css::graphic::XGraphic > GetGraphic() const { return m_xGraphic; } + const rtl::OUString& GetURL() const { return m_aURL; } + const css::uno::Reference< css::graphic::XGraphic >& GetGraphic() const { return m_xGraphic; } // pure virtual methods from SfxPoolItem virtual bool operator==( const SfxPoolItem& ) const override; |