~ubuntu-branches/ubuntu/precise/p7zip/precise-updates

« back to all changes in this revision

Viewing changes to CPP/Common/StdOutStream.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2009-02-14 20:12:27 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090214201227-go63qxm9ozfdma60
Tags: 4.65~dfsg.1-1
* New upstream release.
* Remove wx2.8 Build-Depends added by mistakes (7zG is not yet
  intended to be built).
* Use dh_clean without -k.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
bool CStdOutStream::Close()
32
32
{
33
 
  if(!_streamIsOpen)
 
33
  if (!_streamIsOpen)
34
34
    return true;
35
35
  if (fclose(_stream) != 0)
36
36
    return false;
51
51
 
52
52
CStdOutStream & CStdOutStream::operator<<(CStdOutStream & (*aFunction)(CStdOutStream  &))
53
53
{
54
 
  (*aFunction)(*this);    
 
54
  (*aFunction)(*this);
55
55
  return *this;
56
56
}
57
57