Thomas Arnhold
a7680c1d49
Move DBG_TRACE to OSL_TRACE for strings GetBuffer()
2011-03-13 16:44:10 +01:00
Thomas Arnhold
0dfe94c514
Remove unused DBG_TRACESTR macro
2011-03-13 16:44:10 +01:00
Thomas Arnhold
ed0ced92f0
DBG_TRACESTR to OSL_TRACE for O*String
2011-03-13 16:44:10 +01:00
Thomas Arnhold
859a48975b
DBG_TRACESTR to OSL_TRACE for String
2011-03-13 16:44:10 +01:00
Thomas Arnhold
ccfca545f1
Move DBG_TRACESTR to OSL_TRACE for a OUString
2011-03-13 16:44:10 +01:00
Thomas Arnhold
b0dc341da6
Move DBG_TRACE to OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
5dd1ff4fe9
Move DBG_TRACE1 to OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
36971a269f
Move #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 1 for OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
997939f813
Move DBG_ERROR1 to OSL_TRACE for a macro
2011-03-13 16:44:10 +01:00
Thomas Arnhold
7b16e3d625
Move DBG_ERROR3 to OSL_TRACE
2011-03-13 16:44:09 +01:00
Thomas Arnhold
2f2b1951a7
Move DBG_ERROR2 to OSL_TRACE
2011-03-13 16:44:09 +01:00
Thomas Arnhold
884fae413f
Move DBG_ERROR1 to OSL_TRACE
2011-03-13 16:44:09 +01:00
Thomas Arnhold
735061e023
Move DBG_ERROR to OSL_FAIL for strings foo().GetBuffer()
2011-03-13 16:44:09 +01:00
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
Kohei Yoshida
12343c1556
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
2011-03-10 20:21:13 -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
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
Kohei Yoshida
24cbd0a4d1
Go through all tokens to look for a volatile one. (fdo#31939)
...
When a volatile token is inside a conditional function (such as IF),
*and* the evaluation of that conditional skips the volatile token
it would incorrectly mark the cell non-volatile. The solution is
to scan through all tokens in the token array in the beginning of
the calculation and mark the cell volatile if one is found.
2011-03-02 20:44:56 -05:00
Kohei Yoshida
d022492ef9
Actually this will just do....
2011-03-02 19:16:14 -05:00
Kohei Yoshida
3e6eb38766
Fixed the "jump to precedents" and "jump to dependents" functions.
2011-03-02 19:10:17 -05:00
Kohei Yoshida
9a6e2a0af3
No auto decimal adjustment when in "show formula" mode. (fdo#33665)
2011-03-02 18:09:36 -05:00
iha
341b1c22be
chart55: #i112752# warning error
2011-03-02 22:04:54 +01:00
Guillaume Poussel
e9110d56c1
Remove bogus comments.
2011-03-02 21:32:23 +01:00
Guillaume Poussel
68d51d0040
Remove bogus comments.
2011-03-02 21:32:22 +01:00
Kohei Yoshida
56addc9890
Remove comment that's no longer true.
2011-03-02 14:43:56 -05:00
Kohei Yoshida
71872ffe74
We need to populate the cache with all sheet names even for in-memory doc.
...
This fixes fdo#34356 and fdo#34853.
2011-03-02 14:41:52 -05:00
Thomas Arnhold
9340d8fbe2
Remove diff stuff
2011-03-02 16:39:01 +01:00
Thomas Arnhold
a6e69f8fcd
Move DBG_ERROR to OSL_FAIL
2011-03-02 14:58:56 +01:00
Caolán McNamara
775a632985
confirmed works under windows
2011-03-02 10:55:05 +00:00
Thomas Benisch [tbe]
57bc751b0a
chart55: #i112752# missing data change updates from calc to chart
2011-03-02 10:55:17 +01:00
Kohei Yoshida
b8c551652b
Replaced String with rtl::OUString.
2011-03-01 22:50:13 -05:00
Kohei Yoshida
0a36f0bad4
Hooray! No more ScfRefMap.
2011-03-01 20:59:46 -05:00
Kohei Yoshida
ceeabc7170
Another one on ScfRefMap to std::map conversion.
...
Is this the last one?
2011-03-01 20:52:26 -05:00
Kohei Yoshida
9ca9075d32
More on ScfRefMap to std::map conversion.
2011-03-01 20:49:29 -05:00
Kohei Yoshida
8323e33102
These ones are best converted to std::map.
2011-03-01 20:44:18 -05:00
Kohei Yoshida
422c348776
Another one on ScfRefMap to boost::ptr_map conversion.
2011-03-01 20:33:46 -05:00
Kohei Yoshida
f369679dcc
More on ScfRefMap to boost::ptr_map.
2011-03-01 20:13:40 -05:00
Kohei Yoshida
070a499b5c
Replaced another use of ScfRefMap with ptr_map.
2011-03-01 19:53:55 -05:00
Kohei Yoshida
dac3d1311b
Replace use of ScfRefMap with boost::ptr_map.
2011-03-01 18:35:29 -05:00
Kohei Yoshida
8868c24107
Moved the widgets a bit and shrank the dialog to make it look nicer.
2011-03-01 16:16:00 -05:00
Kohei Yoshida
2508c4d67b
Re-arranged widgets definitions a bit.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
86c1bd3103
Put all the other pieces into place.
...
Now you can specify a named range as the data source for a new
data pilot table.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
65b0689ed0
Initial change to display named range option in the source dialog.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
6529718c22
Used boost::scoped_ptr to manage instances.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
cf7f61b114
Extracted datapilot handling code into its own method.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
f6fa663b13
Cleanups and comments.
2011-03-01 16:15:59 -05:00
Caolán McNamara
5dce0079bb
Revert part of cab7e33c which added ';' into the expression
2011-03-01 20:46:25 +00:00
Takeshi Abe
117066d1e9
Removed dead code
2011-03-02 03:14:31 +09:00
Kohei Yoshida
acbf368a3e
We call them field windows. Let's be consistent...
2011-03-01 11:41:36 -05:00
Kohei Yoshida
6cd44dd9c2
Refresh the field view when the source range changes.
...
Not doing so would cause phantom buttons in the field windows that
you can see but you can't touch....
2011-03-01 11:35:57 -05:00
Guillaume Poussel
9d1e66bd77
Remove bogus comments.
2011-03-01 14:29:24 +01:00
Guillaume Poussel
bd394abd2e
Remove bogus comments.
2011-03-01 13:01:24 +01:00
Kohei Yoshida
effc42d64e
Check for existance of cache before creating a new one.
...
Sometimes a cache is passed onto the cache table at construction
time, in which case the cache is already there by the time
CreateCacheTable() is called. We need to check that.
2011-03-01 00:44:42 -05:00
Kohei Yoshida
dddc5972da
Renamed ScDPTableDataCache to simply ScDPCache.
...
There were so many classes with 'DPTable' in them it was confusing.
2011-03-01 00:24:37 -05:00
Kohei Yoshida
f84427bfdd
Finally get the refresh to work properly.
2011-03-01 00:02:01 -05:00
Kohei Yoshida
716556f19c
Let's rename InvalidateSource() to ClearSource().
...
Because that's what the method does; it clears all the source data.
2011-02-28 22:48:11 -05:00
Kohei Yoshida
278610aab9
More cleanups.
...
ScDPObject::bRefresh flag is no longer used.
2011-02-28 22:02:53 -05:00
Kohei Yoshida
ed110de945
Remove old container that stored data caches.
...
We may revive this later when we decide to pool the data cache
once again.
2011-02-28 21:49:38 -05:00
Kohei Yoshida
a259eba2f7
More removal of cache ID related stuff.
2011-02-28 21:36:18 -05:00
Kohei Yoshida
e7db4c4fdc
Data cache is now stored in the cashe table object for now.
...
With this commit, data caches are no longer stored outside the cache
table and managed by their ID's. Each cache table stores and manages
its own data "cache", but then calling it a cache is a mis-nomer.
2011-02-28 21:27:41 -05:00
Kohei Yoshida
3b7bd5c1dd
Remove cache ID storage from ScDPSaveData.
2011-02-28 20:34:30 -05:00
Kohei Yoshida
c51037f84d
A little code cleanup.
2011-02-28 20:04:40 -05:00
Kohei Yoshida
e605f77032
Some whitespace cleanups.
...
Also, n is usually reserved to store container size; let's not use
it as loop counter.
2011-02-28 19:55:32 -05:00
Kohei Yoshida
e4445f4c73
Make sure everybody calls ScDPCacheTable::getOrder() publicly.
2011-02-28 19:34:44 -05:00
Kohei Yoshida
d444d877a1
Make sure nobody modifies the table cache outside of ScDPCacheTable.
...
Use const to ensure that nobody modifies the content of the table
cache outside of ScDPCacheTable.
2011-02-28 18:14:22 -05:00
Christian Lohmaier
633d352fb9
WaE: picky about comparison between signed and unsigned
2011-02-26 18:04:23 +01:00
Thomas Arnhold
660d565153
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
2011-02-26 10:47:20 +01:00
Takeshi Abe
73fc450c5e
Removed dead code
2011-02-25 22:04:36 +09:00
Takeshi Abe
be9469d388
Mark fall-through
2011-02-25 22:00:35 +09:00
Thomas Benisch [tbe]
fd37636ef1
chart51: #i116037# backout
2011-02-25 11:01:18 +01:00
Caolán McNamara
da9187707e
remove unused export.map
2011-02-24 20:47:07 +00:00
Michael Lefevre
4f290f3858
Remove commented variable
...
Still code cleaning.
2011-02-24 20:02:58 +01:00
Ingrid Halama [iha]
33e01cba51
chart51: merge with DEV300_m101
2011-02-24 17:39:29 +01:00
Thomas Benisch [tbe]
1b90402214
chart51: #i116037# backout
2011-02-24 16:47:38 +01:00
Thomas Benisch [tbe]
8e72893ce9
chart51: #i116037# backout
2011-02-24 16:29:02 +01:00
Julien Nabet
58737fb3f2
Remove "using namespace ::rtl"
2011-02-24 15:22:42 +01:00
Kohei Yoshida
e4ba8c9aed
Using * for pointer type is better than typedef to FooPtr.
...
It saves key stroke, 1 for '*' as oppposed to 3 for 'Ptr', and it
saves one line by not having to typedef for a (for pete's sake)
pointer type.
2011-02-23 21:58:23 -05:00
Michaël Lefèvre
dfa58beb6a
Remove bogus comment
...
Simplifie bug id comment, removing bogus comment by the way
2011-02-23 01:11:49 -05:00
Thomas Arnhold
a97a5b0015
Remove Tools -> Media Player from Calc
2011-02-22 21:34:14 +01:00
Ivo Hinkelmann
ce6308e4fa
masterfix DEV300: #i10000# usage of L10N build_type
2011-02-22 19:07:34 +01:00
Takeshi Abe
ef3ea4637c
Enabled backspace with any modifier in case of SC_INPUT_TYPE
...
fdo#32574 EasyHack: Shift-Backspace doesn't work correctly
2011-02-22 11:46:41 -05:00
Jean-Baptiste Faure
20c8ec29f0
Changed label size and position for BTN_GENERAL_PREC, FT_PREC and ED_PREC
...
FT_PREC overwrote BTN_GENERAL_PREC so that French translation was truncated
2011-02-22 14:56:17 +01:00
Caolán McNamara
85bf14dc3d
make this one an exception file too
2011-02-22 09:51:58 +00:00
Tor Lillqvist
0e2be9d8ee
Include precompiled_sc.hxx
2011-02-22 02:02:37 +02:00
Tor Lillqvist
4976742d71
Include precompiled_sc.hxx
2011-02-22 00:27:54 +02:00
Caolán McNamara
bce2c326f5
leave disabled under windows for the moment
2011-02-21 21:07:24 +00:00
Caolán McNamara
04bd876d51
add document load tests for CVEs that have affected calc
2011-02-21 21:07:24 +00:00
Kohei Yoshida
9ff0123490
Added method documentation.
2011-02-21 15:33:43 -05:00
Kohei Yoshida
5a7156eec1
Use const where possible.
2011-02-21 15:29:37 -05:00
Kohei Yoshida
1eab8088be
Extracted a common code block into own method.
2011-02-21 15:18:54 -05:00
npcdoom
c670a6d57a
[PATCH 10/10] Remove deprecated List container.
2011-02-21 11:02:01 -08:00
npcdoom
0550c05dba
[PATCH 09/10] Remove deprecated List container.
2011-02-21 11:00:30 -08:00
npcdoom
8cd20ddc7c
[PATCH 08/10] Removed deprecated List container.
2011-02-21 10:59:41 -08:00
npcdoom
5b2b2071d3
[PATCH 07/10] Removed deprecated container List.
2011-02-21 10:58:43 -08:00
npcdoom
02eb479579
[PATCH 06/10] Remove deprecated List container.
2011-02-21 10:58:05 -08:00
npcdoom
c86a8ee558
[PATCH 05/10] Removed deprecated List container.
2011-02-21 10:57:25 -08:00
npcdoom
0f8cdfc15c
[PATCH 04/10] Removed deprecated List container.
2011-02-21 10:56:28 -08:00
npcdoom
c87147cb0b
[PATCH 03/10] Remove deprecated List container.
2011-02-21 10:55:30 -08:00
npcdoom
41e04fc554
[PATCH 02/10] Remove deprecated List container.
2011-02-21 10:54:12 -08:00
npcdoom
777417b81b
PATCH 01/10] Remove <tools/list.hxx>
2011-02-21 10:51:24 -08:00
Takeshi Abe
5b7fcb124d
Fixed a crasher when retrieving an external value from in-memory doc.
2011-02-21 10:33:25 -05:00
Ivo Hinkelmann
1e05181949
masterfix DEV300: #i10000# FALSE -> sal_False
2011-02-21 13:47:33 +01:00
Takeshi Abe
f95cacd805
Removed bogus comment
2011-02-20 08:34:21 +09:00
Takeshi Abe
8e19e649b5
Removed dead code
2011-02-20 08:33:03 +09:00
Joseph Powers
6f61648b00
Remove some #include <tools/list.hxx>
2011-02-18 19:02:08 -08:00
Kohei Yoshida
11211d8197
Removed mis-leading comment.
...
Life cycle of ScDPTableData is now managed by ScDPObject, not by
ScDPSource.
2011-02-18 17:50:46 -05:00
Rafael Dominguez
d7223f6e79
- Remove deprecated <tools/list.hxx> include.
2011-02-18 15:59:27 -05:00
Kohei Yoshida
e2f6921f34
Removed extra ; at the end of a line.
2011-02-18 14:53:57 -05:00
Kohei Yoshida
74d3d1a99a
Fixed a memory leak in the datapilot code.
...
Calc was leaking memory every time the source range of a data pilot
table changes. *sigh*
2011-02-18 14:39:18 -05:00
Kohei Yoshida
d3151e2819
Properly update column and row header selections. (fdo#34383)
...
When making range selection by mouse, Calc wouldn't highlight the
new range in the column and row headers. It was because we weren't
calling ScTabView::SelectionChanged() when the selection range
is updated. This SelectionChanged() call then puts in queue a
re-paint request for column and row headers.
2011-02-17 15:30:42 -05:00
Christina Rossmanith
16a96c566a
Finished to translate comments from German->English (viewfun2.cxx)
2011-02-17 13:45:07 +01:00
Kevin Hunter
427c9ebd41
cppcheck: remove redundant check.
...
If pInfo were NULL, would have crashed at the enclosing if-block that
deferences pInfo->nRotateDir.
2011-02-17 10:27:45 +01:00
Christina Rossmanith
4c7a5bee34
Started to translate comments from German->English
2011-02-17 09:17:15 +01:00
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
Ingrid Halama [iha]
87635e20d1
chart51: #i116544# integrate fix for copy/paste bug #i116943#
2011-02-16 19:12:40 +01:00
Noel Power
9e687fd74c
add copyright header
2011-02-16 18:06:51 +00:00
Ingrid Halama [iha]
92c21df558
chart51: merge with DEV300_m100 - part 2
2011-02-16 16:39:11 +01:00
Ivo Hinkelmann
208b435604
CWS-TOOLING: integrate CWS accfixes
2011-02-16 15:09:19 +01:00
Ivo Hinkelmann
c809e97034
CWS-TOOLING: integrate CWS csvexport
2011-02-16 14:51:50 +01:00
Ivo Hinkelmann
0c32eaf7ce
CWS-TOOLING: integrate CWS ab80
2011-02-16 13:08:06 +01:00
Malte Timmermann [mt]
fbeb9eb391
fixed compile errors after resync to m100, part2
2011-02-16 12:33:30 +01: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
Andreas Bregas
cbc95eb3f6
ab80: resync to m100
2011-02-15 17:51:52 +01:00
Ivo Hinkelmann
de78919658
CWS-TOOLING: integrate CWS dr79
2011-02-15 17:46:48 +01:00
Malte Timmermann [mt]
4ae1df2658
accfixes: merged to m100
2011-02-15 17:14:59 +01: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
Ingrid Halama [iha]
d3f3babe5f
chart51: merge with DEV300_m100
2011-02-15 14:04:40 +01:00
Ingrid Halama [iha]
e54b887ab0
chart52: merge with DEV300_m100
2011-02-15 13:28:01 +01:00
Daniel Rentz [dr]
631b024e6b
dr79: rebase to DEV300_m100
2011-02-15 10:57:32 +01:00
Niklas Nebel
c97e8ed65c
csvexport: merge with DEV300_m100
2011-02-15 10:55:41 +01:00
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
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
Andreas Bregas
282392f643
ab80: Adding changes of cws mib21, ab77, ab77run2, dr77i to dev300
...
ab77: #163789# Handle class module factories document specific
ab77: #163732# Defer removal of documents until XCloseListener::notifyClosing
ab77: #163808# make VBA symbols Application.ScreenUpdating and Application.Interactive work globally on all documents
ab77: wae
ab77: #163840# read UTF-8 BOM
ab77: #163732# VBA UserForm_Terminate triggered too late while closing document
ab77: minor correction
ab77: assertion: do not call ::rtl::OUString::copy() with negative index
ab77run2: #163869# do not call Class_Terminate VBA macros when document disposes
dr77i: #163941# do not update drawing layer when pasting from clipboard after cut
mib21: #163944# ignore trailing whitespace in Basic source lines
mib21: #163948# allow to manually pack MSVC DLLs into extensions
mib21: #163948# multiprocess build fix
Authors:
Andreas Bregas <ab@openoffice.org>
Daniel Rentz [dr] <daniel.rentz@oracle.com>
Eike Rathke [er] <eike.rathke@oracle.com>
2011-02-11 15:06:12 +01: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
Jens-Heiner Rechtien [hr]
d0ce561b85
CWS-TOOLING: integrate CWS hr75
2011-02-10 14:54:48 +01: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
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
Mathias Bauer
5797fb363d
CWS gnumake3: pull in cws removetooltypes01
2011-02-08 11:49:29 +01:00
Fridrich Štrba
75faa24553
rewrite the one use of std::iota
2011-02-08 07:43:11 +01:00
Jens-Heiner Rechtien [hr]
1ab9b734d5
hr75: #i116747#: remove pre-OSX Mac resoure fork definition files (*.r)
2011-02-07 19:04:28 +01:00
Mikhail Voytenko
981b1b3d5a
removetooltypes01: #i112600# adjust rebase in chart2, starmath, sc, sd
2011-02-07 18:01:48 +01:00