Commit 25d93b7f authored by Makayla Shepherd's avatar Makayla Shepherd
Browse files

Fixed build problems caused by changing method parameters from a pointer to a reference.

parent b11ac40c
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -438,7 +438,7 @@ namespace Isis {
    QString translationFile = "$base/translations/";
    QString translationFile = "$base/translations/";
    translationFile += "pds4ExportBandBinImage.trn";
    translationFile += "pds4ExportBandBinImage.trn";
    FileName translationFileName(translationFile);
    FileName translationFileName(translationFile);
    PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded());
    PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded());
    xlator.Auto(*m_domDoc);
    xlator.Auto(*m_domDoc);
  }
  }


@@ -447,10 +447,10 @@ namespace Isis {
    QString translationFile = "$base/translations/";
    QString translationFile = "$base/translations/";
    translationFile += "pds4ExportBandBinSpectrumUniform.trn";
    translationFile += "pds4ExportBandBinSpectrumUniform.trn";
    FileName translationFileName(translationFile);
    FileName translationFileName(translationFile);
    PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded());
    PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded());
    xlator.Auto(*m_domDoc);
    xlator.Auto(*m_domDoc);


    PvlGroup bandBinGroup = inputLabel->findObject("IsisCube").findGroup("BandBin");
    PvlGroup bandBinGroup = inputLabel.findObject("IsisCube").findGroup("BandBin");
    // fix multi-valued bandbin info
    // fix multi-valued bandbin info
    QStringList xmlPath;
    QStringList xmlPath;
    xmlPath << "Product_Observational"
    xmlPath << "Product_Observational"
@@ -529,7 +529,7 @@ namespace Isis {
      axisBinSetElement = m_domDoc->createElement("sp:Axis_Bin_Set");
      axisBinSetElement = m_domDoc->createElement("sp:Axis_Bin_Set");
      spectralCharElement.appendChild(axisBinSetElement);
      spectralCharElement.appendChild(axisBinSetElement);
    }
    }
    int bands = (int)inputLabel->findObject("IsisCube")
    int bands = (int)inputLabel.findObject("IsisCube")
                                .findObject("Core")
                                .findObject("Core")
                                .findGroup("Dimensions")
                                .findGroup("Dimensions")
                                .findKeyword("Bands");
                                .findKeyword("Bands");
@@ -586,10 +586,10 @@ namespace Isis {
    QString translationFile = "$base/translations/";
    QString translationFile = "$base/translations/";
    translationFile += "pds4ExportBandBinSpectrumBinSet.trn";
    translationFile += "pds4ExportBandBinSpectrumBinSet.trn";
    FileName translationFileName(translationFile);
    FileName translationFileName(translationFile);
    PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded());
    PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded());
    xlator.Auto(*m_domDoc);
    xlator.Auto(*m_domDoc);


    PvlGroup bandBinGroup = inputLabel->findObject("IsisCube").findGroup("BandBin");
    PvlGroup bandBinGroup = inputLabel.findObject("IsisCube").findGroup("BandBin");
    // fix multi-valued bandbin info
    // fix multi-valued bandbin info
    QStringList xmlPath;
    QStringList xmlPath;
    xmlPath << "Product_Observational"
    xmlPath << "Product_Observational"