zipfile.cxx (cdf0e10c) zipfile.cxx (5448f169)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 182 unchanged lines hidden (view full) ---

191
192 if (!szFileName)
193 throw ZipException(ERROR_NOT_ENOUGH_MEMORY);
194
195 int rc = unzGoToFirstFile(m_uzFile);
196
197 while (UNZ_OK == rc && UNZ_END_OF_LIST_OF_FILE != rc)
198 {
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 182 unchanged lines hidden (view full) ---

191
192 if (!szFileName)
193 throw ZipException(ERROR_NOT_ENOUGH_MEMORY);
194
195 int rc = unzGoToFirstFile(m_uzFile);
196
197 while (UNZ_OK == rc && UNZ_END_OF_LIST_OF_FILE != rc)
198 {
199 unz_file_info finfo;
199 unzGetCurrentFileInfo(
200 unzGetCurrentFileInfo(
200 m_uzFile, 0, szFileName, lmax, 0, 0, 0, 0);
201 m_uzFile, &finfo, szFileName, lmax, 0, 0, 0, 0);
201
202 dir->push_back(szFileName);
203
204 rc = unzGoToNextFile(m_uzFile);
205 }
206
207 if (UNZ_OK != rc && UNZ_END_OF_LIST_OF_FILE != rc)
208 throw ZipException(rc);

--- 43 unchanged lines hidden ---
202
203 dir->push_back(szFileName);
204
205 rc = unzGoToNextFile(m_uzFile);
206 }
207
208 if (UNZ_OK != rc && UNZ_END_OF_LIST_OF_FILE != rc)
209 throw ZipException(rc);

--- 43 unchanged lines hidden ---