Patch level : 12.00 139

Files correlati     : ve01.exe ve11.exe fp01.exe cg021.exe
Commento                :
Invio con FePA
This commit is contained in:
Alessandro Bonazzi 2025-07-27 19:33:31 +02:00
parent 1589b5aecd
commit f78c0c2121
2 changed files with 27 additions and 29 deletions

View File

@ -796,9 +796,8 @@ void TApplication::open_files(int logicnum, ...)
bool TApplication::get_spotlite_path(TFilename& path) const bool TApplication::get_spotlite_path(TFilename& path) const
{ {
bool ok = dongle().active(RSAUT); bool ok = false;
if (ok)
{
if (prefix_valid()) if (prefix_valid())
path = prefix().get_studio(); // Legge il persorso dello studio corrente path = prefix().get_studio(); // Legge il persorso dello studio corrente
else else
@ -831,7 +830,6 @@ bool TApplication::get_spotlite_path(TFilename& path) const
} }
} }
} }
}
return ok; return ok;
} }

View File

@ -2421,7 +2421,7 @@ bool TBook::print(size_t pagefrom, size_t pageto, word copies)
bool TBook::export_pdf(TFilename& filename, bool signature, bool goto_url, bool ask_filename) bool TBook::export_pdf(TFilename& filename, bool signature, bool goto_url, bool ask_filename)
{ {
bool ok = (pages() > 0) && main_app().has_module(RSAUT); // Controllo paranoico dei permessi bool ok = (pages() > 0); // Controllo paranoico dei permessi
if (ok) if (ok)
{ {
ask_filename |= filename.blank(); ask_filename |= filename.blank();