Commit 20670d79 authored by Julien Michel's avatar Julien Michel

COV: Fixing coverity issue in ossimPlugins (not restoring ostream format)

parent dfdc55f0
......@@ -172,19 +172,23 @@ namespace ossimplugins
//*****************************************************************************
std::ostream& ossimTileMapModel::print(std::ostream& os) const
{
os << "\nDump of ossimTileMapModel object at "
<< hex << this << ":\n"
<< "\nTileMapModel -- Dump of all data members: "
<< "\n theImageID: " << theImageID.chars()
<< "\n theImageSize: " << theImageSize
<< "\n theRefImgPt: " << theRefImgPt
<< "\n theRefGndPt: " << theRefGndPt
<< "\n theGSD.line: " << theGSD.line
<< "\n theGSD.samp: " << theGSD.samp
<< "\n qDepth: " << qDepth
<< endl;
return ossimSensorModel::print(os);
std::ios::fmtflags f(os.flags());
os << "\nDump of ossimTileMapModel object at "
<< hex << this << ":\n"
<< "\nTileMapModel -- Dump of all data members: "
<< "\n theImageID: " << theImageID.chars()
<< "\n theImageSize: " << theImageSize
<< "\n theRefImgPt: " << theRefImgPt
<< "\n theRefGndPt: " << theRefGndPt
<< "\n theGSD.line: " << theGSD.line
<< "\n theGSD.samp: " << theGSD.samp
<< "\n qDepth: " << qDepth
<< endl;
os.flags(f);
return ossimSensorModel::print(os);
}
//*****************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment