diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-30 09:15:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-30 09:17:09 +0200 |
commit | 0af2e9fa64bc686f1c4f84b63faccc854bc1bd54 (patch) | |
tree | 30b03834e827efc800635d0464e05b44d58a3936 /writerfilter/source/dmapper/PropertyMap.hxx | |
parent | 780dd8c1cf5302ca503cf7b55357dace4d69beb9 (diff) |
writerfilter: manual memory management -> boost::optional in PropertyMap
Change-Id: Ie8f7ce11ab03d47835cfe224c775324dd79a5e7a
Diffstat (limited to 'writerfilter/source/dmapper/PropertyMap.hxx')
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx index ffb0b1c2f4c3..6aa53af2c857 100644 --- a/writerfilter/source/dmapper/PropertyMap.hxx +++ b/writerfilter/source/dmapper/PropertyMap.hxx @@ -23,6 +23,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/table/BorderLine2.hpp> #include <com/sun/star/uno/Any.h> #include "PropertyIds.hxx" #include <memory> @@ -190,7 +191,7 @@ class SectionPropertyMap : public PropertyMap css::uno::Reference<css::beans::XPropertySet> m_aFirstPageStyle; css::uno::Reference<css::beans::XPropertySet> m_aFollowPageStyle; - css::table::BorderLine2* m_pBorderLines[4]; + boost::optional<css::table::BorderLine2> m_oBorderLines[4]; sal_Int32 m_nBorderDistances[4]; sal_Int32 m_nBorderParams; bool m_bBorderShadows[4]; |