diff --git a/Code/Mantid/MantidQt/SliceViewer/src/LineViewer.cpp b/Code/Mantid/MantidQt/SliceViewer/src/LineViewer.cpp index 870bac3ab286739ca6ab1bc79b56db351b2c8c27..e355290d099c44ca892162665724be9a6a823a77 100644 --- a/Code/Mantid/MantidQt/SliceViewer/src/LineViewer.cpp +++ b/Code/Mantid/MantidQt/SliceViewer/src/LineViewer.cpp @@ -961,25 +961,6 @@ int LineViewer::getPlotAxis() const { return m_lineOptions->getPlotAxis(); } // ================================================= // ============================================================================================== -/** - * Helper method to get the positive min value. - * @param curveData : CurveData to look through the data of. - * @param from : Start value - * @return : Positive min value. - */ -double getPositiveMin(const MantidQwtWorkspaceData &curveData, - const double from) { - double yPositiveMin = from; - size_t n = curveData.size(); - for (size_t i = 0; i < n; ++i) { - double y = curveData.y(i); - if (y > 0 && y < yPositiveMin) { - yPositiveMin = y; - } - } - return yPositiveMin; -} - /** * Set up the appropriate scale engine. * Uses the isLogScaled method to work out which scale engine to make.