diff options
Diffstat (limited to 'UnoControls/source/inc/progressmonitor.hxx')
-rw-r--r-- | UnoControls/source/inc/progressmonitor.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 5ab211eaa0ef..e31cdab1de1c 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -60,6 +60,7 @@ #include <rtl/ref.hxx> #include <vector> +#include <memory> #include <basecontainercontrol.hxx> @@ -276,11 +277,11 @@ private: // private variables private: - ::std::vector < IMPL_TextlistItem* > maTextlist_Top; // Elements before progress + ::std::vector < std::unique_ptr<IMPL_TextlistItem> > maTextlist_Top; // Elements before progress css::uno::Reference< css::awt::XFixedText > m_xTopic_Top; // (used, if parameter "beforeProgress"=true in "addText, updateText, removeText") css::uno::Reference< css::awt::XFixedText > m_xText_Top; - ::std::vector < IMPL_TextlistItem* > maTextlist_Bottom; // Elements below of progress + ::std::vector < std::unique_ptr<IMPL_TextlistItem> > maTextlist_Bottom; // Elements below of progress css::uno::Reference< css::awt::XFixedText > m_xTopic_Bottom; // (used, if parameter "beforeProgress"=false in "addText, updateText, removeText") css::uno::Reference< css::awt::XFixedText > m_xText_Bottom; |