// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
if (macroId != ltSECTIONSTAR)
sectionNo ++;
-
+
SetCurrentOutputs(Chapters, Sections);
long id1 = NewBlockId();
currentBlockId = NewBlockId();
if (start)
{
wxChar *sec = NULL;
-
+
wxChar *refName = GetArgData();
if (refName)
{
wxChar *label = GetArgData();
hyperLinks.Append(currentBlockId, (wxObject *)copystring(label));
}
-
+
return false;
}
break;
{
xlpBlockId = 0;
- if (InputFile && OutputFile)
+ if (!InputFile.empty() && !OutputFile.empty())
{
Contents = wxFopen(TmpContentsName, _T("w"));
Chapters = wxFopen(_T("chapters.xlp"), _T("w"));
}
return false;
}
-