summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-17 15:13:07 +0200
committerEike Rathke <erack@redhat.com>2021-09-17 20:14:25 +0200
commited9c39da0a90ecd4677a4d80a541ca64493994ce (patch)
tree43222c8c7fd5f75703c3be77cc1f69f082a3fbc3 /include/xmloff
parentofz: MemorySanitizer: use-of-uninitialized-value (diff)
downloadcore-ed9c39da0a90ecd4677a4d80a541ca64493994ce.tar.gz
core-ed9c39da0a90ecd4677a4d80a541ca64493994ce.zip
no need to store a CharClass in SvXMLNumFmtExport
we only use it at one site, and at that site we can use the CharClass inside the formatter whose locale we just updated. Spotted by erack. Change-Id: I049c6fc399e62cfe83f3ae396ea8d0e7497e673f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122250 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlnumfe.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index 28bfe8d1a2ad..2949aed76679 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -53,7 +53,6 @@ private:
OUStringBuffer sTextContent;
bool bHasText;
std::unique_ptr<SvXMLNumUsedList_Impl> pUsedList;
- std::unique_ptr<CharClass> pCharClass;
std::unique_ptr<LocaleDataWrapper> pLocaleData;
SAL_DLLPRIVATE void AddCalendarAttr_Impl( const OUString& rCalendar );