Commit graph

303037 commits

Author SHA1 Message Date
Stephan Bergmann
32a5ad89a5 fdo#37593 Make sure needsUpdate compares canonicalized paths
...so that it does not erroneously always claim an update is needed, so that
SvtDocumentTemplateDialog::UpdateHdl_Impl does not always jump back to
OpenTemplateRoot() shortly after opening the dialog (and thus jumps away from
the last remembered folder).
2012-03-16 15:01:26 +01:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Markus Mohrhard
1a6b52a1bf add indentation to sw's layout dumper 2012-03-16 14:39:48 +01:00
Kohei Yoshida
3570590195 Prevent out-of-bound array access.
Source range may not start from column 0.
2012-03-16 09:36:37 -04:00
Kohei Yoshida
b41cf4c615 We shouldn't skip empty columns, or else column index becomes out of sync. 2012-03-16 09:36:37 -04:00
Kohei Yoshida
9776cc1503 Check all this in one place i.e. in ValidQuery(). 2012-03-16 09:36:36 -04:00
Kohei Yoshida
efdb67ca92 We don't ever compare equality of two caches.
That'd be super-expensive anyway.
2012-03-16 09:36:36 -04:00
Noel Power
8ada1cd284 move excel related oox bits to sc 2012-03-16 12:31:01 +00:00
Luboš Luňák
8f29699cd1 asm fixes in openssl 2012-03-16 13:07:51 +01:00
Luboš Luňák
cb3f52275b asm fixes in nss 2012-03-16 13:07:34 +01:00
tinderbox
f62da81eb2 nss and openssl don't realiably build in parallel 2012-03-16 13:07:28 +01:00
Markus Mohrhard
bd8be4eae8 don't paste content if user cancels html import, fdo#47393 2012-03-16 10:48:09 +01:00
Luboš Luňák
3297ce2aa1 0x80000001 can't fit into (signed) long
As far as I can say, this value and all those negative values
are actually not valid in CGM anyway, but since I do not know
the code, I'm leaving them in, they shouldn't break anything.
2012-03-16 03:26:57 +01:00
Kohei Yoshida
0c1a63b1fb No need to trim capacity any more; it's allocated to the exact size. 2012-03-15 21:54:06 -04:00
Kohei Yoshida
9e19cf80c0 We don't need these extra order index array; items are already sorted.
This shaves off extra 5MB of memory with my test document.
2012-03-15 21:54:06 -04:00
Luboš Luňák
dbf3b4ab77 "foo"bar -> "foo" bar 2012-03-16 02:04:56 +01:00
Matúš Kukan
45504f9ba8 fix windows build
No idea if this is proper fix or it needs to be done otherwise.
2012-03-16 01:25:24 +01:00
Szabolcs Dezsi
010560f553 i#84393 Fix title field in header, footer
According to help Title should be the Title property of the document,
not the file name without extension. If that property is missing, we
fall back to file name without extension.
2012-03-15 23:10:53 +01:00
Markus Mohrhard
2118ec3630 update the relatice refs after the absolute refs, fdo#47285
The algoithm for updating absolute refs needs to calculate the old
position based on the information before any updates to the RefData
2012-03-15 22:26:22 +01:00
Markus Mohrhard
bd43abc94d ScNameMgrTable takes a reference, fdo#47307 2012-03-15 22:26:22 +01:00
Noel Power
e3b1592165 fix to update inputbar when setting a range for a formula fdo#46809 2012-03-15 20:10:12 +00:00
Noel Power
1bd695d3dd fix mishandling of 'End Sub' is there is a trailing comment fod#46889 2012-03-15 19:50:59 +00:00
Kohei Yoshida
20d55ad66f Consolidated file-local functions. 2012-03-15 15:41:24 -04:00
Kohei Yoshida
4703758a07 Removed unused. 2012-03-15 15:41:24 -04:00
Kohei Yoshida
3507f0f02d Use the same algorithm for database initialization. 2012-03-15 15:41:23 -04:00
Kohei Yoshida
b9880a798a Fixed memory leak. 2012-03-15 15:41:23 -04:00
Kohei Yoshida
fd05423b75 Better algorithm to (re-)populate the cache.
With my test document, this brings the reload time down from 30 seconds
to 19 seconds.  I was expecting a much better outcome, but this is still
better than the current.
2012-03-15 15:41:23 -04:00
Kohei Yoshida
e6c65b0397 DataListType -> ItemsType. 2012-03-15 15:41:23 -04:00
Lionel Elie Mamane
08ba87c558 fixup: use introduced preprocessor constant instead of hardcoded constant 2012-03-15 18:54:48 +01:00
Lionel Elie Mamane
80c235510a fdo#46843 look for order by clause as fifth child of select_statement
Since commit 33b9b857ea (dba34c: #i20306# support for window function and limit fetch first, ... added), order by is the fifth child. It was the fourth one before.
2012-03-15 18:37:01 +01:00
Caolán McNamara
66d532fca4 can't use auto_ptr with an array, wrong delete vs new[] 2012-03-15 16:26:41 +00:00
Noel Grandin
96328945af Convert tools/table.hxx to std::map in ScEEParser class in SC module 2012-03-15 20:11:35 +04:00
Petr Vorel
a13a9a048a remove unused code (oox, sd) 2012-03-15 16:57:45 +01:00
Maxime de Roucy
c8620de6dc Add comments in formatclipboard.hxx 2012-03-15 16:57:45 +01:00
Maxime de Roucy
cc8047941d SwEditShell : use of the STL swap function 2012-03-15 16:57:45 +01:00
Maxime de Roucy
5f679b3e81 getMaxLookup in SwEditShell::GetPaMTxtFmtColl
Handle getMaxLookup as the maximum number of node to inspect.
2012-03-15 16:57:44 +01:00
Maxime de Roucy
6854165237 rewrite and comment SwEditShell::GetPaMTxtFmtColl
Classe SwEditShell.
Add some doxygen description for GetCurTxtFmtColl and GetPaMTxtFmtColl.
Rewrite of GetPaMTxtFmtColl in order to comment and simplify the code.
2012-03-15 16:57:44 +01:00
Maxime de Roucy
88dd798c08 add SCWARN_EXPORT_MAXTAB and SCWARN_EXPORT_MAXCOL
Create separate warnings when the maximum number of row, columns or
sheets is reach in the export filter to xls forma.
2012-03-15 16:57:44 +01:00
Winfried Donkers
2e7e5e79c0 fdo#45671 split button for calc cell border color 2012-03-15 16:57:44 +01:00
Cédric Bosdonnat
32eed8ac66 Cleanup in txtfly.cxx and translated comments to english there 2012-03-15 16:57:44 +01:00
Luboš Luňák
b1c472c702 do not leave temporary files after a configure check 2012-03-15 16:06:47 +01:00
Luboš Luňák
2db82ffc1b these writer unittests surely are slow 2012-03-15 16:06:47 +01:00
Luboš Luňák
c5489e31b6 need to be afraid of empty quoted strings as test arguments
At least 07a841bc1a says so.
2012-03-15 14:22:58 +01:00
David Tardon
504aead057 Revert "fix setting of paper tray from print dialog (fdo#43932)"
This reverts commit 6d4cca9c22.
2012-03-15 14:15:41 +01:00
Szabolcs Dezsi
eeeb4d9a1c Horizontal scrollbar fix in Writer and Calc Print Preview 2012-03-15 13:39:15 +01:00
Michael Stahl
e580246b47 sw: xmldump: print pointers again 2012-03-15 13:33:54 +01:00
Luboš Luňák
cc9a101857 clang doesn't have a problem with -Wnon-virtual-dtor
Even if some older version possibly does, I doubt anybody would
realistically use it.
2012-03-15 11:48:58 +01:00
Lubos Lunak
370b3b6232 disable msvc warning 4265 (non-virtual dtor)
msvc2008 now prints out a lot of warnings, probably a result
of the recent -Wnon-virtual-dtor changes where msvc does not
understand the protected dtor actually makes the code to be ok
2012-03-15 11:48:28 +01:00
Michael Stahl
f04e6b0e96 fdo#47246: fpicker: merge fop into fps: remove Fopentry.cxx
Forgot that in 095528351c3c916ef3c79f7275113ec628b4d473.
2012-03-15 10:33:01 +01:00
David Tardon
d5e83535a5 error: 'XFolderPicker' was not declared in this scope 2012-03-15 10:29:33 +01:00