diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-09-22 21:04:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-24 08:38:54 +0200 |
commit | d21a1d999f8872f22a96ad7d1dc2f0e3b48421b5 (patch) | |
tree | 74fcd059bdb3356253075b4b31cacdcc613951c0 /sw/inc/ndtxt.hxx | |
parent | 2be1605cdab5e3662ea0180fb607f3968cc8716c (diff) |
no need to allocate this OUString on the heap
Change-Id: Iea9afe291e9dbf964bf1577818ce1a44058eb943
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122538
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index ad6a3c4ac27e..6b64fdef8b19 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -117,7 +117,7 @@ class SW_DLLPUBLIC SwTextNode final Needed to avoid duplicate handling of attribute change actions. */ bool mbInSetOrResetAttr; - std::unique_ptr< OUString > m_pNumStringCache; + std::optional< OUString > m_oNumStringCache; css::uno::WeakReference<css::text::XTextContent> m_wXParagraph; |