Commit graph

22272 commits

Author SHA1 Message Date
Kohei Yoshida
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00
Kohei Yoshida
99745dbcbb Typo. 2011-03-07 22:20:20 -05:00
Kohei Yoshida
31dbdd1766 Properly invalidate cached sheet XML streams during reference update.
Failure to invalidate sheet streams during reference update caused
formula cross referenceing between sheets to totallly get borked.

The bug was originally reported in i#116833.
2011-03-07 22:14:53 -05:00
Kohei Yoshida
ecce776df1 New unit test for sheet stream's validity during reference update. 2011-03-07 22:08:43 -05:00
Kohei Yoshida
4bbd113b9c More BOOL to bool conversion. 2011-03-07 17:03:32 -05:00
Kohei Yoshida
22ffbb90a3 BOOL to bool conversion. 2011-03-07 16:40:29 -05:00
Julien Nabet
eb888e66ee First try of removing "using namespace ::com::sun::uno" 2011-03-07 20:17:42 +01:00
Kohei Yoshida
a077ebcb54 Duh! I forgot to loop. Silly me.
This caused saving of a document to ods to cause a crash unconditionally.
2011-03-07 12:10:43 -05:00
Julien Nabet
6dd5cc1f73 There were 2 times "using ::rtl::OUString" 2011-03-06 22:32:31 +01:00
Fridrich Štrba
a44a269f93 Fix windows build breakage 2011-03-06 16:28:04 +01:00
Kohei Yoshida
704dcf4d1d GetRangeAtBlock() to findByRange(), favor std::find_if over manual loop. 2011-03-05 16:02:19 -05:00
Kohei Yoshida
eb9ba62f38 Fixed a build breakage. 2011-03-05 15:32:27 -05:00
Kohei Yoshida
18a96804b7 Changed ScRangeData's index back to USHORT for now. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
d23aeeae68 Renamed FindIndex to findByIndex to be consistent with findByName. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
a4e0c61a04 Removed the Insert() method; let's use insert() across the board. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
7bd15deb60 Finally removed the old ScRangeName code for good!
Plus some build breakage fix.
2011-03-05 15:21:09 -05:00
Kohei Yoshida
6c5be702c2 Adjusted ScDocument::CopyRangeNamesFromClip() for the ScRangeName change. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
fe2ee40d95 Extracted duplicated code blocks into a separate method. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
be1b2028a0 Adjusted ScDocument::CopyRangeNamesToClip() for the ScRangeName change. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
b36d2db83f Adjusted ScDocument::TransferTab() for the ScRangeName change. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
7b8504627a Adjusted the excel export code. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
4af2fdbb9a Reverted on index handling of range name objects. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
1a92b2d9a4 Adjusted ScSpecialFilterDlg for the ScRangeName change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
01c1b155e3 Adjusted ScNamedRangeObj for the ScRangeName change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
0e0b99c817 Adjusted ScAreaNameIterator for the ScRangeName change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
70624edc40 More on adjusting for ScRangeName API change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
726a7d3893 More on adjusting for ScRangeName's new API. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
e40df3cb08 Added begin(), end() and implemented FindIndex(). 2011-03-05 15:21:08 -05:00
Kohei Yoshida
9b6c3f27f4 Identified and tagged all places where I need to modify. 2011-03-05 15:21:07 -05:00
Kohei Yoshida
0df4b4a860 Removed SearchNameUpper() in favor of findByUpperName(). 2011-03-05 15:21:07 -05:00
Kohei Yoshida
e422d9efc3 Removed SearchName() in favor of findByName(). 2011-03-05 15:21:07 -05:00
Kohei Yoshida
b2d3a5e2a3 More on re-working ScRangeName. 2011-03-05 15:21:07 -05:00
Kohei Yoshida
ac211cd143 More work on ScRangeName re-work... 2011-03-05 15:21:07 -05:00
Kohei Yoshida
ef5b262fd5 Started re-working ScRangeName to use ptr_map instead of own container. 2011-03-05 15:21:07 -05:00
Caolán McNamara
8dd04b2bdc work around compiler problem 2011-03-05 10:53:39 +00:00
Christina Rossmanith
26524ba0d1 Removed /* ### ACHTUNG: Neuer Text in Resource? - lines from calc 2011-03-05 08:40:50 +01:00
Kohei Yoshida
6299330c2a Unit test for text and text number inputs. 2011-03-04 20:27:33 -05:00
Caolán McNamara
1b9fc8e85d Workaround dodgy compiler problem.
Bad parse from gcc-4.6.0 of...
pvfundlg.cxx: In function 'bool lclFillListBox(ListBoxType&, const com::sun::uno::Sequence<rtl::OUString>&, USHORT) [with ListBoxType = ListBox, USHORT = short unsigned int]':
pvfundlg.cxx:699:60:   instantiated from here
pvfundlg.cxx:74:55: error: invalid use of 'com::sun::uno::Sequence< <template-parameter-1-1> >::getConstArray [with E = rtl::OUString]' to form a pointer-to-member-function
pvfundlg.cxx:74:55: note:   a qualified-id is required
pvfundlg.cxx:74: confused by earlier errors, bailing out
2011-03-04 20:29:03 +00:00
Kohei Yoshida
747cfc8a84 Oops. 2011-03-04 13:36:05 -05:00
Kohei Yoshida
56fbd3f75b Don't strip the first apostrophe from a text input. (fdo#34260)
Also removed the abuse of this behavior during datapilot output
construction.  Thanks largely to the unit test. :-)
2011-03-04 13:31:38 -05:00
Kohei Yoshida
02c94d293d Better error output in case something goes wrong during unit test. 2011-03-04 13:27:11 -05:00
Kohei Yoshida
58310ae426 Reduced indent level by early bail out. 2011-03-04 12:29:21 -05:00
Kohei Yoshida
f820e9b5ac BOOL to bool. 2011-03-04 12:26:52 -05:00
Kohei Yoshida
c7a631d252 Check for the value being outside the numeric limit of 32-bit int. 2011-03-03 21:55:38 -05:00
Jan Holesovsky
f9f98386b2 findbar: Add the findbar to the menus above the Search dialog. 2011-03-03 23:56:25 +01:00
Kohei Yoshida
5f7dc0d4c7 Support external references in a whole bunch of other functions.
GetMatrix() now returns a matrix instance even from external single
and double ref tokens.  Let's use this to easily add support for
external refs to several functions at once.
2011-03-03 17:45:33 -05:00
Kohei Yoshida
251bb12036 Handle external references in LOOKUP, HLOOKUP and VLOOKUP. (fdo#33426) 2011-03-03 17:32:46 -05:00
Kohei Yoshida
2abcba4fb4 Support external reference range for INDEX function. (fdo#34938) 2011-03-03 17:10:29 -05:00
Kohei Yoshida
f8c96ac67e Added new test for volatile function NOW wrapped inside IF.
Inspired by fdo#31939.
2011-03-03 01:09:24 -05:00
Kohei Yoshida
ababcf5570 Better fix for fdo#31939.
Turns out that the token array's recalc mode is set to "recalc always"
when it contains a volatile token during compilation.  We can re-use
that to mark the token array volatile before the interpretation starts.
The end result is the same, with better performance since we can avoid
re-scanning of the token array.
2011-03-02 21:33:09 -05:00