more indentation fixes

This commit is contained in:
Aleksandar Fabijanic 2013-04-21 14:10:04 -05:00
parent 6f863fee09
commit fe5c4098e5
4 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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();
} }

View File

@ -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;
} }

View File

@ -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();