Caolán McNamara
1d250c95dd
coverity#737504 Uncaught exception
...
Change-Id: I3cfa8ba3baaf071e4300b12c8bbcba4c652ee309
2014-02-24 13:33:22 +00:00
Caolán McNamara
9a8a4b81b6
coverity#737502 Uncaught exception
...
Change-Id: I5f5b7244db311501af6ded863b4b1fa46e5a547a
2014-02-24 13:33:21 +00:00
Caolán McNamara
93f3f72d18
coverity#737499 Uncaught exception
...
Change-Id: If4599fa76914b472ee6734f48941898f420519c3
2014-02-24 13:17:36 +00:00
Caolán McNamara
1a48456f8b
coverity#737497 Uncaught exception
...
Change-Id: I1dc0acda818f1b520f74c282bdd17a195591e860
2014-02-24 13:17:35 +00:00
Caolán McNamara
146a5e95ad
coverity#737495 Uncaught exception
...
Change-Id: I8a5e7111a0ddf1e651c25bd52c6af462d9075f93
2014-02-24 13:17:33 +00:00
Stephan Bergmann
b7259532d8
Remove unnecessary bool2any
...
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24 08:08:00 +01:00
Alexander Wilms
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
Stephan Bergmann
cc2606a785
bool improvements
...
Change-Id: I740c0e18eefc64cb5f1da5b88ceb77289790ec37
2014-01-28 20:26:23 +01:00
Caolán McNamara
dc752ba6e4
coverity#1158327 Uncaught exception
...
Change-Id: I90d8361712e6d403444a53478e2a8e874c82e02e
2014-01-27 12:13:16 +00:00
Noel Grandin
b132bf92cc
sal_Bool->bool
...
Change-Id: Ibc8696d41afead254c832afb7b4aeed73f52cab9
2014-01-20 13:13:52 +02:00
Stephan Bergmann
a62c2a5fa5
Don't hold css::uno::Type instances by pointer
...
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the
arrays of such need to be initialized dynamically anyway, also change their name
members to proper OUStrings while at it. Plus some const clean-up.
Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-12 08:26:40 +01:00
Stephan Bergmann
123e2c3e93
Revert "Don't hold css::uno::Type instances by pointer"
...
This reverts commit 90f91088d2
for now:
Ach, old GCC doesn't like plain string literals to initialize members
of OUString type...
Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11 15:38:30 +01:00
Stephan Bergmann
90f91088d2
Don't hold css::uno::Type instances by pointer
...
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the
arrays of such need to be initialized dynamically anyway, also change their name
members to proper OUStrings while at it. Plus some const clean-up.
Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11 15:16:51 +01:00
Stephan Bergmann
829752d315
-Werror,-Wunused-variable
...
Change-Id: I50b99a129f6a102be7120da318533cbbdd0af105
2013-10-08 11:04:22 +02:00
Noel Grandin
6bd2075b71
convert sc/source/ui/unoobj/*.cxx from String to OUString
...
Change-Id: If3d93c94b4a07a79585987a5d8a83344c088e805
2013-10-08 10:03:09 +02:00
Noel Grandin
0bb4487597
convert sc/inc/dapiuno.hxx from String to OUString
...
Change-Id: I114cb0840ddaf2d3631dedb5d2bed65ef3e84f3c
2013-10-08 10:03:05 +02:00
Takeshi Abe
b1c4046379
Mark as const
...
Change-Id: I2abf0a6887f916111895d172b0dffd54901c5aa2
2013-07-09 09:33:40 +09:00
Luboš Luňák
e2e2cc6114
remove usage of RTL_CONSTASCII_USTRINGPARAM
...
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
Luboš Luňák
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Thomas Arnhold
8b27d78b4a
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
...
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 09:00:26 +00:00
Kohei Yoshida
f1a08de848
Add a variant of DataPilotUpdate that removes pivot table.
...
This one became pretty small.
Change-Id: Ic1e1e2b7afc35e5d1141a34722a6fe395832d936
2013-01-11 23:37:11 -05:00
Kohei Yoshida
12ff4cc60a
Create another variant of DataPilotUpdate() for new table creation.
...
Again, this version has much less branching.
Change-Id: I9138471261f2d4df14b64e603a88d4495b6ea45e
2013-01-11 23:37:11 -05:00
Kohei Yoshida
ecb7b8b698
Let's remove this underused bAlive flag....
...
It's no longer that useful in today's pivot table design.
Change-Id: I665a7707126793dfde17a2221ba563d22a59aad1
2013-01-11 23:37:11 -05:00
Kohei Yoshida
c27e334661
fdo#58539: Avoid throwing exception not specified in the signature.
...
This should fix the crasher with the fdo#45266 document.
Change-Id: I41cf02f211e289b85c31b2d2d60e0c4d849b7e8e
2013-01-02 16:05:01 -05:00
Kohei Yoshida
1360b28b47
bnc#791706: Support multiple selection in page fields.
...
This change allows selecting multiple items in page field popups in
pivot table.
Change-Id: I692e13c0815211bac6da47fefd83bba18c901c5c
2012-12-14 01:12:41 -05:00
Michael Meeks
16155fdc39
re-base on ALv2 code. Includes:
...
Patches contributed by Herbert Duerr
i#118735 prevent endless loop if vlookup/hlookup doesn't find anything
http://svn.apache.org/viewvc?view=revision&revision=1239673
Patches contributed by Andre Fischer
remove lp_solver
http://svn.apache.org/viewvc?view=revision&revision=1199180
i#118160: Added external CoinMP library.
http://svn.apache.org/viewvc?view=revision&revision=1233909
Patches contributed by Armin Le-Grand
i#118485 - Styles for OLEs are not saved.
http://svn.apache.org/viewvc?view=revision&revision=1182166
i#118524: apply patch, followup fixes to 118485
http://svn.apache.org/viewvc?view=revision&revision=1186077
Patches contributed by lihuiibm
i#108860 - Fix range validation.
http://svn.apache.org/viewvc?view=revision&revision=1242846
i#118954 Chart data will lost after copy to different file
http://svn.apache.org/viewvc?view=revision&revision=1301345
Patches contributed by Ariel Constenla-Haile
Fix Linux build breaker: extra qualification on member
http://svn.apache.org/viewvc?view=revision&revision=1301591
i#118696 - i#118697 - Fix some Sheet Tab Color API issues
http://svn.apache.org/viewvc?view=revision&revision=1225428
i#118697 - Fix uninitialized variable
http://svn.apache.org/viewvc?view=revision&revision=1225859
i#118771 - ScUndoImportTab should preserve tab background color
http://svn.apache.org/viewvc?view=revision&revision=1230356
i#118921 - Repaint linked sheet tab background color after updating link
http://svn.apache.org/viewvc?view=revision&revision=1245177
i#118927 - Undo/Redo "Update Link" does not reset sheet tab color
http://svn.apache.org/viewvc?view=revision&revision=1245241
i#118747 - Copy tab color when transferring sheets across documents
http://svn.apache.org/viewvc?view=revision&revision=1230355
Patch contributed by Oliver Rainer-Wittman
i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and
<ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container
iteration in order to avoid destroyed iterators during iteration.
http://svn.apache.org/viewvc?view=revision&revision=1297916
Patches contributed by Mathias Bauer
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
http://svn.apache.org/viewvc?view=revision&revision=1396797
http://svn.apache.org/viewvc?view=revision&revision=1397315
Patch contributed by Daniel Rentz
calc69: #i116936# fix VBA symbol Cells
http://svn.apache.org/viewvc?view=revision&revision=1172135
Patches contributed by leiw:
i#118546 CPU 100% on switched off AutoCalculate with Conditional
Formatting on date values
http://svn.apache.org/viewvc?view=revision&revision=1301380
Re-add new function documentation. Many various cleanups.
Add missing calc66: #o11817313# also look at formula result
number format, remove redundant binaries.
2012-12-04 07:17:12 +00:00
Luboš Luňák
f7a24eff2d
mark lcl_ functions static or rename them if they are not local at all
...
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12 13:34:47 +02:00
Arnaud Versini
363fb46d5d
Use memset and memcmp insteadof rtl_zeroMemory and rtl_compareMemory in sc
...
Change-Id: Ia40c0af6844f736f0aad2566aec3c71f5016123e
2012-07-28 20:34:53 +02:00
Noel Grandin
78a219e973
Convert SV_DECL_PTRARR_DEL(XModifyListenerArr_Impl) to ptr_vector
...
Change-Id: Ic4cb48c1ea3df05cecaedb41941d9b592d591a55
2012-06-12 23:25:09 +02:00
Szabolcs Dezsi
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
8a01ee6243
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Kohei Yoshida
f697d7aa5c
Fix the UNO API for creating a new group dimension.
2012-03-14 20:41:36 -04:00
Kohei Yoshida
49d3e30ec9
When changing grouping in one pivot table, update all linked tables.
...
We need to do this now because we now store the group field data directly
in the pivot cache, which is shared by all referencing tables.
Also, actions involving modification of the cache is not undoable, and
making it undoable would significantly increase Calc's runtime memory
footprint. So, no way.
2012-03-14 00:35:29 -04:00
Kohei Yoshida
b4af9a6a90
Let's just do the whole thing in the new method.
2012-03-14 00:35:29 -04:00
Kohei Yoshida
9be4051645
Dedicated method for refreshing multiple linked pivot tables.
2012-03-14 00:35:28 -04:00
Kohei Yoshida
6fc139f068
Properly prefixed members of ScDPNumGroupInfo.
2012-02-28 21:03:09 -05:00
Kohei Yoshida
d7ba94d506
Get sc to build once again with debug=true.
2012-02-14 23:06:18 -05:00
Kohei Yoshida
2357da95f1
String to rtl::OUString.
2012-02-09 17:02:59 -05:00
Kohei Yoshida
2f14dc8754
Use names from unonames.hxx to be consistent.
...
And removed duplicated defines.
2012-02-09 15:25:08 -05:00
Kohei Yoshida
ee96213ca4
Pivot table related uno names to have SC_UNO_DP prefix.
2012-02-09 15:25:08 -05:00
Kohei Yoshida
563c3c69be
Makes no sense why we'd have to use StrData here...
2012-02-04 00:25:50 -05:00
Kohei Yoshida
2232b0c303
fdo#43077: Now, refreshing a table should refresh all linked tables.
...
For efficiency reasons. Otherwise, refreshing n tables individually
would require reloading the same data cache n times.
2012-01-12 21:56:49 -05:00
Olivier Hallot
49e11ffbe1
Fix for fdo43460 Part XXX getLength() to isEmpty()
...
Part XXX
Modules
sc
2012-01-07 07:37:38 -02:00
Kohei Yoshida
fc4ba6d66e
fdo#43304: Safeguard ourselves from potential crashes.
...
This is not a real fix, however. Import of pivot table still fails
but is at least better than crashing. A real fix is still being
worked on.
2011-11-28 17:32:46 -05:00
Eike Rathke
885c328ba5
dr78: #i116044# correct handling of DataPilot grand total name
...
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org >
# Date 1292000347 -3600
# Node ID 984bd7503f69a7ecc5d9e916b45b15c5f95c4a5b
# Parent 3462fe872c2af31b7276ef28a7b011f40369e2eb
2011-11-28 15:25:30 +01:00
Norbert Thiebaud
2721235724
remove include of pch header from sc
2011-11-27 13:20:15 -06:00
Kohei Yoshida
0e8927f4ab
fdo#37767: Fix broken refresh() from UNO API (and Basic).
...
We now need to clear the cache before running DataPilotUpdate() in
order to re-populate the cache from the source data.
2011-07-14 18:45:43 -04:00
Caolán McNamara
cd31b601f6
use standard template for this throughout
2011-06-03 09:39:15 +01:00
Kohei Yoshida
10807dfacf
String to OUString in ScDPObject.
2011-05-28 17:04:12 -04:00
Kohei Yoshida
a5e4f7a7ac
String to rtl::OUString in ScDPServiceDesc.
2011-05-28 16:37:51 -04:00