summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/inc/basidesh.hxx2
-rw-r--r--basctl/source/inc/dlged.hxx2
-rw-r--r--basctl/source/inc/localizationmgr.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx
index 1fb6dd8e884b..7db88289ed64 100644
--- a/basctl/source/inc/basidesh.hxx
+++ b/basctl/source/inc/basidesh.hxx
@@ -156,7 +156,7 @@ public:
BaseWindow* GetCurWindow() const { return pCurWin; }
ScriptDocument const& GetCurDocument() const { return m_aCurDocument; }
OUString const& GetCurLibName() const { return m_aCurLibName; }
- std::shared_ptr<LocalizationMgr> GetCurLocalizationMgr() const { return m_pCurLocalizationMgr; }
+ const std::shared_ptr<LocalizationMgr>& GetCurLocalizationMgr() const { return m_pCurLocalizationMgr; }
TabBar& GetTabBar() { return *pTabBar; }
WindowTable& GetWindowTable() { return aWindowTable; }
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx
index ba1427a03706..82ad3530debe 100644
--- a/basctl/source/inc/dlged.hxx
+++ b/basctl/source/inc/dlged.hxx
@@ -161,7 +161,7 @@ public:
void SetDialog (const css::uno::Reference<css::container::XNameContainer>& xUnoControlDialogModel);
void ResetDialog ();
- css::uno::Reference< css::container::XNameContainer > GetDialog() const
+ const css::uno::Reference< css::container::XNameContainer >& GetDialog() const
{return m_xUnoControlDialogModel;}
css::uno::Reference< css::util::XNumberFormatsSupplier > const & GetNumberFormatsSupplier();
diff --git a/basctl/source/inc/localizationmgr.hxx b/basctl/source/inc/localizationmgr.hxx
index ed1e6c7824e0..15f9bace2f36 100644
--- a/basctl/source/inc/localizationmgr.hxx
+++ b/basctl/source/inc/localizationmgr.hxx
@@ -72,7 +72,7 @@ public:
LocalizationMgr(Shell*, ScriptDocument const&, OUString const& aLibName,
const css::uno::Reference < css::resource::XStringResourceManager >& xStringResourceManager );
- css::uno::Reference< css::resource::XStringResourceManager >getStringResourceManager()
+ const css::uno::Reference< css::resource::XStringResourceManager >& getStringResourceManager()
{
return m_xStringResourceManager;
}