Commit Graph

3813 Commits

Author SHA1 Message Date
e752620bf5 fdo#75259: Let undo document share its string pool with the source doc.
We already do that for the pool helper.  It would only make sense to do
it for shared strings as well.

Change-Id: I813d262799af6f0c1d3fa12246ad973f852ac199
2014-02-24 13:13:51 -05:00
83aa6d8180 Remove some temporaries around calls to SvNumberFormatter methods
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24 09:08:35 +01:00
a53577e6ff Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
2014-02-24 10:20:51 +09:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
b7180bd14f editeng: sal_Bool->bool
Change-Id: Ia9b76985ea0b9c511208b8283c8487c89aa67b88
2014-02-21 12:19:24 +02:00
327dde336e editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
2014-02-21 12:19:21 +02:00
4692d28e90 sal_Bool->bool
Change-Id: I83a9267cc461c2921b5da04a1122539ba0ac7d2d
2014-02-21 12:19:19 +02:00
b6c8a233f2 cid#707998 Uninitialized pointer field
Change-Id: I7e72f2e3f2d62c0f293f9cdab212fabd74452b4d
2014-02-21 11:59:09 +02:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
64ed1e1c07 cid#983376 Dereference before null check
Change-Id: Ife25ca2199b9f4c997f2c7ad500b612b4703c07e
2014-02-20 09:31:10 +02:00
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
ca50752c34 fdo#72491: Always set input as text when that's requested.
Even when the text begins with '='.

Change-Id: I6e0a995f3042240b9f78068b5d0b9b758eb253ed
2014-02-18 22:59:41 -05:00
cdc8ebf964 fdo#74573: Delete ranges that are non-empty before pasting from clipboard.
The conditional formatting part is still not working. But other bits
appear to be working now.

Change-Id: Ia8a2cbe57cd2fa9ca9ad46635a91a1d8b99b0e7d
2014-02-18 16:51:18 -05:00
3920bb664a coverity#984133 Uninitialized scalar field
Change-Id: I933aa0d34d99808ccc359acfd895a7b9ea60217c
2014-02-17 23:15:51 -06:00
575e88da27 fdo#75032: Handle note copying correctly.
Change-Id: I1b8fa5231b23554c856fb63b580cb13ea9223b08
2014-02-17 22:26:40 -05:00
2f55cee393 fdo#74573: Skip removing of cell notes on empty cells if the flag is set.
Change-Id: I0d9cb5b48c5fdf51cf290cd838f5d6d7cb572e8b
2014-02-17 19:47:27 -05:00
4d15e903bf cid#736786 dereference before null check
Change-Id: I9cf201148c7cf90e95c88b7bf53e07f1ada9e229
2014-02-17 14:04:34 +02:00
f38aa72c1d fdo#73800 fix incorrect separator in function description in Calc
Depending on locale, the function description with arguments did
show incorrect separator(s) for functions with PAIRED_VAR_ARGS.

Change-Id: Ie493a77285360a099e5b07e8360ecb5c6c6c1aec
Reviewed-on: https://gerrit.libreoffice.org/8052
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-02-14 21:30:41 +00:00
8610d99b04 Related: #i124065# Low performance opening attached .ods
(cherry picked from commit d89ee4f6306ce8f290e01c80edbcc28a5cd8dcc3)

Conflicts:
	sc/inc/document.hxx
	sc/source/core/data/documen3.cxx
	sc/source/ui/unoobj/nameuno.cxx

Change-Id: Iced475cefe1df62920535db252841fe40339ebb1
2014-02-14 18:29:27 +00:00
11cea9af95 sal_Bool->bool
Change-Id: I42f3e248cc368a8cea47ff8ff124df654d445879
2014-02-14 14:15:01 +02:00
f5c4fd14a8 sal_Bool->bool
Change-Id: Ia411584e133b80eb72676acef6f004bf87898141
2014-02-14 14:15:01 +02:00
15db276813 sal_Bool->bool
Change-Id: I68c8c9f4d2a76ca4ad469a92714db86f1deae4de
2014-02-14 14:15:00 +02:00
e0c9266f5c sal_Bool->bool
Change-Id: I7b48eab9d76d5909080a615f0ad04cdfbda77d26
2014-02-14 14:14:59 +02:00
6124183d7b WaE: private fields 'mnStartRow' and 'mnEndRow' are not used
Change-Id: I067ad401608552df45275d0cbb73e486e93461ba
2014-02-14 08:40:23 +02:00
377d749ff8 fdo#74558: Re-implement BinarySearch() to disregard empty cell blocks.
The old code before the calc core refactoring took advantage of the old
calc storage which did not store empty cells at all.  The new storage does
"store" empty cell blocks, and it did negatively affect the binary search
used for VLOOKUP.  The revised binary search code properly skips empty cell
blocks so that it will work more like the old algorithm in 4.1.

This change also fixes fdo#72348, which was caused by the same root cause.

Change-Id: Ic20cc54d8dae26b62f5e9193cd21dad06ad10a3e
2014-02-13 20:36:32 -05:00
6364a3ec6f Drop unnecessary #include
Change-Id: I9bc9c21811100d6cc1ee7e381a3735567e3bda34
2014-02-13 10:42:33 +09:00
15535e32dd convert SvStream::operator>> methods to ReadXXX methods
First, I updated the clang rewriter to do the conversion.
Then I lightly hand-tweaked the output for the few places where
the rewriter messed up, mostly when dealing with calls on "this".

Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9
Reviewed-on: https://gerrit.libreoffice.org/7879
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 15:31:40 +00:00
4b852b30ad sal_Bool->bool
Change-Id: I82da14d2dec7f6110d1f6b7c4ece1f3498d82b6a
2014-02-12 09:01:11 +02:00
365d3105c9 sal_Bool->bool
Change-Id: I3d7d146723900b676e852132e8b99b60122c0b2b
2014-02-12 09:01:11 +02:00
04935907f2 sal_Bool->bool
Change-Id: I5b36c8dbefb63ee84d33e9bf1a472c2bbb8b34f0
2014-02-12 09:01:09 +02:00
4e432a178f WaE: unused function 'hasNonEmpty'
Change-Id: I8a806caf50df76687a339f583ce57d244553240d
2014-02-12 08:54:45 +02:00
2ec3127da3 Ensure that vector array has a numeric array of NaN's for empty range.
With this change, we ensure that mpNumArray is never NULL even when the
range consists entirely of empty cells.  For an empty range, mpNumArray
will be non-NULL and filled with NaN's while mpStrArray will be NULL.

Change-Id: If5cead26ebe917af150cf7e39e17afe3f310beb7
2014-02-11 15:12:21 -05:00
08c40a2474 sal_Bool->bool
Change-Id: I31fb9d5b49260fd1a8fc1312b01fd5632c97ab2e
2014-02-11 12:50:43 +02:00
1da03a88a9 fdo#74209: This search algorithm had another issue. This fixes it.
When the search range was i.e. 1-3, and the match was found at 5, the old
code would return 5 when in fact it should have failed.  This change would
honor the end position and limit the search within specified search range.

Change-Id: If12a92fd3930ad128a5b0699a1addd96fb3a8eba
2014-02-10 22:40:33 -05:00
68c280f623 fix import crash related to ooo94186
Change-Id: I2eb8c895eef53b5b14e81c5491d7ced6ead3c40a
2014-02-10 23:28:38 +01:00
c782212abf use GetLastDataRow() also in ShrinkToUsedDataArea()
Change-Id: Ie9d729900d6096dc8f540b3bc52df749b15675e2
2014-02-10 20:53:37 +01:00
c32e93e561 actually the extra check isn't needed
The end row will be the maximum of the start row and the last data row
up to the original end row.

Change-Id: I906a5f44f31f333c814b6832767dc3bd0ecd8278
2014-02-10 20:53:36 +01:00
840accea91 cosmetical adapt to style
Change-Id: I210f74670631707b02b68150efac76b0985390ac
2014-02-10 20:53:35 +01:00
6c5acfbefd do not loop 30 million cells to find a non-empty row
If for whatever reason an AutoFilter area was setup to extend down to,
for example, row 1048559 but the actual last data row is 15817, with 27
columns it took ScTable::GetDataArea() to look at 27884034 cells to find
the last non-empty data row ...

Change-Id: Ic8cbebe7ddf9b23c8edb55c4821d8a4c69e8b75d
2014-02-10 18:35:58 +01:00
c1dd14ba87 sal_Bool->bool
and remove unused parameter from ScCopyPage

Change-Id: Iba5a5adea8d5b4a56d77297325cc79d63465f15d
2014-02-10 14:44:58 +02:00
d359e42270 sal_Bool->bool
Change-Id: I3746ab9c065429815e7b0f91077a4bbef1223d1d
2014-02-10 14:44:57 +02:00
f32e6d14c8 sal_Bool->bool
Change-Id: I131f8fe012f3ed5908fee40459941dd43c284bc8
2014-02-10 14:44:57 +02:00
11491b6413 sal_Bool->bool
Change-Id: Ic9466e26cef1539a76bc838d0424dc3c0c0d34dd
2014-02-10 14:44:57 +02:00
d9b7412387 sal_Bool->bool
Change-Id: Iba6a2b7d18f630cacbf8fda8d99c55e10e1abe92
2014-02-10 14:44:56 +02:00
acf5f16266 sal_Bool->bool
Change-Id: Iadbdb3b96d5e546e407e80f1ccc65e5db5f84f4e
2014-02-10 14:44:56 +02:00
1c0f0a9f5b sal_Bool->bool
Change-Id: Id5a104fb70745e43da056c82ae44841c8b54abb2
2014-02-10 14:44:56 +02:00
6be783933d sal_Bool->bool
Change-Id: I4b8c94ae4b2bf3f1fc1f97b4533221f40b8d1907
2014-02-10 14:44:56 +02:00
ca6e816ed9 sal_Bool->bool
Change-Id: I707536b04c2e27fcb7d6283baee3479fe0fa67cd
2014-02-10 14:44:55 +02:00
698de0864f remove unused parameter
Change-Id: I24d4cb8b7b30c01e6dd5ba8f5e6690a60e6d9470
2014-02-10 14:44:55 +02:00
7cfc6821a6 coverity#1130439 Dereference before null check
Change-Id: Ic0adacb785653e77f5031f6b6f499a7191765599
2014-02-10 11:21:08 +00:00