Elton Chung
952b46570c
Remove unused code
2012-02-13 15:58:48 +00:00
Kohei Yoshida
ce03ae64b5
Cleaned up ScDPSource and ScDPMember(s) a bit.
...
* boolean, string conversion.
* removing virtual keywords when it makes no sense.
* privatize methods that are called only from within.
* removed methods that are not used.
* etc.
2012-02-10 15:34:58 -05:00
Kohei Yoshida
e1bb54d77d
String to rtl::OUString.
2012-02-10 15:34:58 -05:00
Eike Rathke
43aa1115c8
changes to "convert detdata.cxx in SC module to boost:ptr_vector"
...
* for includes from other modules use <> instead of "", i.e.
<boost/ptr_container/ptr_vector.hpp>
* use size_t instead of int for container positions and count
* no need for DeleteAndDestroy(), in fact delete p followed by
ptr_vector::erase() attempted to delete the instance twice and would crash
* adapted places that accessed DeleteAndDestroy() to operate on the vector
instead
* introduced GetDataVector() for that
* changed the DeleteOnTab() loop that used DeleteAndDestroy() to properly
iterate over the container instead
* changed UpdateReference() to a loop using iterator
* changed operator==() to use size_t instead of sal_uInt16
* note aside: mixing sal_uInt16 with a container's size isn't a good idea
* adapted places that access Count() and GetObject() to use size_t instead of
sal_uInt16
* made GetObject() const and return const ScDetOpData*
* changed indentation to 4 spaces per level
2012-02-10 17:27:27 +01:00
Noel Grandin
d4a31e6ae2
convert detdata.cxx in SC module to boost:ptr_vector
...
converts usage of SV_DECL_PTRARR_DEL in sc/inc/detdata.hxx and associated code
to boost::ptr_vector
2012-02-10 17:27:27 +01:00
Kohei Yoshida
2357da95f1
String to rtl::OUString.
2012-02-09 17:02:59 -05:00
Kohei Yoshida
bef2d8a6f5
Cleaned up more header include silliness.
2012-02-09 15:45:29 -05:00
Kohei Yoshida
950f94c03a
Include dpglobal.hxx only when necessary.
2012-02-09 15:34:14 -05:00
Kohei Yoshida
81f80beb8c
Really cleaned up dpglobal.hxx.
2012-02-09 15:25:10 -05:00
Kohei Yoshida
2bf0fd7352
Moved ScDPItemData into own files.
2012-02-09 15:25:09 -05:00
Kohei Yoshida
dc261fc0c4
Cleaning up ScDPItemData a bit...
2012-02-09 15:25:09 -05:00
Kohei Yoshida
692496aa2e
Moved definitions of ScDPItemData where they belong.
2012-02-09 15:25:09 -05:00
Kohei Yoshida
0ee411e687
More duplicated defines.
2012-02-09 15:25:08 -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
14eff85152
Consolidate all these duplicated defined uno prop names for pivot table.
...
They will be later merged into unonames.hxx.
2012-02-09 15:25:07 -05:00
Eike Rathke
f02f97bcdf
added TableBorder2 using BorderLine2, implemented BorderLine2 properly
...
* added com::sun:⭐ :table::TableBorder2 with
com::sun:⭐ :table::BorderLine2 members
* added optional com::sun:⭐ :table::BorderLine2 properties to
com::sun:⭐ :table::CellProperties service
* changes in Calc
* support TableBorder2, additionally to TableBorder
* reverted change that made all BorderLine properties operate with
BorderLine2 structs
* instead support both, BorderLine and BorderLine2
2012-02-09 14:37:44 +01:00
Kohei Yoshida
c919c1279d
Moved ScCollection under filter/starcalc.
...
That's the only place where this class is still used.
2012-02-08 21:45:27 -05:00
Kohei Yoshida
2d4d52e0fb
Rename TypedStrData to ScTypedStrData, just to be consistent.
2012-02-08 21:45:27 -05:00
Kohei Yoshida
e8e436771c
Moved TypedStrData into its own files.
2012-02-08 21:45:27 -05:00
Kohei Yoshida
cdd5a599be
Removed unnecessary header includes.
2012-02-08 21:45:26 -05:00
Kohei Yoshida
1eecb1841e
ScSortedCollection is now officially unused. Nuking it.
2012-02-08 20:35:12 -05:00
Kohei Yoshida
74c5c3b4ec
Move this typedef back into collect.hxx for now.
2012-02-08 18:33:20 -05:00
Kohei Yoshida
8ff0331bff
Move away from TypedScStrCollection in favor of STL's.
2012-02-08 18:33:19 -05:00
Kohei Yoshida
7ffdf6a0db
Let's use enum for better type safety.
2012-02-08 18:33:19 -05:00
Kohei Yoshida
d261c7cf96
TypedStrData to hold rtl::OUString.
2012-02-08 18:33:18 -05:00
Noel Grandin
ece725d7d8
Convert dptabres.cxx in SC module from SV_DECL_PTRARR_DEL to std::vector.
2012-02-07 12:43:23 -05:00
Kohei Yoshida
72c1b6141d
ScAutoFormat no longer a child of ScSortedCollection.
2012-02-07 00:50:36 -05:00
Kohei Yoshida
9abbf7c181
The usual bool & string conversion.
2012-02-06 21:57:44 -05:00
Kohei Yoshida
9ccaa4b146
FuncCollection no longer a child of ScSortedCollection.
2012-02-06 21:23:23 -05:00
Kohei Yoshida
7a4d7b2fa2
More on string/bool conversion.
2012-02-06 16:09:22 -05:00
Albert Thuswaldner
28ff7a37e6
Moved ScTpCompat from docoptions to appoptions
2012-02-06 13:44:30 -05:00
Takeshi Abe
905d1a4ebe
Removed duplicate macro
2012-02-07 00:31:29 +09:00
Elton Chung
e99c70d268
Remove unused code
2012-02-05 18:21:07 +04:00
Elton Chung
9c06348b32
Remove unused code.
2012-02-05 16:40:03 +04:00
Kohei Yoshida
dc35a39742
Fixed incorrect insertion.
2012-02-04 00:25:53 -05:00
Kohei Yoshida
35692c7370
ScOutlineCollection and its friends now free of ScSortedCollection.
...
But it's apparently broken at the moment. I need to fix this...
2012-02-04 00:25:52 -05:00
Kohei Yoshida
6fae316672
No inlined member methods.
2012-02-04 00:25:52 -05:00
Kohei Yoshida
f0002a68c4
Nobody uses StrData and ScStrCollection now.
2012-02-04 00:25:52 -05:00
Kohei Yoshida
bd3919c03d
No more ScStrCollection in pivot table code.
2012-02-04 00:25:52 -05:00
Kohei Yoshida
e67a43b291
String is now eradicated from the change track code.
2012-02-04 00:25:50 -05:00
Kohei Yoshida
5477b6f5fb
More on eradicating String in favor of rtl::OUString.
2012-02-03 00:02:47 -05:00
Kohei Yoshida
a5033979fd
No more sal_Bool from the change tracking code.
2012-02-03 00:02:47 -05:00
Kohei Yoshida
c827b9756f
GetDescription() now deals with rtl::OUString.
2012-02-03 00:02:47 -05:00
Kohei Yoshida
d7c1b89abd
More on bool & string conversions.
2012-02-03 00:02:46 -05:00
Kohei Yoshida
adad96ac1b
String to rtl::OUString.
2012-02-03 00:02:45 -05:00
Kohei Yoshida
3d7370fbe5
Use std::set to store user names instead.
2012-02-03 00:02:44 -05:00
Kohei Yoshida
8792229bdb
Massive indentation fixes, the best I can.
...
Still not perfect, but it's good enough as a starter...
2012-02-03 00:02:44 -05:00
Kohei Yoshida
2ee44cdce8
Moved the names of non-OLE charts out of ScDocument.
2012-02-03 00:02:43 -05:00
Julien Nabet
0dbda27fb8
Remove things not used
2012-02-02 23:19:08 +01:00