From 28cb2c1764f2365d69ce09cb69f0f5a676458a33 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 26 Aug 2016 12:40:43 +0200 Subject: loplugin:refcounting: also cover temporaries being directly stack managed Change-Id: Ib0f7c60df1d2fba0d4d9d3fa6faf3bb97867ebc0 --- i18npool/inc/localedata.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'i18npool/inc') diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index 0a28ee0301f6..c36e71175864 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -68,6 +69,8 @@ public: LocaleDataImpl(); virtual ~LocaleDataImpl(); + static rtl::Reference get() { return new LocaleDataImpl; } + static css::uno::Sequence< css::i18n::CalendarItem > downcastCalendarItems( const css::uno::Sequence< css::i18n::CalendarItem2 > & rCi ); static css::i18n::Calendar downcastCalendar( const css::i18n::Calendar2 & rC ); -- cgit