Instead, generate it once and then pass around that list. Again, this
helps ODF export.
For a test document of 2000 mail merge records and 16 frames, the times
for css::text::MailMerge::execute() are 7m53.575s -> 7m30.261s.
Change-Id: Iec993ec34392350b1e26857f7d5434a0a9c494a3
RowInfo.pCellInfo is already initialized by ctor.
Found while investigating coverity#707985 Uninitialized scalar field
Change-Id: Ibb41032674ce5f07ed855a62d76648526d09a1ad
This method is called by the ODF export for each paragraph, so limiting
the result for TextBoxes anchored to a single paragraph helps to avoid
iterating over all the frames for each paragraph.
For a test document of 2000 mail merge records and 16 frames, the times for
css::text::MailMerge::execute() are 8m18.811s -> 7m53.575s.
Change-Id: I7a9cd7b23a3e903059ec0ae3a6a8f8309681bb2e
...so (highbit(ave) - 1) will never be negative and never cause undefined shift by negative
value.
Change-Id: I86703f03d30d48c74d2e814c182b9edb85d18186
...so arena->m_hash_shfit will never be negative and never cause undefined shift by negative
value.
Change-Id: Ifc3d28d53bae38bc8deea72473c81f1d043dc18e
this is the image map window, I see that indeed toggling a shape
active/inactive in the image mapwindow makes it change layer
to the front for no good reason
Change-Id: If6556e8f21dee2b0f7c750d460490d4e03fc0c02
Enable Math to use 16 basic HTML colors
Patch by: Regina Henschel <rb.henschel@t-online.de>
Found by: <lapsap7+ooo@gmail.com
(cherry picked from commit 529e59d90037748d0030191b93252e597935243e)
Conflicts:
starmath/inc/parse.hxx
starmath/source/mathmlimport.cxx
starmath/source/parse.cxx
Change-Id: I08de0ce33928ead3635a3a87c81671b4cc4112ac
Makes __LINE__ numbers you have inserted in temporary printf() calls in the
(generated) OpenCL code more useful.
Change-Id: I6da5a6937b924c1378f7f0c25ab7e156b23e1b61
Makes it possible to look at the OpenCL source for just a specific function,
by setting for instance SAL_LOG=+INFO.sc.opencl.source.nop_VLookup.
Change-Id: Ie9e1f7b1542043717ac3652226713f4ab88883e1
When generating a unique fly name, we have to iterate over all the
existing flys to find out what's the first not used one, so doing this
for every new fly inserted by mail merge is O(n^2).
During import, we already skip this and only do it once at the end of
the import, which is O(n).
Fix the performance problem by skipping the unique fly name generating
when we produce a combined mail merge document as well, and just
generate them once the mail merge is complete.
For a test document having 12 text frames and 2000 mail merge records,
the times for css::text::MailMerge::execute() is 9m37.330s -> 8m18.811s.
Change-Id: Idfa8e9fe3acc93f1138f5bb12c2419c1492f8ff1
And get rid of the writerfilter copy, that does no rounding. Adjusted
testcases:
- testFdo80555: 245 -> 247 (should be 246.944444444, so a good change)
- testDMLGroupShapeChildPosition: roundtripped values are now closer to
the initial ones, so also a good change
Change-Id: I4dec7857a0df77face01b7a8ba1da7c647a24b6c
depends on c0a5d390e5
ContextClasses implement fast methods.
ImportClasses implement fast methods.
New TokenHandler for AutoCorrectTokens.
Change-Id: I41ef7266da2068da3ab5f047280b13e57ee2e763
This likely is a false warning or over-enthusiasm in the salbool plug-in, but
on the other hand, I don't understand why the recently added case needs to use
different coding idioms from the preceding ones in the function? So make the
code more uniform.
Change-Id: I518022c59f6bd54740676cba95670e78b9a40d19
We want a pre-spun-up, shared thread-pool that doesn't get its
workers created & joined frequently.
Change-Id: I29081e3a3e3849ca30e63fd080ee3315d99cbe8d