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
Jacek Wolszczak
8b569e74d6
Replace DBG_* with OSL_* in sc/source/ui
2011-05-27 06:03:37 +02:00
Caolán McNamara
23427e2165
use rtl::Static where double-locked pattern used
2011-04-04 12:52:23 +01:00
Kohei Yoshida
9f26dfb93b
More on build errors and warnings.
2011-03-14 20:59:57 -04:00
Kohei Yoshida
12343c1556
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
2011-03-10 20:21:13 -05:00
Thomas Arnhold
a6e69f8fcd
Move DBG_ERROR to OSL_FAIL
2011-03-02 14:58:56 +01:00
Takeshi Abe
117066d1e9
Removed dead code
2011-03-02 03:14:31 +09:00
Kohei Yoshida
f84427bfdd
Finally get the refresh to work properly.
2011-03-01 00:02:01 -05:00
Kohei Yoshida
e7db4c4fdc
Data cache is now stored in the cashe table object for now.
...
With this commit, data caches are no longer stored outside the cache
table and managed by their ID's. Each cache table stores and manages
its own data "cache", but then calling it a cache is a mis-nomer.
2011-02-28 21:27:41 -05:00
npcdoom
0550c05dba
[PATCH 09/10] Remove deprecated List container.
2011-02-21 11:00:30 -08:00
Kohei Yoshida
41617d61f4
Remove unnecessary string copying.
...
When the original code creates a String instance from rtl::OUString one,
it's not good to create yet another OUString instance from the 2nd
String instance. Use the original OUString instance directly and
remove unnecessary string copying.
2011-01-31 20:50:54 -05:00
Sören Möller
39146b5cad
Replaced tools/string with ::rtl::OUString in ScDPSaveDimension
...
Changed comparisions and calls in different files
2011-01-31 20:42:12 -05:00
Thomas Arnhold
c519f73674
Replace suitable equalsAscii calls with equalsAsciiL.
2011-01-24 15:43:22 +01:00
Kohei Yoshida
126321ebe6
Let's store ScDocument* in ScSheetSourceDesc.
...
This class already uses ScDocument* a lot internally. Let's just
take the pointer to the document instance in the ctor and store it
inside.
2011-01-21 16:46:47 -05:00