diff options
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/charwin.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/opengrf.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/charwin.hxx b/include/sfx2/charwin.hxx index 85c40d84b225..c718815b9bd2 100644 --- a/include/sfx2/charwin.hxx +++ b/include/sfx2/charwin.hxx @@ -50,9 +50,9 @@ public: SvxCharView(const VclPtr<VirtualDevice>& rVirDev); void SetFont( const vcl::Font& rFont ); - vcl::Font GetFont() const { return maFont; } + vcl::Font const & GetFont() const { return maFont; } void SetText( const OUString& rText ); - OUString GetText() const { return m_sText; } + OUString const & GetText() const { return m_sText; } void SetHasInsert( bool bInsert ); void InsertCharToDoc(); diff --git a/include/sfx2/opengrf.hxx b/include/sfx2/opengrf.hxx index 0178cc0bb745..c99433a2c3f0 100644 --- a/include/sfx2/opengrf.hxx +++ b/include/sfx2/opengrf.hxx @@ -55,7 +55,7 @@ public: OUString const & GetDetectedFilter() const; void SetDetectedFilter(const OUString&); - css::uno::Reference<css::ui::dialogs::XFilePickerControlAccess> GetFilePickerControlAccess(); + css::uno::Reference<css::ui::dialogs::XFilePickerControlAccess> const & GetFilePickerControlAccess(); private: SvxOpenGraphicDialog (const SvxOpenGraphicDialog&) = delete; |