Kohei Yoshida
8e2170523c
I don't need to include this header.
2011-10-25 15:16:43 -04:00
Kohei Yoshida
abb13e9c63
fdo#41369: Use the 'Default' style as the parent style.
...
Some buggy XLS documents such as those generated by 1C (app used in
Russia) don't include built-in style definitions, and the cell formats
in those docs are not associated with any style at all. Let's
associate them with the 'Default' style in such cases.
2011-10-25 15:13:52 -04:00
Noel Power
87d8dc5a02
more support for basic/vba unit tests
...
add moggis work and some tweaks from me too
2011-10-25 19:26:55 +01:00
Kohei Yoshida
2091557777
To destroy a cell instance, we need to call ScBaseCell::Delete().
...
We can't call delete on them directly, as their destructors are
intentionally not public. Instead, we need to call Delete().
2011-10-25 13:47:46 -04:00
Olivier Hallot
a5d6dca3e9
Fix for fdo41997 continuation of VCL cleanup
2011-10-25 13:42:00 +01:00
Markus Mohrhard
fb95e1d945
execute macros_test in headless mode too
...
otherwise a error dialog might pop up
2011-10-24 23:21:24 +02:00
Markus Mohrhard
c631b30c6b
clean up macros-test
2011-10-24 23:19:05 +02:00
Kohei Yoshida
e817dcce77
New unit test case for unwanted date detection on pivot table labels.
2011-10-24 16:22:45 -04:00
Michael Stahl
1a76bb7161
macros-test.cxx: fix syntax error
2011-10-24 21:24:44 +02:00
Kohei Yoshida
18bff2c2e9
fdo#42169: Display caption strings without format detection.
...
We don't need to auto-detect the formats of caption values; they are
already formatted by the time they arrive in to ScDPOutput.
2011-10-24 14:42:20 -04:00
Michael Stahl
aa146f46d2
macros-test.cxx: unused variable pDoc
2011-10-24 17:48:06 +02:00
Noel Power
82fb60bc56
make vba.xls return 'OK' on success, adjust macros-test.cxx to test for 'OK'
2011-10-24 15:07:53 +01:00
Noel Power
daca9c81e4
more substantial vba test ( testing various range addression )
2011-10-24 15:07:52 +01:00
Andras Timar
f4f4d9d29e
remove unused UI strings
2011-10-23 11:08:35 +02:00
Markus Mohrhard
63354873b7
execute filters-test in headless mode
2011-10-22 05:01:00 +02:00
Olivier Hallot
b0224f8050
Fix for bug fdo#41997, cleanup vcl enumeration
2011-10-21 20:48:03 +01:00
Kohei Yoshida
ea44e5464a
Updated csv parser from the orcus repository.
...
This change should allow handling double-quation inside quoted cells
correctly.
2011-10-21 15:13:59 -04:00
Markus Mohrhard
160da638dc
enable sc_macros_test
2011-10-21 15:22:12 +02:00
Markus Mohrhard
d9604fa1b4
add more debug output to see why windows has problems with sc's filters-test
2011-10-20 21:26:16 +02:00
Markus Mohrhard
cda653d7d9
extract helper methods for debuging calc tests
2011-10-20 21:26:15 +02:00
Markus Mohrhard
16cf673187
improve unit test for UpdateReference
...
check InsertTabs/InsertTab/DeleteTabs too
2011-10-20 19:19:07 +02:00
Markus Mohrhard
59b1f948f1
increment table position correctly if more than one table is inserted
2011-10-20 19:19:07 +02:00
Caolán McNamara
8eb50d3b4b
WaE: unused e
2011-10-20 09:34:31 +01:00
Ivan Timofeev
f9f4c631b1
migrate to StringRangeEnumerator in Calc
2011-10-19 23:13:04 +04:00
Markus Mohrhard
9132e6ffa7
separate normal calc filter tests and macro tests
...
this should make it easier to deal with the increased complexity in the
unit tests for vba and star basic
we should not mess with the normal calc tests while working on advanced
vba and basic tests
2011-10-19 15:23:18 +02:00
Markus Mohrhard
9706288e95
add output for language settings to log file
...
some windows builds crash in this test, maybe they get a false language
setting from somewhere
2011-10-19 02:10:36 +02:00
Markus Mohrhard
c35fb339f5
add unit test for fdo#41868
...
test should be extended as soon as possible
tests a central point of our formula compiler/reference handling
2011-10-19 01:25:49 +02:00
Markus Mohrhard
308b7a287d
by one error in ScFormulaCell::UpdateDeleteTab (fdo#41868)
2011-10-19 00:34:46 +02:00
Tor Lillqvist
1836e37f83
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
2011-10-18 18:27:19 +03:00
Tor Lillqvist
354f88b376
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
2011-10-18 18:27:17 +03:00
Tor Lillqvist
c4648a4c0f
WaE: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in operation
2011-10-18 18:27:15 +03:00
Tor Lillqvist
52974709b0
WaE: type name first seen using 'class' now seen using 'struct'
2011-10-18 18:27:12 +03:00
Tor Lillqvist
7bbcea33a2
WaE: type name first seen using 'class' now seen using 'struct'
2011-10-18 18:27:10 +03:00
Tor Lillqvist
a0bbe01a00
WaE: type name first seen using 'class' now seen using 'struct'
2011-10-18 18:27:08 +03:00
Tor Lillqvist
ccc7d23bed
WaE: unreachable code
2011-10-18 18:27:06 +03:00
Tor Lillqvist
7fe62b7e04
WaE: unreachable code
2011-10-18 18:27:03 +03:00
Tor Lillqvist
6e71779cec
WaE: C++ exception handler used, but unwind semantics are not enabled
...
Must use gb_Library_add_noexception_objects instead of
gb_Library_add_cxxobjects so that -DEXCEPTIONS_OFF is passed to the
compilation. (In this case, it affects code in
com/sun/star/uno/genfunc.hxx.)
2011-10-18 18:27:01 +03:00
Tor Lillqvist
c1b00df77e
WaE: unreachable code
2011-10-18 18:26:59 +03:00
Tor Lillqvist
93ea3566d2
WaE: illegal copy-initialization
...
warning C4928: illegal copy-initialization; more than one user-defined
conversion has been implicitly applied. So use a variable of the
correct type, should not affect the intent of the code.
2011-10-18 18:26:57 +03:00
Tor Lillqvist
88fcd2c05a
WaE: unreferenced local variable
2011-10-18 18:26:52 +03:00
Tor Lillqvist
de4d4273f8
WaE: unreachable code
2011-10-18 18:26:50 +03:00
Tor Lillqvist
adcf15c865
WaE: 'ScVbaFormatConditions' : default constructor could not be generated
...
The ScVbaFormatConditions class is used only as a target for casting,
it seems, and no objects of this type are created as such, I think.
So avoid MSVC warnings:
warning C4510: 'ScVbaFormatConditions' : default constructor could not
be generated
warning C4610: class 'ScVbaFormatConditions' can never be instantiated
- user defined constructor required
2011-10-18 18:26:48 +03:00
Tor Lillqvist
bbe2a86746
WaE: reinterpret_cast used between related classes, so use static_cast
2011-10-18 18:26:45 +03:00
Caolán McNamara
87c2fd70ae
Fix E_ACCESS failure under windows on attempt to remove temp qa data file
...
The reference counting of ScDocShell is very confused. It starts off with ref
count of 1, assigning it to a ScDocShellRef gives it a refcount of 2, so
clearing it or its dtor gives a refcount of 1 again, so it doesn't auto-delete,
and so doesn't close its stream, so the attempt to remove its stream gives
E_ACCESS under windows.
2011-10-18 13:58:56 +01:00
Caolán McNamara
5f3a31f6f5
survive some fuzz
2011-10-18 10:33:59 +01:00
Markus Mohrhard
4e38096b88
copy/paste error, it should test the xls file too
2011-10-17 22:14:03 +02:00
Stefan Weigel
92bbd8dcff
add initial test for matrix functions
2011-10-17 22:08:48 +02:00
Tor Lillqvist
045e8340a0
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
2011-10-17 20:32:10 +03:00
Tor Lillqvist
0193dc6d69
WaE: potentially uninitialized local variable used
2011-10-17 20:32:07 +03:00
Tor Lillqvist
bcfeaa2e7b
WaE: unreachable code
2011-10-17 20:32:05 +03:00