diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-18 12:38:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-19 09:17:06 +0200 |
commit | fd00bd0f69676659bb43bcc85d8ad5fd21e5de4c (patch) | |
tree | f9d62fef7f508f430efd72c85b0d0cf6a67da3be /sw | |
parent | 8a01fc2f505acc6ed9af5ba18049131225baad30 (diff) |
loplugin:unusedfields
make it a little smarter in dealing with fields that are smart pointers
Change-Id: I44072105170882dc29fb19558f1065cffc7e5f11
Reviewed-on: https://gerrit.libreoffice.org/37751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/swcalwrp.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/bastyp/init.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sw/inc/swcalwrp.hxx b/sw/inc/swcalwrp.hxx index 24bfeec16b63..cb59ddd28699 100644 --- a/sw/inc/swcalwrp.hxx +++ b/sw/inc/swcalwrp.hxx @@ -27,7 +27,6 @@ class SwCalendarWrapper : public CalendarWrapper { - OUString sUniqueId; LanguageType nLang; public: diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx index 6e58c7e423be..951867b33f24 100644 --- a/sw/source/core/bastyp/init.cxx +++ b/sw/source/core/bastyp/init.cxx @@ -849,7 +849,6 @@ CharClass& GetAppCharClass() void SwCalendarWrapper::LoadDefaultCalendar( LanguageType eLang ) { - sUniqueId.clear(); if( eLang != nLang ) loadDefaultCalendar( LanguageTag::convertToLocale( nLang = eLang )); } |