don't test for both stream.fail() and stream.bad() as the latter implies the former...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Sep 2008 16:50:48 +0000 (16:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Sep 2008 16:50:48 +0000 (16:50 +0000)
commitc09b7217f621ab50428d657429e8da8b4eb333d4
tree7e6d767a331cf44bf94d489c4c66dd9b0109f388
parent2399c87ccef4649135075265c2a271860e6df327
don't test for both stream.fail() and stream.bad() as the latter implies the former; also use operator!() instead of fail() to make it more clear what's going on

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/docview.cpp