diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/dbui/mailmergehelper.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/inc/mailmergehelper.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx index 26f9489dd346..20f040ab03be 100644 --- a/sw/source/uibase/dbui/mailmergehelper.cxx +++ b/sw/source/uibase/dbui/mailmergehelper.cxx @@ -545,8 +545,8 @@ OUString SwAddressPreview::FillData( } AddressPreview::AddressPreview(std::unique_ptr<weld::ScrolledWindow> xWindow) - : m_xVScrollBar(std::move(xWindow)) - , pImpl(new SwAddressPreview_Impl()) + : pImpl(new SwAddressPreview_Impl()) + , m_xVScrollBar(std::move(xWindow)) { m_xVScrollBar->set_user_managed_scrolling(); m_xVScrollBar->connect_vadjustment_changed(LINK(this, AddressPreview, ScrollHdl)); diff --git a/sw/source/uibase/inc/mailmergehelper.hxx b/sw/source/uibase/inc/mailmergehelper.hxx index 3d3a0d199be6..575c4f679bc2 100644 --- a/sw/source/uibase/inc/mailmergehelper.hxx +++ b/sw/source/uibase/inc/mailmergehelper.hxx @@ -115,8 +115,8 @@ public: class SW_DLLPUBLIC AddressPreview : public weld::CustomWidgetController { + std::unique_ptr<SwAddressPreview_Impl> pImpl; std::unique_ptr<weld::ScrolledWindow> m_xVScrollBar; - SwAddressPreview_Impl* pImpl; Link<LinkParamNone*,void> m_aSelectHdl; void DrawText_Impl(vcl::RenderContext& rRenderContext, const OUString& rAddress, |