mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
more indentation fixes
This commit is contained in:
parent
6f863fee09
commit
fe5c4098e5
@ -83,7 +83,7 @@ public:
|
|||||||
|
|
||||||
FileHeaders::const_iterator headerEnd() const;
|
FileHeaders::const_iterator headerEnd() const;
|
||||||
|
|
||||||
const std::string& getZipComment() const;
|
const std::string& getZipComment() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void parse(std::istream& in, ParseCallback& pc);
|
void parse(std::istream& in, ParseCallback& pc);
|
||||||
|
@ -120,9 +120,9 @@ void ZipArchive::parse(std::istream& in, ParseCallback& pc)
|
|||||||
|
|
||||||
const std::string& ZipArchive::getZipComment() const
|
const std::string& ZipArchive::getZipComment() const
|
||||||
{
|
{
|
||||||
// It seems that only the "first" disk is populated (look at Compress::close()), so getting the first ZipArchiveInfo
|
// It seems that only the "first" disk is populated (look at Compress::close()), so getting the first ZipArchiveInfo
|
||||||
DirectoryInfos::const_iterator it = _disks.begin();
|
DirectoryInfos::const_iterator it = _disks.begin();
|
||||||
return it->second.getZipComment();
|
return it->second.getZipComment();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ void ZipArchiveInfo::setZipComment(const std::string& comment)
|
|||||||
// Change the value of the ZIP Comment Size to reflect new comment size
|
// Change the value of the ZIP Comment Size to reflect new comment size
|
||||||
ZipUtil::set16BitValue(static_cast<Poco::UInt16>(comment.size()), _rawInfo, ZIPCOMMENT_LENGTH_POS);
|
ZipUtil::set16BitValue(static_cast<Poco::UInt16>(comment.size()), _rawInfo, ZIPCOMMENT_LENGTH_POS);
|
||||||
|
|
||||||
// Now change our internal comment
|
// Now change our internal comment
|
||||||
_comment = comment;
|
_comment = comment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ public:
|
|||||||
void testManipulator();
|
void testManipulator();
|
||||||
void testManipulatorDel();
|
void testManipulatorDel();
|
||||||
void testManipulatorReplace();
|
void testManipulatorReplace();
|
||||||
void testSetZipComment();
|
void testSetZipComment();
|
||||||
|
|
||||||
void setUp();
|
void setUp();
|
||||||
void tearDown();
|
void tearDown();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user