Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This is 'libreoffice-3-4-4' - the stable branch for the 3.4.4 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 3.4.x release,
please use the 'libreoffice-3-4' branch.
If you want to build something cool, unstable, and risky, use master.
|
|
|
|
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
ScFormulaCell::GetMatrixEdge() when recalculating its dimension obtained
the matrix origin of itself instead of a neighboring matrix formula if
encountered such, effectively adding that other matrix to its own cells
occupying dimension.
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
This ensures that the bottom text "Drag the fields from ..." is
visible on all platforms. Previously this text overlapped with
the data and row field windows on Windows XP.
Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
|
|
Signed-off-by: Eike Rathke <erack@erack.de>
|
|
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
ScRangeName::maIndexToData
* The newly introduced ScRangeName::maIndexToData needs to take into
account that boost::ptr_set clones and deletes elements, hence each
collection needs its own maIndexToData setup in copy-ctor.
* Also fixed ScRangeName::erase() where a wrong index element was set to NULL.
Signed-off-by: Eike Rathke <erack@erack.de>
|
|
This should speed up formula calculations considerably during xls
import since shared formulas are also stored in ScRangeName and
they are looked up by index. (bnc#715104)
Signed-off-by: Eike Rathke <erack@erack.de>
|
|
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
|
|
Old intrusive pointer in operator->() simply returned a NULL pointer if
so, boost::intrusive_ptr asserts on that. If explicitly used to obtain
the pointer use get() instead.
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
better performance on loadin calc files (esp. big ones)
|
|
|
|
Modified from the original patch submitted by Olivier Hallot.
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
This was "fixed" in i#107275, but the fix only worked in locales
where the range/argument separator was ';' (e.g. German locale).
This is the correct fix that works in all locales regardless of
the separator.
Signed-off-by: Noel Power <noel.power@novell.com>
|
|
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
If we don't invalidate the table stream when we change the local range
name, the new range name will only be written if something else has been
changed in the sheet
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
Signed-off-by: Eike Rathke <ooo@erack.de>
|
|
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
|
|
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
|
|
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
And also fdo#37499.
It seems that this commit somehow disappeared during merge.
Signed-off-by: Noel Power <noel.power@novell.com>
|
|
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
|
|
The old fix reversed the order of the elements even when no elements
were deleted. This is better & cleaner. Thanks to David Tardon for
suggesting me this.
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
|
|
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
(cherry picked from commit a027bee4bb2565f14eb70c4325592b23a86c007a)
Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
|
|
In short, don't use erase remove(_if) idiom to remove objects from
boost ptr containers which would cause double deletes because of
the way remove-like algorithms work. STL's remove-like algorithms
create duplicates of the elements instead of re-ordering them by
design, and this obviously doesn't work well with containers
containing pointers.
Signed-off-by: David Tardon <dtardon@redhat.com>
|
|
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
use of SheetRangeNameInserter
SheetRangeNameInserter now handles rangeType
changing SetSheetNamedRanges accordingly
rename SheetRangeNameInserter to RangeNameInserter
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
|
|
ScXMLConverter::ParseFormula() was called on the range name string
to correctly fix range string such as '$Sheet1.$A$1:.$A$3' to
'$Sheet1.$A$1:$A$3' (remove the dot from the end cell address). But
we weren't using the corrected string when creating a new range name
instance during the ODS import. This commit fixes it.
Signed-off-by: David Tardon <dtardon@redhat.com>
|
|
We now need to clear the cache before running DataPilotUpdate() in
order to re-populate the cache from the source data.
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
From how it's used, it appears to be the convention to call
InitDrawLayer() before getting the drawing layer pointer, to ensure
that the drawing layer is present when needed.
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
|
|
we need to save the information if we have a local range name or a
global range name in the uno api too
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
|
|
If you export even one excess page break than 1026, Excel refuses
to load the whole document.
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
local range names must be updated like global range names
Signed-off-by: Katarina Machalkova <kmachalkova@novell.com>
|
|
add the current table number as fallback to the address parser for the
case that no table is specified
Signed-off-by: Katarina Machalkova <kmachalkova@novell.com>
|
|
Setting it to anything else moves field indexes off-by-N and causes crash
in some cases (the original code has been unused since 2004 at least)
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
It triggered heavy leaking of opened file descriptors (fdo#38590)
This reverts commit 70af08e849a93d56915b7abe14537facf1022a6a.
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
|
|
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
(cherry picked from commit 70d01893e713fa730acd73a28fbf5ee29651215c)
|
|
Signed-off-by: Noel Power <noel.power@novell.com>
|
|
Signed-off-by: Petr Mladek <pmladek@suse.cz>
|