Skip to content

Commit

Permalink
Refs #8961 Fixed for cppCheck1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lottie Greenwood committed Nov 17, 2014
1 parent 2dd14f4 commit d4e9e16
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -29,16 +29,16 @@ namespace Mantid
void SaveReflCustomAscii::extraHeaders(std::ofstream & file)
{
auto samp = m_ws->run();
std::string subtitle;
//std::string subtitle;
std::string title = getProperty("Title");
try
/*try
{
subtitle = samp.getLogData("run_title")->value();
}
catch (Kernel::Exception::NotFoundError &)
{
subtitle = "";
}
}*/

if (title != "") //if is toggled
{
Expand Down

0 comments on commit d4e9e16

Please sign in to comment.