summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-08 11:21:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-06-09 17:42:07 +0200
commit97654133f64eed1c1e6d35188315f5fb22f2d936 (patch)
tree6ab783115b1c713ae384fa8e05a9ea4f62cbdfdf
parent1269ea3586cb902a790f721810fbe93647cfd491 (diff)
-Werror,-Wunused-but-set-variable (Clang 13 trunk)
...after e79e8117dcc7475d8d90afeaaac9eb7050ff244e "loplugin:unusedfields in sfx2" had removed the (only) read of sPattern Change-Id: I2413af34b15dec45c46df0ffabf1d910f92dd695 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116822 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index bd48141ac7f5..83b25b015e4d 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -895,7 +895,6 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
OUString sDefaultTemplate ;
OUString sUserData ;
OUString sExtension ;
- OUString sPattern ;
OUString sServiceName ;
bool bEnabled = true ;
@@ -975,12 +974,6 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
sExtension = implc_convertStringlistToString( lExtensions, ';', u"*." );
}
}
- else if ( rTypeProperty.Name == "URLPattern" )
- {
- uno::Sequence< OUString > lPattern;
- rTypeProperty.Value >>= lPattern;
- sPattern = implc_convertStringlistToString( lPattern, ';', u"" );
- }
}
}
}