Commit 207bab563c418c6f9ed7030c79eaeb39faf37486

Authored by Charles Otto
1 parent 5008f637

A little cleanup in misc.cpp

Showing 1 changed file with 4 additions and 3 deletions
openbr/plugins/misc.cpp
... ... @@ -355,7 +355,7 @@ BR_REGISTER(Transform, AsTransform)
355 355 /*!
356 356 * \ingroup transforms
357 357 * \brief Apply the input regular expression to the value of inputProperty, store the matched portion in outputProperty.
358   - * \author Josh Klontz \cite jklontz
  358 + * \author Charles Otto \cite caotto
359 359 */
360 360 class RegexPropertyTransform : public UntrainableMetaTransform
361 361 {
... ... @@ -371,7 +371,7 @@ class RegexPropertyTransform : public UntrainableMetaTransform
371 371 {
372 372 dst = src;
373 373 QRegularExpression re(regexp);
374   - QRegularExpressionMatch match = re.match(dst.file.get<QString>(inputProprety));
  374 + QRegularExpressionMatch match = re.match(dst.file.get<QString>(inputProperty));
375 375 if (!match.hasMatch())
376 376 qFatal("Unable to match regular expression \"%s\" to base name \"%s\"!", qPrintable(regexp), qPrintable(dst.file.get<QString>(inputProperty)));
377 377 dst.file.set(outputProperty, match.captured(match.lastCapturedIndex()));
... ... @@ -383,7 +383,7 @@ BR_REGISTER(Transform, RegexPropertyTransform)
383 383 /*!
384 384 * \ingroup transforms
385 385 * \brief Remove templates with the specified file extension or metadata value.
386   - * \author Charles Otto \cite caotto
  386 + * \author Josh Klontz \cite jklontz
387 387 */
388 388 class RemoveTemplatesTransform : public UntrainableMetaTransform
389 389 {
... ... @@ -530,6 +530,7 @@ class IncrementalOutputTransform : public TimeVaryingTransform
530 530 // Drop the current gallery.
531 531 void finalize(TemplateList & data)
532 532 {
  533 + (void) data;
533 534 galleryUp = false;
534 535 }
535 536  
... ...