sw/source/ui/vba/vbacontentcontrols.cxx | 2 -- sw/source/ui/vba/vbacontentcontrols.hxx | 4 ---- 2 files changed, 6 deletions(-)
New commits: commit 090fafaaaa1d8ccf5f7b17b7b6f2a85b3fafa0c5 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Nov 25 09:15:59 2022 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Nov 25 10:15:06 2022 +0100 -Werror,-Wunused-private-field ...introduced in 24d7431876e87eba700a9f141dc8e030143a92ad "tdf#151548 vba ContentControls: Add basic word::XContentControl", presumably in error Change-Id: I734b8046de7127f68d43b805e2faa6c0106c0cfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143274 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sw/source/ui/vba/vbacontentcontrols.cxx b/sw/source/ui/vba/vbacontentcontrols.cxx index 549541cb7c61..c33b80bb4264 100644 --- a/sw/source/ui/vba/vbacontentcontrols.cxx +++ b/sw/source/ui/vba/vbacontentcontrols.cxx @@ -217,8 +217,6 @@ SwVbaContentControls::SwVbaContentControls(const uno::Reference<XHelperInterface xParent, xContext, uno::Reference<container::XIndexAccess>( new ContentControlCollectionHelper(xParent, xContext, xTextDocument, rTag, rTitle))) - , m_sTag(rTag) - , m_sTitle(rTitle) { } diff --git a/sw/source/ui/vba/vbacontentcontrols.hxx b/sw/source/ui/vba/vbacontentcontrols.hxx index a31ca589788a..20ff65ae8943 100644 --- a/sw/source/ui/vba/vbacontentcontrols.hxx +++ b/sw/source/ui/vba/vbacontentcontrols.hxx @@ -17,10 +17,6 @@ typedef CollTestImplHelper<ooo::vba::word::XContentControls> SwVbaContentControl class SwVbaContentControls : public SwVbaContentControls_BASE { -private: - OUString m_sTag; - OUString m_sTitle; - public: /// @throws css::uno::RuntimeException SwVbaContentControls(const css::uno::Reference<ov::XHelperInterface>& xParent,