Commit graph

21914 commits

Author SHA1 Message Date
Tibby Lickle
9cb212ca16 Disabled auto-complete in Calc filter dialog - fix for bug 34898.
A hyphen character caused auto-complete to kick in, changing the user's choice of conditional operator to "=". This was not changed back if auto-complete option is overridden.
2011-03-11 09:59:09 -05:00
Nicolas Christener
ba13b3beee translate german comments in /sc/inc 2011-03-10 21:56:49 +01:00
Caolán McNamara
28bc2b2c4d silence some warnings 2011-03-09 11:02:22 +00:00
Kohei Yoshida
4be37d1bc9 Simple in-line comment. 2011-03-08 17:23:59 -05:00
Kohei Yoshida
014d7602e5 Added unit test for external references.
For now, we just test its caching behavior with in-memory document.
2011-03-08 17:14:26 -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