Commit graph

21701 commits

Author SHA1 Message Date
Julien Nabet
82d0861046 Some cppcheck cleaning 2011-02-05 23:59:52 +01:00
Julien Nabet
d78b578d20 Some cppcheck cleaning 2011-02-05 13:36:51 +01:00
Caolán McNamara
b9811d828e gcc 4.6.0 various warnings 2011-02-03 13:16:16 +00:00
Alfonso Eusebio
7480010e50 Removed unused functions from calc 2
Removed some more unused functions from calc as identified
by call-catcher.
2011-02-02 17:53:16 -05:00
Kohei Yoshida
724ccbd4fd Disambiguate nested if statement blocks.
No idea how the parser parses that block, but I made the branching
explicit, as interpreted by the way the lines are indented.
2011-02-02 15:43:14 -05:00
Caolán McNamara
12cd45feba WaE: throw out some warnings 2011-02-02 15:05:15 +00:00
Julien Nabet
cab3791076 Some cppcheck cleaning 2011-02-02 12:33:58 +01:00
Thomas Arnhold
c58b67eaf3 Fix CDEFS definition.
Set it after including settings.mk because this file resets CDEFS.

This one enables VBA_OOBUILD_HACK, so we need nCount in a higher scope.
2011-02-02 12:30:22 +01:00
Thomas Arnhold
247d7184d3 Clean up makefiles 2011-02-02 12:05:23 +01:00
Kohei Yoshida
1e11dd8cf8 Prevent selected field index from going out-of-bound, to prevent crash. 2011-02-02 01:01:19 -05:00
Kohei Yoshida
7f5e987104 Ensure that the selected field is displayed when the selection moves.
In the DataPilot main dialog, Set the selected field in the data
select area to the one at the lower right corner, and press 'r' to
move it to the Row field.  This causes the selection to move to the
next field in the select area, but the selected button was not shown.
2011-02-02 00:40:48 -05:00
Julien Nabet
ea28395404 Some cppcheck cleaning 2011-02-01 23:59:20 +01:00
Thomas Arnhold
0a26966dc0 Clean up makefiles 2011-02-01 17:33:12 +01:00
Kohei Yoshida
acfe0e92e3 Alt-Down should do the data select popup by default. (n#666060)
As with other default key bindings changed from OOo's default to
provide familiarity for Excel users, we should assign Alt-Down to
the data select action by default.  The legacy binding will continue
to use Ctrl-D for this.

Also, when the cell has autofilter button, it should launch the
autofilter popup instead.  That was a bug.
2011-02-01 11:05:01 -05:00
Alfonso Eusebio
449c729fc6 Call-catcher: removed unused functions in calc
Removed unused functions from calc using the call-catcher list available
in Easy Tasks (first batch).
2011-02-01 09:26:56 -05:00
Thomas Arnhold
8b167759ce Remove unused files. 2011-02-01 14:17:04 +01:00
Thomas Arnhold
4f5cee76c8 Remove DBG_INVALIDATE 2011-02-01 14:17:04 +01:00
Thomas Arnhold
9bf2ebddda Remove LOCATION_PAGE and tp_Location 2011-02-01 14:17:03 +01:00
Kohei Yoshida
46f69ccfcf Use OUStringBuffer in case we need to modify string after creation. 2011-01-31 21:01:50 -05:00
Sören Möller
5f85fcb259 Replaced tools/string with rtl::OUString in ScDPSaveData 2011-01-31 20:55:47 -05:00
Kohei Yoshida
41617d61f4 Remove unnecessary string copying.
When the original code creates a String instance from rtl::OUString one,
it's not good to create yet another OUString instance from the 2nd
String instance.  Use the original OUString instance directly and
remove unnecessary string copying.
2011-01-31 20:50:54 -05:00
Sören Möller
39146b5cad Replaced tools/string with ::rtl::OUString in ScDPSaveDimension
Changed comparisions and calls in different files
2011-01-31 20:42:12 -05:00
Sören Möller
ad11a1f39f Replaced tools/string with rtl::OUString in ScDPSaveMember
Corrected comparison with return value in dbfunc3.cxx
2011-01-31 20:22:20 -05:00
Sören Möller
be088d0159 Cleaned up spacings in dpsave.hxx/.cxx 2011-01-31 17:24:28 -05:00
Sören Möller
81d05f229a Replaced tools/solar.h types with sal types 2011-01-31 17:15:09 -05:00
Caolán McNamara
9af6a24ed7 WaE: various new gcc 4.6.0 warnings 2011-01-31 21:25:05 +00:00
Caolán McNamara
0e2e312ced WaE: various new gcc 4.6.0 warnings 2011-01-31 21:25:05 +00:00
Thies Pierdola
530ad1ddcd Removed include of tools/string as no longer used 2011-01-31 12:46:43 +01:00
Thies Pierdola
88f12495ae Replaced use of tools/list by std::list 2011-01-31 12:46:42 +01:00
Thies Pierdola
dbd492d04c Cleaned up spacings 2011-01-31 12:46:42 +01:00
Thies Pierdola
f4d45c0d16 Replaced deprecated types with sal types 2011-01-31 12:46:42 +01:00
Caolán McNamara
de94a72875 WaE: various new gcc 4.6.0 warnings 2011-01-29 17:14:04 +00:00
Thomas Arnhold
1e73587cca Remove double line spacing, unused code and some unnecessary brackets. 2011-01-29 15:42:57 +01:00
Kohei Yoshida
e2c61a6765 For some reason STLPort didn't like assigning list to vector.
The code is correct & should work, but for some reason STLPort didn't
like assigning list's data into vector via assign() method.  Luckily
ctor assignment and swap did the trick.
2011-01-28 22:27:59 -05:00
Thies Pierdola
47b2ace9c4 Replaced tools/list by std::vector in ScFunctionList
As the random access Get is called a couple of thousand times each time
a spreadsheet function is used, the use of vector should have a huge
performance gain.
2011-01-28 22:06:16 -05:00
Kohei Yoshida
cc57c04130 Fixed build break and a memory leak.
* Some standard functions needed explicit qualification ::std:: in
  order to build.
* The 'dummy' object is created on the heap but never deleted at the
  end of the call.  We need to delete this when we are done.
2011-01-28 18:35:09 -05:00
Thies Pierdola
fd216101a7 Comments for private variables in ScFunctionMgr 2011-01-28 18:35:09 -05:00
Thies Pierdola
01bfc30f24 Replaced tools/list with std::vector in ScFunctionMgr and ScFunctionCategory 2011-01-28 18:35:09 -05:00
Christina Rossmanith
32d1d5f383 Removed some whitespaces 2011-01-28 23:58:15 +01:00
Christina Rossmanith
4087d76a99 Translated comments from German to English 2011-01-28 23:45:43 +01:00
Nigel Hawkins
911f80ca10 Replace SvShorts with std::vector 2011-01-28 09:52:12 -05:00
Thomas Arnhold
0787bb32a9 Replace empty equalsAscii() with getLength(). 2011-01-28 15:19:39 +01:00
Thomas Arnhold
99352eddaf Remove SC_CONVUNO_HXX. This should be done by convuno.hxx. 2011-01-28 15:19:39 +01:00
Thomas Arnhold
3a2fde3c72 Remove SC10_SHOW_OBJECTS. 2011-01-28 15:19:39 +01:00
Caolán McNamara
96d7fff09c WaE: gcc 4.6.0 various warnings 2011-01-27 11:25:33 +00:00
Octavio Alvarez
5cd1a8ec06 "Default Formatting" -> "Clear Direct Formatting" 2011-01-27 09:23:01 +01:00
Sören Möller
59e0fc8446 Added check for empty rRangeList in ScViewFunc
This fixes a crash, which occured when the sum function was called, without
beeing able to generate an automatic range.
2011-01-26 20:24:54 -05:00
Caolán McNamara
987c0541f9 WaE: gcc 4.6.0 various warnings 2011-01-26 16:12:00 +00:00
Caolán McNamara
680cf073c0 WaE: gcc 4.6.0 various warnings 2011-01-26 09:02:11 +00:00
Christina Rossmanith
a3913a2027 Translated comments from German to English 2011-01-25 22:04:52 +01:00