diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-08 11:08:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-08 11:08:35 +0000 |
commit | 0f6951e16967bc86a5b26489a1bbff74ed00f3cf (patch) | |
tree | c52050852a82771b5070f5142df556c756f49a82 /sw/source/ui/uno/swdetect.cxx | |
parent | dbf02afa98047b9de8bcdd27bbc9356165a7cb76 (diff) |
variable set but unused
Diffstat (limited to 'sw/source/ui/uno/swdetect.cxx')
-rw-r--r-- | sw/source/ui/uno/swdetect.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/source/ui/uno/swdetect.cxx b/sw/source/ui/uno/swdetect.cxx index e13e62216e3c..51607e771909 100644 --- a/sw/source/ui/uno/swdetect.cxx +++ b/sw/source/ui/uno/swdetect.cxx @@ -113,7 +113,6 @@ SwFilterDetect::~SwFilterDetect() // 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; @@ -143,10 +142,6 @@ SwFilterDetect::~SwFilterDetect() { 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 == OUString(RTL_CONSTASCII_USTRINGPARAM("InputStream")) ) nIndexOfInputStream = nProperty; |