summaryrefslogtreecommitdiffstats
path: root/include/xmloff/controlpropertyhdl.hxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-04-10 10:26:44 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-04-10 12:10:00 +0200
commitfa47856e51c2c1102b3df0adead2c0701bd4cbde (patch)
tree6ac1b368671446986cdbb0d87a4bde3b57c19412 /include/xmloff/controlpropertyhdl.hxx
parentloplugin:useuniqueptr in ScDrawTransferObj (diff)
downloadcore-fa47856e51c2c1102b3df0adead2c0701bd4cbde.tar.gz
core-fa47856e51c2c1102b3df0adead2c0701bd4cbde.zip
xmloff: fix leak in XMLPropertySetMapperEntry_Impl
The XMLNamedBoolPropertyHdl should be owned by OControlPropertyHandlerFactory like all the other handlers created in that function. Thanks to Julien Nabet for pointing out the problem. Change-Id: Id474b2fdb84ca74f686d0c888fbedbee623c31bb Reviewed-on: https://gerrit.libreoffice.org/52666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'include/xmloff/controlpropertyhdl.hxx')
-rw-r--r--include/xmloff/controlpropertyhdl.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xmloff/controlpropertyhdl.hxx b/include/xmloff/controlpropertyhdl.hxx
index edcbd476f915..dd7010cc0f8f 100644
--- a/include/xmloff/controlpropertyhdl.hxx
+++ b/include/xmloff/controlpropertyhdl.hxx
@@ -30,6 +30,7 @@
#include <rtl/ustring.hxx>
#include <xmloff/xmlexppr.hxx>
#include <xmloff/XMLConstantsPropertyHandler.hxx>
+#include <xmloff/NamedBoolPropertyHdl.hxx>
template<typename EnumT> struct SvXMLEnumMapEntry;
class Color;
@@ -119,6 +120,7 @@ namespace xmloff
mutable std::unique_ptr<OFontWidthHandler> m_pFontWidthHandler;
mutable std::unique_ptr<XMLConstantsPropertyHandler> m_pFontEmphasisHandler;
mutable std::unique_ptr<XMLConstantsPropertyHandler> m_pFontReliefHandler;
+ mutable std::unique_ptr<XMLNamedBoolPropertyHdl> m_pTextLineModeHandler;
public:
OControlPropertyHandlerFactory();