[Libreoffice-commits] core.git: filter/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Sun Apr 7 14:10:11 UTC 2019


 filter/source/config/cache/typedetection.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit a6186a678cd9f67359da885606b3c3983f6bdc74
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Sun Apr 7 13:40:48 2019 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Sun Apr 7 16:09:45 2019 +0200

    This looks unused
    
    Hopefully I don't miss useful side-effects
    
    Change-Id: Ie129e9de6110cdd679db5dfea0227115b5056367
    Reviewed-on: https://gerrit.libreoffice.org/70378
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 3f39602470aa..278f53eea11a 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -1185,7 +1185,6 @@ bool TypeDetection::impl_validateAndSetFilterOnDescriptor(      utl::MediaDescri
         CacheItem aFilter = cache.getItem(FilterCache::E_FILTER, sFilter);
         OUString sType;
         aFilter[PROPNAME_TYPE] >>= sType;
-        CacheItem aType = cache.getItem(FilterCache::E_TYPE, sType);
 
         aLock.clear();
         // <- SAFE


More information about the Libreoffice-commits mailing list