Skip to content
Snippets Groups Projects
Commit 20670d79 authored by Julien Michel's avatar Julien Michel
Browse files

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

parent dfdc55f0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
//*****************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment