[Libreoffice-commits] .: shell/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 24 10:01:20 PST 2013


 shell/qa/zip/testimpl/testzipimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c2f58887eca4b0fce0b56f0763ee5be0d04e671f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Jan 24 18:57:26 2013 +0100

    Fix Same expression on both sides of '=='
    
    Change-Id: I37ef5de92296b7ea7d7d44fa6701ad025d94435e

diff --git a/shell/qa/zip/testimpl/testzipimpl.cxx b/shell/qa/zip/testimpl/testzipimpl.cxx
index 241c4d5..9aaa9db 100644
--- a/shell/qa/zip/testimpl/testzipimpl.cxx
+++ b/shell/qa/zip/testimpl/testzipimpl.cxx
@@ -54,7 +54,7 @@ bool TestZipImpl::test_directory()
     ZipFile::DirectoryPtr_t contents = zipFile.GetDirectory();
     vector<string> &stringVector = *contents.get();
     sort(stringVector.begin(), stringVector.end());
-    return expectedContents == expectedContents;
+    return expectedContents == stringVector;
 }
 
 bool TestZipImpl::test_hasContentCaseInSensitive()


More information about the Libreoffice-commits mailing list