Commit graph

21936 commits

Author SHA1 Message Date
Thomas Arnhold
ea6ae37c1b Move DBG_ERROR to OSL_FAIL for strings GetBuffer() 2011-03-13 16:44:09 +01:00
Julien Nabet
96a7f1dd19 Methods can be const 2011-03-13 00:12:13 +01:00
Nicolas Christener
59ba9bfd9d translate german comments in /sc/inc 2011-03-12 08:56:02 +01:00
Kohei Yoshida
620cbe0297 A little cleanup. 2011-03-11 16:01:36 -05:00
Kohei Yoshida
c7a03150d1 Properly export sheet local range names to XLS. 2011-03-11 16:01:36 -05:00
Kohei Yoshida
596fcdebaa For now, we only import normal named expressions in sheet local scope. 2011-03-11 16:01:36 -05:00
Kohei Yoshida
50da3d1e56 Use boost::ptr_list for list containing heap objects. 2011-03-11 16:01:36 -05:00
Kohei Yoshida
f40f777986 Pick up sheet local named expressions during ODS import. 2011-03-11 16:01:36 -05:00
Kohei Yoshida
898f36da16 Export sheet-local range names to ODS. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
ee25a401af Reduced indent levels again. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
5b586abd99 Extracted a method from a giant, mega method. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
156962189b Removed unnecessary static cast. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
7c5aa536fb Reduced indent levels by early bail outs. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
970cb4775a Consistent use of types to eliminate static casting. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
2f301f30fc Simplified _ScRangeListTabs and also fixed crashers on XLS import.
Importing XLS documents with custom print ranges caused crash.
2011-03-11 16:01:34 -05:00
Kohei Yoshida
78f6f0ad78 Copy-n-paste error.... 2011-03-11 16:01:34 -05:00
Kohei Yoshida
e675af83c4 Search the sheet local range names as well when compiling formula.
This allows a sheet-local named range to be recognized when entered
into a cell inside a formula expression.
2011-03-11 16:01:34 -05:00
Kohei Yoshida
de8cbe8a44 Correctly import and interpret sheet local range names from XLS. 2011-03-11 16:01:34 -05:00
Kohei Yoshida
04c9caaf37 Store whether or not a range name is global during XLS import. 2011-03-11 16:01:34 -05:00
Kohei Yoshida
9008aac0ad Store additional flag for global vs local storage of named ranges.
Also, store sheet-local named ranges from Excel into the table
instead of the document.
2011-03-11 16:01:34 -05:00
Kohei Yoshida
a22bed643c Added range name container to ScTable. 2011-03-11 16:01:34 -05:00
Tibby Lickle
2144db0455 German comment transation for Calc filter dialog. 2011-03-11 09:59:09 -05:00
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