summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-31 13:15:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-04 11:27:16 +0200
commit6798473388f9a4b9f2d1c64e89d540d7e15e3584 (patch)
treef3cf72773900aa58dbc50059e241cc11175e0027 /include/svx
parent100b6a229e0ab9888578c138cd38424d16dec608 (diff)
loplugin:useuniqueptr in LineWidthPopup and LineWidthValueSet
Change-Id: Ia60c396fd4f9fda7c5a2fc6bef4a2a2be01d8bcf Reviewed-on: https://gerrit.libreoffice.org/55233 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/sidebar/LineWidthPopup.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/sidebar/LineWidthPopup.hxx b/include/svx/sidebar/LineWidthPopup.hxx
index 4f4823e0abe7..a6b5713ef6f7 100644
--- a/include/svx/sidebar/LineWidthPopup.hxx
+++ b/include/svx/sidebar/LineWidthPopup.hxx
@@ -22,6 +22,7 @@
#include <svl/poolitem.hxx>
#include <vcl/floatwin.hxx>
#include <vcl/layout.hxx>
+#include <array>
class Edit;
class MetricField;
@@ -43,7 +44,7 @@ public:
private:
LinePropertyPanelBase& m_rParent;
- OUString* m_pStr;
+ std::array<OUString,9> maStrUnits;
OUString m_sPt;
MapUnit m_eMapUnit;
bool m_bVSFocus;