Commit b1489cbe authored by jean-pierre charras's avatar jean-pierre charras

Remove a useless message shown only in debug mode, about page layout file not found

parent 92ac2ac4
...@@ -578,8 +578,8 @@ void WORKSHEET_LAYOUT::SetLayout() ...@@ -578,8 +578,8 @@ void WORKSHEET_LAYOUT::SetLayout()
if( fullFileName.IsEmpty() || !wxFileExists( fullFileName ) ) if( fullFileName.IsEmpty() || !wxFileExists( fullFileName ) )
{ {
#ifdef DEBUG #if 0
if( !wxFileExists( fullFileName ) ) if( !fullFileName.IsEmpty() && !wxFileExists( fullFileName ) )
{ {
wxLogMessage( wxT("Page layout file <%s> not found"), wxLogMessage( wxT("Page layout file <%s> not found"),
fullFileName.GetData() ); fullFileName.GetData() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment