diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-12-17 21:42:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-12-18 09:05:01 +0100 |
commit | b85810637d2475496a3055ae8c3f36a5a104a9a1 (patch) | |
tree | d626e7e6c6565691d3e2729aef561e0eb374ce32 /sw | |
parent | 4644edc92a93cb80ebe0e409975ff1303927461f (diff) |
sw RTF export: don't mark these members as const
As the destructor wants to std::move() these members, and that only has
an effect if the member is not const.
Simiarly in writerfilter/, there the const prevents the implicit
std::move() on return.
Change-Id: I42ce393da9033abbd028bd5b83f15f69d34e254d
Reviewed-on: https://gerrit.libreoffice.org/85336
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 570f018788b8..8a7fbb01bf2b 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -1879,8 +1879,8 @@ class SaveRunState { private: RtfAttributeOutput& m_rRtf; - RtfStringBuffer const m_Run; - RtfStringBuffer const m_RunText; + RtfStringBuffer m_Run; + RtfStringBuffer m_RunText; bool const m_bSingleEmptyRun; bool const m_bInRun; |