diff options
Diffstat (limited to 'apps/windoze/CBuilder5/prototype/biblecsmgr.cpp')
-rw-r--r-- | apps/windoze/CBuilder5/prototype/biblecsmgr.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/windoze/CBuilder5/prototype/biblecsmgr.cpp b/apps/windoze/CBuilder5/prototype/biblecsmgr.cpp index 5532081..15eb9ef 100644 --- a/apps/windoze/CBuilder5/prototype/biblecsmgr.cpp +++ b/apps/windoze/CBuilder5/prototype/biblecsmgr.cpp @@ -2,14 +2,14 @@ #include "BibleCSMGR.h" #include <swconfig.h> #include <gbfrtf.h> -#include <rwprtf.h> +//#include <rwprtf.h> #include <rawgbf.h> #include <thmlrtf.h> //--------------------------------------------------------------------------- BibleCSMGR::BibleCSMGR(TModInstFrm *iModInstFrm) : SWMgr(0, 0, false) { gbftortf = new GBFRTF(); - rwptortf = new RWPRTF(); +// rwptortf = new RWPRTF(); thmltortf = new ThMLRTF(); ModInstFrm = iModInstFrm; Load(); @@ -21,8 +21,8 @@ BibleCSMGR::~BibleCSMGR() if (gbftortf) delete gbftortf; - if (rwptortf) - delete rwptortf; +// if (rwptortf) +// delete rwptortf; if (thmltortf) delete thmltortf; @@ -48,8 +48,8 @@ void BibleCSMGR::AddRenderFilters(SWModule *module, ConfigEntMap §ion) module->AddRenderFilter(gbftortf); } - if (!stricmp(module->Name(), "RWP")) - module->AddRenderFilter(rwptortf); +// if (!stricmp(module->Name(), "RWP")) +// module->AddRenderFilter(rwptortf); if (!stricmp(sourceformat.c_str(), "THML")) module->AddRenderFilter(thmltortf); @@ -61,7 +61,7 @@ char BibleCSMGR::AddModToConfig(int conffd, const char *fname) SWConfig modconf(fname); SectionMap::iterator section; AnsiString abouttext = ""; - bool logflag; + char logflag; TMemoryStream *RTFStream = new TMemoryStream(); char retval; @@ -79,10 +79,10 @@ char BibleCSMGR::AddModToConfig(int conffd, const char *fname) ModInstFrm->ShowModal(); - logflag = SWLog::systemlog->log; - SWLog::systemlog->log = false; + logflag = SWLog::systemlog->getLogLevel(); + SWLog::systemlog->setLogLevel(0); retval = SWMgr::AddModToConfig(conffd, fname); - SWLog::systemlog->log = logflag; + SWLog::systemlog->setLogLevel(logflag); return retval; } |