[Libreoffice-commits] core.git: odk/examples

Julien Nabet serval2412 at yahoo.fr
Tue Apr 22 13:19:32 PDT 2014


 odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 14d7aa76923bb046e4cca361c72eca817000342f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Apr 22 22:17:45 2014 +0200

    cppcheck: multiCondition, remove duplicate
    
    Change-Id: I8f819a1ab24ab9fa3a8ef7478f105620deae4aa0

diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
index 31de9de..b320313 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
@@ -167,9 +167,6 @@ OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments )
             else if (aMimeType.equals("application/x-vnd.oasis.opendocument.presentation") ||
                        aMimeType.equals("application/vnd.oasis.opendocument.presentation"))
                 sTypeName = "devguide_FlatXMLType_Cpp_impress";
-            else if (aMimeType.equals("application/x-vnd.oasis.opendocument.presentation") ||
-                       aMimeType.equals("application/vnd.oasis.opendocument.presentation"))
-                sTypeName = "devguide_FlatXMLType_Cpp_impress";
         }
     }
     return sTypeName;


More information about the Libreoffice-commits mailing list