diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-08-19 22:33:10 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-08-19 22:33:10 +0200 |
commit | 0654a592df05df676540764c004bd5b4e8b693a9 (patch) | |
tree | c4f5a02a34790ebe55bcbee0df40c15ef8989cad /sc | |
parent | 5f7ee4b7a32153f3141507de673f60c7f678f015 (diff) |
Seems unused too
Change-Id: I4e71517f34988c3fc2d4b8e7627722d690c1b487
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/scdetect.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx index 430701ae16ed..c161072ebe7f 100644 --- a/sc/source/ui/unoobj/scdetect.cxx +++ b/sc/source/ui/unoobj/scdetect.cxx @@ -308,7 +308,6 @@ OUString SAL_CALL ScFilterDetect::detect( uno::Sequence<beans::PropertyValue>& l // now some parameters that can already be in the array, but may be overwritten or new inserted here // remember their indices in the case new values must be added to the array sal_Int32 nPropertyCount = lDescriptor.getLength(); - sal_Int32 nIndexOfFilterName = -1; sal_Int32 nIndexOfInputStream = -1; sal_Int32 nIndexOfContent = -1; sal_Int32 nIndexOfReadOnlyFlag = -1; @@ -337,10 +336,6 @@ OUString SAL_CALL ScFilterDetect::detect( uno::Sequence<beans::PropertyValue>& l { lDescriptor[nProperty].Value >>= sTemp; aPreselectedFilterName = sTemp; - - // if the preselected filter name is not correct, it must be erased after detection - // remember index of property to get access to it later - nIndexOfFilterName = nProperty; } else if ( lDescriptor[nProperty].Name == "InputStream" ) nIndexOfInputStream = nProperty; |