Commit graph

22758 commits

Author SHA1 Message Date
Markus Mohrhard
3877519bb4 fix for fdo#37548: InsertNames->InsertAll doesn't insert anything 2011-05-24 21:53:54 -04:00
Kohei Yoshida
3939664580 fdo#37520: Don't cache the array size but query it dynamically.
The size of the array may change during the loop, so we need to always
query it dynamically via size() instead of caching it at the beginning
of the loop.

Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2011-05-24 21:48:56 -04:00
Markus Mohrhard
a015d23d8f remove problem inserted by a DECLARE_LIST removal
the DECLARE_LIST container decremented the internal index pointin to the current element when REMOVE was called, when we now iterate over the new container and remove an element we must do this ourself
2011-05-24 21:39:45 -04:00
Joseph Powers
bded50069f Remove some extra #incude <tools/pstm.hxx> 2011-05-23 20:30:20 -07:00
Joseph Powers
82d9a10229 Fix an old remove DECLARE_LIST bug. Could be related to fdo#37429
Thanks for finding this go to npcdoom.
2011-05-23 07:19:28 -07:00
David Tardon
7268a5f961 fix mis-merge 2011-05-23 14:38:06 +02:00
Markus Mohrhard
218e880b36 fix for fdo#37429 crash when copy/paste table from writer to calc 2011-05-23 13:50:15 +02:00
Rafael Dominguez
e5da5f4486 Replace List for std::vector<String>. 2011-05-22 22:52:43 -07:00
Rafael Dominguez
988d4d45a8 Replace List for std::vector<String>. 2011-05-22 22:52:43 -07:00
Rafael Dominguez
40e2f7f90a Replace List for std::vector<String>. 2011-05-22 22:52:43 -07:00
David Tardon
f82f7ba5ae compensate for already shifted segments 2011-05-23 07:38:02 +02:00
David Tardon
03f1f3c221 improve perf. of removing contents of large number of cells 2011-05-22 13:01:36 +02:00
Caolán McNamara
f3f2231f8a adjust for return by ref instead of pointer 2011-05-20 15:21:51 +01:00
Caolán McNamara
b1e22fb2b1 adjust for return by ref instead of pointer 2011-05-20 15:21:51 +01:00
Caolán McNamara
c917d67a89 valgrind: fix leak when range isn't transferred to rangelist 2011-05-20 15:21:51 +01:00
Caolán McNamara
b6bf0aa23a valgrind: break circular dependency leaks 2011-05-20 15:21:50 +01:00
Caolán McNamara
9b49e8ee8d adjust to ensure rename 2011-05-20 15:21:50 +01:00
Caolán McNamara
32381ea5e1 adjust for modified singleton 2011-05-20 15:21:50 +01:00
Caolán McNamara
0a9a91a6c1 adjust for modified singleton 2011-05-20 15:21:50 +01:00
Markus Mohrhard
f8e75c077d update sheet local db data when sheets are inserted/deleted 2011-05-20 13:05:33 +02:00
Kohei Yoshida
d8252635d4 Make sure to only export up to 1026 manual page breaks to XLS.
If you export even one excess page break than 1026, Excel refuses
to load the whole document.
2011-05-19 01:21:58 -04:00
Joseph Powers
cf7037093b Remove all the #include <tools/ownlist.hxx>
I'm deleting the header since it's no longer used.
2011-05-18 20:04:12 -07:00
Tor Lillqvist
11cb6b8844 Add the wntgcc directories 2011-05-19 00:40:57 +03:00
Tor Lillqvist
84f9553508 Add the unxios and unxand directories 2011-05-19 00:40:57 +03:00
Takeshi Abe
966470ee35 fdo#34072
replace content in unprotected cells, even if the sheet is protected
2011-05-18 14:51:25 -04:00
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