Skip to content
Snippets Groups Projects
Commit 7cf1eb7d authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 2194288a
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,6 @@ typedef itk::AmoebaOptimizer OptimizerType;
typedef const OptimizerType * OptimizerPointer;
void Execute(itk::Object *caller, const itk::EventObject & event)
{
Execute( (const itk::Object *)caller, event);
......
......@@ -43,11 +43,11 @@ public:
/** Defining ::New() static method */
itkNewMacro(Self)
;
;
/** RTTI support */
itkTypeMacro(StringListParameter, Parameter)
;
;
/** Set the value */
void SetValue(StringListType sList)
......
......@@ -657,9 +657,9 @@ StreamingImageFileWriter<TInputImage>
InputImageRegionType bufferedRegion = input->GetBufferedRegion();
// before this test, bad stuff would happend when they don't match
if (bufferedRegion != ioRegion)
if (bufferedRegion != ioRegion)
{
if ( m_NumberOfDivisions > 1 || m_UserSpecifiedIORegion)
if ( m_NumberOfDivisions > 1 || m_UserSpecifiedIORegion)
{
itkDebugMacro("Requested stream region does not match generated output");
itkDebugMacro("input filter may not support streaming well");
......@@ -676,15 +676,15 @@ StreamingImageFileWriter<TInputImage>
IteratorType out(cacheImage, ioRegion);
// copy the data into a buffer to match the ioregion
for (in.GoToBegin(), out.GoToBegin(); !in.IsAtEnd(); ++in, ++out)
for (in.GoToBegin(), out.GoToBegin(); !in.IsAtEnd(); ++in, ++out)
{
out.Set(in.Get());
}
dataPtr = (const void*) cacheImage->GetBufferPointer();
}
else
}
else
{
itk::ImageFileWriterException e(__FILE__, __LINE__);
std::ostringstream msg;
......@@ -697,7 +697,7 @@ StreamingImageFileWriter<TInputImage>
e.SetLocation(ITK_LOCATION);
throw e;
}
}
}
m_ImageIO->Write(dataPtr);
......
......@@ -56,6 +56,5 @@ void QtStringSelectionWidget::DoCreateWidget()
}
}
}
......@@ -265,7 +265,6 @@ QtWidgetStringListParameter::UpdateStringList( std::map<unsigned int, unsigned i
}
void QtWidgetStringListParameter::SetString(const QString& value)
{
m_StringListParam->AddString(value.toStdString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment