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

This commit is contained in:
jean-pierre charras 2013-06-09 18:50:57 +02:00
parent 92ac2ac47e
commit b1489cbe40
1 changed files with 2 additions and 2 deletions

View File

@ -578,8 +578,8 @@ void WORKSHEET_LAYOUT::SetLayout()
if( fullFileName.IsEmpty() || !wxFileExists( fullFileName ) )
{
#ifdef DEBUG
if( !wxFileExists( fullFileName ) )
#if 0
if( !fullFileName.IsEmpty() && !wxFileExists( fullFileName ) )
{
wxLogMessage( wxT("Page layout file <%s> not found"),
fullFileName.GetData() );