summaryrefslogtreecommitdiff
path: root/svx/source/dialog/hexcolorcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/hexcolorcontrol.cxx')
-rw-r--r--svx/source/dialog/hexcolorcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/hexcolorcontrol.cxx b/svx/source/dialog/hexcolorcontrol.cxx
index afb910712b9b..71e69a5fe618 100644
--- a/svx/source/dialog/hexcolorcontrol.cxx
+++ b/svx/source/dialog/hexcolorcontrol.cxx
@@ -21,8 +21,8 @@
namespace weld {
-HexColorControl::HexColorControl(weld::Entry* pEntry)
- : m_xEntry(pEntry)
+HexColorControl::HexColorControl(std::unique_ptr<weld::Entry> pEntry)
+ : m_xEntry(std::move(pEntry))
{
m_xEntry->set_max_length(6);
m_xEntry->set_width_chars(6);