From d856f8e820b283788fd1e38d55154657d3d6df57 Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Tue, 6 May 2014 19:55:20 +0200 Subject: [PATCH] STYLE --- Applications/Projections/otbSuperimpose.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications/Projections/otbSuperimpose.cxx b/Applications/Projections/otbSuperimpose.cxx index 304fb161a8..7770d565a6 100644 --- a/Applications/Projections/otbSuperimpose.cxx +++ b/Applications/Projections/otbSuperimpose.cxx @@ -170,7 +170,7 @@ private: bool isRefPHR = false; bool isMovingPHR = false; - otb::PleiadesImageMetadataInterface::Pointer phrIMI = + otb::PleiadesImageMetadataInterface::Pointer phrIMI = otb::PleiadesImageMetadataInterface::New(); phrIMI->SetMetaDataDictionary(refImage->GetMetaDataDictionary()); isRefPHR = phrIMI->CanRead(); @@ -197,13 +197,13 @@ private: std::string panProcessing = kwlPan.GetMetadataByKey("support_data.processing_level"); std::string xsProcessing = kwlXS.GetMetadataByKey("support_data.processing_level"); - if (panProcessing.compare("SENSOR") == 0 && + if (panProcessing.compare("SENSOR") == 0 && xsProcessing.compare("SENSOR") == 0) { SetParameterInt("mode",Mode_PHR); otbAppLogINFO("Enable the PHR mode"); } - } + } } } -- GitLab