Christian Dywan
99e036df65
Unify Display Grid/ Grid Visible and other menu items
2011-05-18 16:05:23 +02:00
Rafael Dominguez
278ac6c87d
Fix index out of bounds in ScTableConditionalFormat.
2011-05-17 23:59:11 -04:00
Christian Lohmaier
dca0391318
WaE - add explicit casting (decimal-types → integer types)
2011-05-16 22:09:46 +02:00
Tor Lillqvist
080f1432c7
The (nested) class ScDBCollection::NamedDBs must be DLLPUBLIC, too
...
Referenced from Sc10Import::LoadDataBaseCollection() in the scfilt
library.
2011-05-16 12:08:23 +03:00
Kohei Yoshida
f30162187a
Renamed dbcolect.?xx to dbdata.?xx.
...
That deliberately mis-spelled header name always bothered me. Now
fixed once and for all.
For the record, the original file name was inspired by the 8-character
rule that some of the old compilers that the Hamburg guys had to use,
years and years ago.
2011-05-13 23:11:42 -04:00
Kohei Yoshida
a19af69c93
Fixed incorrect exporting of global named database ranges.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
e89ef0e0a6
Fixed segfault.
...
Use the raw pointer after the auto_ptr has been inserted; as it
becomes invalid once the ownership moves to the container.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
e5957d60fc
Refactored global anonymous db storage.
...
This is more in line with the way the global named db ranges are
stored.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
61811c1c5c
Shift method declarations to the left.
...
Horizontal space is precious. Let's not waste it.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
f55cc330de
Fixed the fallout of the changes in ScDBCollection.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
fb7bd1f00b
Let's make the separation of named DBs clear.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
2398926333
Refactored ScDBCollection to not derive from ScSortedCollection.
...
It's much cleaner this way.
2011-05-13 22:54:10 -04:00
Kohei Yoshida
faf041da80
We are supposed to do the 2nd parse using the UI address convention.
2011-05-13 02:20:12 -04:00
Kohei Yoshida
3d3415627a
return type as the 2nd template argument.
2011-05-11 18:10:52 -04:00
Markus Mohrhard
5038cdc71d
some cleanup in vba
2011-05-11 14:36:55 +02:00
Muthu Subramanian
d3af3f5f7e
MCE Export: Initial Implementation/Test for commentPr.
2011-05-11 18:05:09 +05:30
Kohei Yoshida
a906c18d47
Use ScSortParam as data member in ScDBData.
2011-05-10 16:28:53 -04:00
Kohei Yoshida
8f8df657b9
More cleanups of ScDBData.
...
String to rtl::OUString, tabs to whitespaces etc.
2011-05-10 15:51:53 -04:00
Kohei Yoshida
e667d428ad
Have ScDBData use ScQueryParam as data member.
2011-05-10 15:10:28 -04:00
Kohei Yoshida
cd0efbba98
Have ScDBData use ScImportParam & more String -> rtl::OUString.
2011-05-10 12:20:39 -04:00
Kohei Yoshida
d79960037e
Cleaned up ScImportParam.
2011-05-10 11:57:13 -04:00
Kohei Yoshida
eac91db8a2
Merge branch 'libreoffice-3-4'
...
Conflicts:
sc/CppunitTest_sc_ucalc.mk
sc/Module_sc.mk
sc/qa/unit/ucalc.cxx
sc/source/core/tool/dbcolect.cxx
sc/source/filter/excel/excimp8.cxx
sc/source/filter/inc/excimp8.hxx
sc/source/ui/docshell/impex.cxx
sc/source/ui/unoobj/datauno.cxx
2011-05-09 23:47:24 -04:00
Kohei Yoshida
1250574d40
fdo#36933: Fixed array comparison with external references.
2011-05-09 22:54:59 -04:00
Markus Mohrhard
9b9f11dfe2
remove unused member variable
2011-05-10 03:21:46 +02:00
Markus Mohrhard
c831d4236f
use sheet local db data in ScVbaRange::Autofilter
...
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2011-05-09 14:47:50 -04:00
Markus Mohrhard
ee5f0edcaf
check for less equal, not greater equal
...
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2011-05-09 14:36:15 -04:00
Markus Mohrhard
55f05879ee
add implementation for new uno interface XUnnamedDatabaseRange
...
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2011-05-09 14:36:01 -04:00
Thorsten Behrens
18936fbb31
Force calc unit test to use en-US locale and strings
2011-05-09 16:15:33 +02:00
Markus Mohrhard
75c3b913d8
use sheet local db data in ScVbaRange::Autofilter
2011-05-08 19:45:47 +02:00
Rafael Dominguez
ae79bad31b
Remove deprecated List in XclImpAutoFilterBuffer.
2011-05-08 06:32:37 -07:00
Julien Nabet
0f5850b234
Fix simple cppcheck warning
2011-05-08 09:02:30 +02:00
Julien Nabet
0b30f931dd
Remove 2 private empty methods and their respective call
2011-05-07 11:32:46 +02:00
Kohei Yoshida
11208eaa2f
fdo#36789: Set all dynamic controls invisible upon instantiation.
...
Some of the dialog code depends on the controls being hidden unless
explicitly set visible. Unfortunately that's not really guaranteed
so we need to make that logic explicit.
2011-05-06 22:34:11 -04:00
Kohei Yoshida
69a290dd64
Explicitly specify less function object for map, to get it to build with MSVC.
2011-05-06 15:35:19 -04:00
Fridrich Štrba
0bf0a6b55b
Disable temporarily 2 unit tests that break with non en-us locales
2011-05-06 11:19:21 +02:00
Kohei Yoshida
a174973051
Remove range names with external references regardless of cells.
...
Sometimes range names may contain external references but no sheet
cells reference that range names. Even then, breaking the link
should remove those range names.
2011-05-06 01:50:02 -04:00
Kohei Yoshida
0ae3f088e4
Wrong approach. You can't use remove_if with set.
...
std::remove_if is only for sequence containers, not for associative
containers. Sure enough, using that caused crash on closing the
document. This fixes it.
2011-05-06 01:12:37 -04:00
Kohei Yoshida
d27a999083
fdo#34930: Remove range names with external references when breaking link.
...
When breaking a link in Edit -> Links, cells containing references to
that link get staticized i.e. their formulas replaced with static
values. This also applies to cells containing range names that point
to external document. We should remove such range names when the link
gets broken, or else reloading the document would re-introduce the link
on file load again, and the link would never go away (without manually
removing those range names).
2011-05-06 00:07:35 -04:00
Kohei Yoshida
fb4f96da8c
Properly cache external reference values in named ranges.
...
Values of the external references used only in named ranges were
not cached properly. This commit fixes it.
2011-05-05 22:46:39 -04:00
Julien Nabet
69211a3aa5
Some cppcheck cleaning
2011-05-05 23:33:14 +02:00
Kohei Yoshida
052b1d7387
Get external references to work with MAX and MIN.
2011-05-05 17:24:31 -04:00
Kohei Yoshida
a506b31f99
Let's not use const_iterator here, as MSVC complains about it.
2011-05-05 10:58:02 -04:00
Markus Mohrhard
7664f5012b
check for less equal, not greater equal
2011-05-05 14:25:42 +02:00
Kohei Yoshida
f8670c4237
fdo#36406: Let's not use invalidated iterators.
...
std::set::erase(iterator) call invalidates the iterator of the erased
element. We better not use it after the erase() call. Since the number
of manual breaks should not be high enough to cause a performance
bottleneck under normal usage, a safer linear copy should just be fine.
Now, I'm not sure if this indeed is the cause of the erroneous amount
of manual breaks in the test document, but I didn't see any other likely
spot.
2011-05-05 00:37:38 -04:00
Kohei Yoshida
dafbd8ef18
Added unit test for PRODUCT cell function with inline array.
...
3.3.2 didn't calculate this correctly.
2011-05-04 22:05:51 -04:00
Kohei Yoshida
75a87836d7
fdo#36848: Typing a named range in the position window should jump.
2011-05-04 19:37:28 -04:00
Kohei Yoshida
a5ea69b9de
Properly close the document shell when erased from the manager.
...
Because the document shell object was erased without properly having
its shell closed, it failed to update the values when the link was
updated, especially when the source document was open. Closing it
properly when its object is erased should fix it.
2011-05-04 18:47:36 -04:00
Kohei Yoshida
8097d32e00
fdo#33137: Fixed external references with COUNTIF.
2011-05-04 16:27:16 -04:00
Kohei Yoshida
6a47e3b642
fdo#36849: Assume that the range list member may be NULL.
2011-05-04 15:29:53 -04:00
Markus Mohrhard
ca0b2da3ba
add implementation for new uno interface XUnnamedDatabaseRange
2011-05-04 21:23:06 +02:00