diff options
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/lingucfg.hxx | 2 | ||||
-rw-r--r-- | include/unotools/localedatawrapper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/lingucfg.hxx b/include/unotools/lingucfg.hxx index 0f9acb9af6b4..294777955007 100644 --- a/include/unotools/lingucfg.hxx +++ b/include/unotools/lingucfg.hxx @@ -147,7 +147,7 @@ class UNOTOOLS_DLLPUBLIC SvtLinguConfig: public utl::detail::Options // configuration update access for the 'Linguistic' main node mutable css::uno::Reference< css::util::XChangesBatch > m_xMainUpdateAccess; - css::uno::Reference< css::util::XChangesBatch > GetMainUpdateAccess() const; + css::uno::Reference< css::util::XChangesBatch > const & GetMainUpdateAccess() const; OUString GetVendorImageUrl_Impl( const OUString &rServiceImplName, const OUString &rImageName ) const; diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx index 419ac1517508..c63e8fc93553 100644 --- a/include/unotools/localedatawrapper.hxx +++ b/include/unotools/localedatawrapper.hxx @@ -175,7 +175,7 @@ public: MeasurementSystem mapMeasurementStringToEnum( const OUString& rMS ) const; /// Convenience method to obtain the default calendar. - const std::shared_ptr< css::i18n::Calendar2 > getDefaultCalendar() const; + const std::shared_ptr< css::i18n::Calendar2 >& getDefaultCalendar() const; /// Convenience method to obtain the day names of the default calendar. const css::uno::Sequence< css::i18n::CalendarItem2 > getDefaultCalendarDays() const; |