[Libreoffice-bugs] [Bug 144215] MAILMERGE: if saved as individual documents - filenames should start from 1 (one), not 0 (zero), also for Print

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 22 11:16:54 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144215

--- Comment #2 from Justin L <jluth at mail.com> ---
This numbering comes from dbmgr.cxx
 aTempFile.reset( new utl::TempFile(sLeading, sColumnData.isEmpty(), &sExt,
&sPrefix, true) );

where sColumnData.isEmpty() /*which means this is not a generated name*/
provides _bStartWithZero.

So to do this, we need to extend TempFile and SequentialTokens to accept
provided starting values instead of automatically starting with 0.  (Well, on
the other hand we could just start EVERY use of the general utility TempFile at
1, but that is not a very targeted case and may break many assumptions...)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210922/15d115d3/attachment.htm>


More information about the Libreoffice-bugs mailing list