Commit graph

21866 commits

Author SHA1 Message Date
Kohei Yoshida
e9b4a11be7 Added unit test for built-in cell functions.
For now, I only test for function categories and their order in
each category.  But in the future I might test for argument types
as well.
2011-02-17 01:00:04 -05:00
Kohei Yoshida
11b2bfe3dd Create an ScDocShell instance, and take the ScDocument instance from it.
Also, we normally use #include "foo.hxx" style include for module
local headers, to distinguish them from system headers or external
module headers.
2011-02-16 22:01:19 -05:00
Thomas Arnhold
c77531a645 Remove BLC support
http://www.openoffice.org/issues/show_bug.cgi?id=52746

"BLC - borland compiler (OS2, win16) - obsolete"
2011-02-16 23:09:04 +01:00
Thomas Arnhold
e2ebbd2847 Remove SCO support 2011-02-16 20:15:20 +01:00
Noel Power
9e687fd74c add copyright header 2011-02-16 18:06:51 +00:00
Kohei Yoshida
18f42ddf88 More removal of inc/dec recalc level calls. 2011-02-15 23:49:17 -05:00
Kohei Yoshida
b3ee501254 Remove this weird recalc level construct. Let's keep it simple. 2011-02-15 17:33:06 -05:00
Kohei Yoshida
5267252884 Let's hide these definitions from the header, for easier debugging. 2011-02-15 16:51:03 -05:00
Kohei Yoshida
b5b86329eb Reduced indent levels by early bail out. 2011-02-15 10:53:19 -05:00
Kohei Yoshida
20349a62d9 Fixed an incorrect exporting of row styles.
flat_segment_tree's end position is not inclusive.  Let's reflect that
when checking cached data range.
2011-02-15 10:49:28 -05:00
Muthu Subramanian K
f833cc946d XLSX import of duplicate-conditional formatting. 2011-02-15 20:23:39 +05:30
Kohei Yoshida
8456140a92 Unused method removal. 2011-02-15 01:05:14 -05:00
Kohei Yoshida
56da43c022 Use leaf-node search here as well, to avoid tree being re-built. 2011-02-15 00:30:37 -05:00
Kohei Yoshida
a9657598cf Let's use a separate method for leaf-node search.
Let's have two separate methods for tree and leaf-node searches.
It's better this way than turning on and off the tree search via
boolean before and after the call.
2011-02-15 00:07:03 -05:00
Joseph Powers
e57b210ba5 Remove some extra #include <sot/sotref.hxx> 2011-02-14 20:58:01 -08:00
Kohei Yoshida
4882476549 A little cleanup. 2011-02-14 21:51:17 -05:00
Kohei Yoshida
07782a0872 With positional insert, there is no need to do back insertion.
My benchmark shows that positional insertion is slightly faster
than back insertion.  Let's remove back insertion calls to keep
the API cleaner.
2011-02-14 21:35:20 -05:00
Kohei Yoshida
2545177d36 Nailed the filtering perf issue for good. (fdo#33720) 2011-02-14 21:28:06 -05:00
Kohei Yoshida
9d324821f5 Use doxygen/javadoc style format for class documentation. 2011-02-14 16:03:26 -05:00
Thomas Arnhold
a0c0c3a942 Fix typo in copyright notice 2011-02-14 19:31:20 +01:00
Alfonso Eusebio
8032a423ab Remove legacy Addin functions from calc
Removes legacy addin functions - seems to be sample code only.
These functions are available through the newer scaddin module.
2011-02-14 11:31:20 -05:00
Caolán McNamara
b0d0898672 WaE: silence this for all compilers 2011-02-14 10:38:21 +00:00
Caolán McNamara
a34b495c03 add mode lines to new files 2011-02-14 10:38:21 +00:00
Takeshi Abe
d551aab12e remove an assignment for a variable unused thereafter 2011-02-14 19:10:14 +09:00
Thomas Arnhold
ab34122d76 Remove SC_ROWLIMIT_TYPECONVERSION_NOCONVPASS 2011-02-13 17:00:09 +01:00
Kohei Yoshida
66511c026b Fixed a crasher during external cell value query.
pFmt is sometimes NULL.  We need to check that.
2011-02-12 01:59:34 -05:00
Kohei Yoshida
e991d4e8ec Get correct current position when shift-page up and down. (fdo#34026)
When expanding a selection, we need to use the block end position
as the "current" position instead of the current cursor position, as
the cursor no longer moves during block selection.
2011-02-12 01:32:12 -05:00
Kohei Yoshida
ef2eab7899 Fixed a bug where row hidden/filtered attributes were not saved.
ScDocument::RowHidden() and RowFiltered() takes the row index as
the first argument, not second.  The second argument is the table
index.
2011-02-12 00:44:01 -05:00
Kohei Yoshida
acfcebd01e Cleaned up RowHidden() and ColHidden() calls.
There were two versions of each; let's just keep one and remove the
other.
2011-02-11 22:37:44 -05:00
Kohei Yoshida
5f61d6da66 Fixed incorrect cursor navigation. (fdo#33756)
Block selection with keyboard was incorrect when the selected range
included hidden cells.  This also fixes one crasher on block
selection during formula reference mode i.e. type '=SUM(' and select
range via keyboard afterward.
2011-02-11 20:42:42 -05:00
Kohei Yoshida
ef0fcadc9b Get chart2 to build under windows.
There are still quite a few warnings here though.
2011-02-11 16:23:37 -05:00
Fridrich Štrba
fb9b8549fb Avoid compiler confusion 2011-02-11 21:14:38 +01:00
Christina Rossmanith
5086235189 Translated comments from German->English 2011-02-11 20:58:35 +01:00
Jan Holesovsky
f85e1be95a Fix build with the hyperlink toolbar removed. 2011-02-11 19:28:22 +01:00
Caolán McNamara
ff9fad57c5 Resolves: fdo#34065 remove unused InsertBlockMark and PAINT_INVERT flag 2011-02-11 16:09:06 +00:00
Takeshi Abe
9b0001fabf Remove indistinguishable branching 2011-02-11 00:39:28 +01:00
Caolán McNamara
89475ce26c WaE: values set but not used 2011-02-10 20:22:31 +00:00
Thomas Arnhold
731ae82310 WaE: Remove unused variables 2011-02-10 16:36:08 +01:00
Bálint Dózsa
88e3584ccf Remove some dead code 2011-02-10 14:29:38 +00:00
Nigel Hawkins
a4b19535cc Remove last traces of SvShorts from sc 2011-02-10 09:47:56 +01:00
Thomas Arnhold
c32345afa3 Remove static if-statement 2011-02-09 20:58:01 +01:00
Fridrich Štrba
83539d539a Trying to remove the stlport mention from the code 2011-02-09 16:20:00 +01:00
Fridrich Štrba
4f9c61b2f9 Removing the ext_std masterpiece 2011-02-09 10:49:54 +01:00
Alfonso Eusebio
9a920f3a7c Remove obsolete Hyperlink Bar from calc
Removed hyperlink bar references from calc (removing from apps first).
Menu entry appears greyed out until it gets removed from core modules.
2011-02-08 21:38:21 -05:00
Alfonso Eusebio
4a928babb5 Removed unused functions and classes form calc 3last
Removed unused function and some entire classes from calc.
The functions removed are some of those identified by call-catcher.
2011-02-08 21:02:19 -05:00
Tor Lillqvist
223d92f2ad prewin.h already includes <windows.h> 2011-02-09 00:53:49 +02:00
Luboš Luňák
9dafa8b12c more std:: -> o3tl:: build fixes 2011-02-08 19:31:40 +01:00
Guillaume Poussel
aa5968f33a Clean-up bogus comments in calc. 2011-02-08 18:45:17 +01:00
Tor Lillqvist
2c1c1035d9 Adapt to move of prewin.h and postwin.h 2011-02-08 13:01:07 +02:00
Fridrich Štrba
75faa24553 rewrite the one use of std::iota 2011-02-08 07:43:11 +01:00