Takeshi Abe
136ae4bc2f
sal_Bool to bool
...
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
2012-10-30 11:50:20 +09:00
Takeshi Abe
a94b902736
sal_Bool to bool
...
Change-Id: Ia71a4dc13e09a5fc42c282efc2b0d46b2ff007ab
2012-10-28 23:47:55 +09:00
Takeshi Abe
9e44e1a819
sal_Bool to bool
...
Change-Id: I8b76ba6d6a27cebefca3307a648bd5baafd27262
2012-10-25 17:01:50 +09:00
Takeshi Abe
cc64715977
sal_Bool to bool
...
Change-Id: I47f376f431276396a9f3168a5e39e2c9e9e55cbe
2012-10-24 09:46:07 +09:00
Takeshi Abe
bb80f99092
sal_Bool to bool
...
Change-Id: Ideb46a876ef74f505b71e2a788d5f8da50e251af
2012-10-20 23:12:12 +09:00
Luboš Luňák
f2655f92c1
postfix operator++ -> prefix operator++
...
Change-Id: I51506a83009db838d8e12d5559c46b404e59f9b5
2012-10-15 23:33:09 +02:00
Luboš Luňák
21d10c6f32
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: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
2012-10-12 16:56:54 +02:00
Miklos Vajna
3559b4b1ab
SwUndoPageDesc: take care of SwPageDesc::aFirst
...
Change-Id: I05621cc1bf6d4201120c8757d5c2886723d7d18c
2012-10-05 16:19:28 +02:00
Arnaud Versini
36a2db3722
Replace usage of rtl_*Memory with equivalent from string.h
...
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-10-01 18:48:05 +00:00
Michael Stahl
b844f06b36
fdo#48692: fix problems with large number of table cells:
...
SwSelBoxes containers are filled from SwTableSortBoxes in various
places, so adapt that to use size_t integers as well.
Change-Id: Ia55f020bb9ada94bb22802d9adabb055a22edd2f
2012-09-21 18:05:02 +02:00
Michael Stahl
5f91f8a368
fdo#48692: fix problems with large number of table cells:
...
The SwTableSortBoxes is now a STL container which can have more than
2^16 elements but unfortunately there are a lot of 16 bit integers used
to index it all over the place, causing infinite loops and possibly
worse problems; fix that to use size_t.
Change-Id: I868ec9dd0629be4fbe4d6b8f294fb765e3d662ec
2012-09-21 18:05:02 +02:00
Michael Stahl
cf842d7c7f
rhbz#852128: sw: avoid table undo crash:
...
SwUndoTblNdsChg::UndoImpl: to prevent access of deleted table box start
node, disconnect the SwTableBox from the start node before removing the
table box nodes.
This problem was probably introduced with CWS swnewtable
db4de0817d
, which changed the order of the
removal operations for unknown reasons.
Change-Id: Ic59823a84082cc6ff453b2b512cbb8253886ecf3
2012-09-18 14:48:02 +02:00
Caolán McNamara
85b0beae59
Resolves: fdo#40025 add text correction undo id
...
instead of a single overwrite foo so now the undo message is
"Text Correction" for a spell or grammar change
Change-Id: I0227780ba9024ff903632923dd94238719b65764
2012-09-12 16:33:54 +01:00
Caolán McNamara
2b049bb03a
C40_GETPOS is unnecessary now
...
Change-Id: Ida64fbeba996c8e3deb7591be825b61d17044d9c
2012-07-30 12:47:50 +01:00
Noel Grandin
ddd84d08c9
Convert SV_DECL_PTRARR_SORT_DEL(_SwRedlineTbl) to o3tl::sorted_vector
...
Change-Id: Ie7edc6b32b373619d4c0ac154da93650743049cf
2012-07-26 23:35:27 +02:00
Noel Grandin
a236f8318a
Convert SV_DECL_PTRARR_SORT(_SwFtnIdxs) to o3tl::sorted_vector
...
Change-Id: I84c4cd5686ea0649ad9ca6c879d51bffe6d693c2
2012-07-26 14:30:09 +02:00
Noel Grandin
deaa69b155
Convert SV_DECL_PTRARR_SORT(SwSelBoxes) to o3tl::sorted_vector
...
Change-Id: I4af9e86257a9e40b91351fd34ac70fe053d02367
2012-07-26 14:30:09 +02:00
Noel Grandin
89bdd3ae05
Convert SV_DECL_PTRARR_DEL(SwRedlineSaveDatas) to std::vector
...
Change-Id: Ia12d7f9020ca492470cc8ff48df1cc5988c05853
2012-07-25 14:13:46 +02:00
Noel Grandin
b09b1ed264
Convert SV_DECL_PTRARR_SORT(SwTableSortBoxes) to o3tl::sorted_vector
...
Change-Id: Id5ff378b25619a9bf126824b4abadd19615b7a31
2012-07-25 14:13:45 +02:00
Caolán McNamara
104261010a
some UniString->rtl::OUString
...
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Frank Schoenheit [fs]
fc68fb4bb4
fs34b: #i117039# restore old behavior of SfxUndoManager::EnableUndo: don't count the calls, but maintain a simple flag.
...
Consequently, let sw's UndoManager simply delegate now, and change the UndoManagerHelper to maintain a lock counter itself.
2012-07-06 20:29:12 +01:00
Noel Grandin
e22cc75909
Convert pFrmFmts member from Svptrarr to std::vector
...
Change-Id: I628709ab09318917083f71dde9f06cfb1c8d1a49
2012-06-25 20:13:16 +02:00
Michael Meeks
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Thomas Arnhold
5fcecf9b88
hrc cleanup: Remove unused defines
...
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.
Also there are many commented out lines removed.
Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Noel Grandin
d69fdd1ed6
Convert SV_DECL_PTRARR_DEL(SwTableLines) to std::vector
...
Along the way, simplify a lot of the ForEach callback methods.
Change-Id: I54bc87c1060f1d73470ca8b7fd645ffa23059606
2012-06-20 19:46:40 +02:00
Noel Grandin
1015cd4ff7
Convert SV_DECL_PTRARR_DEL of Sw*Fmts to std::vector
...
- I had to convert SwFrmFmts, SwSpzFrmFmts, SwCharFmts, SwSectionsFmts,
SwTextFormatColl, SwGrfFmtColl all together because of the code that wants
to work with any of them.
- Introduce a pure virtual base class SwFmtsBase, since there are a handful
of methods that want to work with any of the std::vector<Sw*Fmt> types.
- the class SwSpzFrmFmts was dropped, and the code changed to use SwFrmFmts
instead, since the 2 types are identical.
Change-Id: I8c4056b5aedd574a33666e2d649a8b849958441c
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch >
2012-06-20 16:48:03 +02:00
David Tardon
b3473b9d22
fdo#50896 SfxItemSets can contain emtpy element
...
Use vector<shared_ptr> instead of ptr_vector.
Change-Id: I4e7d0735cbb036c608f697f7418109a2c497982f
2012-06-11 15:19:37 +02:00
Philipp Riemer
4e22b45d38
Clean up and translate comments
...
Change-Id: I7ecc27535622d7ee63251005f0768ea3cb47623b
2012-05-30 23:45:10 +03:00
Philipp Riemer
c4f0da46d9
Re-format comments
2012-05-30 23:43:54 +03:00
Philipp Riemer
8f7e92fcb1
Clean up comments, whitespace, commented out code
...
Change-Id: Ieedc214a0810b9ecbe69c5308ee3bdcf98ae461a
2012-05-30 23:42:43 +03:00
Tor Lillqvist
292466e0c2
Delete some ASCII graphics separators, too
...
Change-Id: Ia9176e596b72822d9facea24fa81888768435264
2012-05-30 19:42:09 +03:00
Philipp Riemer
2c1e35ecc2
Translate German comments and delete unnecessary blank lines
2012-05-30 19:42:08 +03:00
Caolán McNamara
ff31d8dff6
missing brace
...
Change-Id: I1b6faf4d1989a808c54f2799db8d0a6d10adf299
2012-05-28 14:38:21 +01:00
Philipp Riemer
e03dcdbb4c
Translate German comments in sw/source/core/undo/unsect.cxx
2012-05-28 16:32:42 +03:00
Philipp Riemer
66528fc701
Translate German comments in sw/source/core/undo/unredln.cxx
2012-05-28 16:31:46 +03:00
Philipp Riemer
d767476a82
Translate German comments in sw/source/core/undo/unovwr.cxx
2012-05-28 16:30:42 +03:00
Philipp Riemer
bba3c5885c
Translate German comments in sw/source/core/undo/unmove.cxx
2012-05-28 16:29:36 +03:00
Philipp Riemer
ef195be10b
Translate German comments in sw/source/core/undo/rolbck.cxx
2012-05-28 16:29:06 +03:00
Philipp Riemer
78b727f9cf
Translate German comments in sw/source/core/undo/unins.cxx
2012-05-28 16:29:04 +03:00
Philipp Riemer
ced6b3fe4b
Translate German comments in sw/source/core/undo/undobj1.cxx
2012-05-28 16:29:03 +03:00
Philipp Riemer
f0c1887fc6
Translate German comments in sw/source/core/undo/undobj.cxx
2012-05-28 16:21:28 +03:00
Philipp Riemer
a4fbd12762
Translate German comments in sw/source/core/undo/undel.cxx
2012-05-28 16:18:53 +03:00
Philipp Riemer
230fddbc17
Translate German comments in sw/source/core/undo/unattr.cxx
2012-05-28 16:17:08 +03:00
Philipp Riemer
12e3051761
Translate German comments in sw/source/core/undo/unnum.cxx
2012-05-28 16:15:38 +03:00
Noel Grandin
9c0ca92444
Convert SV_DECL_PTRARR_DEL(SwpHstry) to std::vector
...
Could not use boost::ptr_vector here because the code moves
pointers around by hand.
Change-Id: I60d19741ad08add18d99ee3b75e9dc3810d2c675
2012-05-25 00:17:08 +02:00
Noel Grandin
7d69ffe8c9
Convert SV_DECL_PTRARR(SwMovedBoxes) to std::vector
...
Change-Id: I6df8a2929569ec0a2ee670002833b6a142d42318
2012-05-25 00:17:07 +02:00
Noel Grandin
b8ace0f986
Convert SV_DECL_PTRARR_DEL(SwTableBoxes) to std::vector
...
I added a GetPos() method because quite a lot of code used that
method and the existing code is quite tied to the precise
return values of that method.
Change-Id: I9af6b923d978abe758b63d835f228495c020455a
2012-05-14 19:49:15 +02:00
Caolán McNamara
c182a75241
convert GetComment family to rtl::OUString
...
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14 14:34:09 +01:00
Michael Stahl
2d7e993f6a
fix std::vector::vector(size_t) in previous commit
2012-05-09 08:53:01 +02:00
Noel Grandin
a56c8a0dc2
Convert SV_DECL_PTRARR_DEL(SwSortList) to boost::ptr_vector
2012-05-09 08:53:00 +02:00