summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-12 23:00:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-13 07:47:58 +0200
commit8a4fdf8a18fac2829b5a95ce9e3f4323f5eec9b4 (patch)
tree4f0fe41a431f8be45e2e082f9f42e1cd4780fb62 /xmloff
parentfc893169d37ae78d34b6a127bc920bc5b887711a (diff)
-Werror,-Wunused-variable
Unused ever since it got introduced in 463178fef5c22f1a04d10e54491852d56e2038b0 "xmloff, sw: ODF import/export of fieldmark separator". (Found with an experimental Clang build supporting __attribute__((warn_unused)) on individual ctors rather than just whole class types, and the corresponding css::uno::Reference ctor marked accordingly.) Change-Id: I8d665d12f923725773f6a55f7edee70ebc72e3ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150303 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index f9f070a1d9b2..5ae853b239ab 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2443,7 +2443,6 @@ void XMLTextParagraphExport::exportTextRangeEnumeration(
}
else if (sType == gsTextFieldSep)
{
- Reference<text::XFormField> const xFormField(xPropSet->getPropertyValue(gsBookmark), UNO_QUERY);
if (!bAutoStyles)
{
if (GetExport().getSaneDefaultVersion() & SvtSaveOptions::ODFSVER_EXTENDED)