Commit Graph

959 Commits

Author SHA1 Message Date
7f8f277b94 fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07 11:20:44 +02:00
85ce7c0ac6 Factor out XFillBitmapItem::dumpAsXml() from sw
Change-Id: Ice3a44635a1f4ac2c2852c2e73adae4920412d3a
2015-01-07 09:46:53 +01:00
de7a5eb44f Factor out XFillColorItem::dumpAsXml() from sw
Change-Id: Idc4c3e00c748fa94f233f2fc5e7c7e9de3a31a22
2015-01-06 09:07:18 +01:00
2eb4bd3c8c Factor out XFillStyleItem::dumpAsXml() from sw
Change-Id: I04aed56c1e32f98f8920530e3ba313765baa1bba
2015-01-05 18:56:53 +01:00
a509a8d995 Resolves: fdo#87003 Kill BOOST_FOREACH on master
use C++11s range-based for() loops instead

Conflicts:
	sd/source/filter/eppt/pptx-epptooxml.cxx

Change-Id: I0868eb345932c05b7e40b087035da252b99bf0b9
Reviewed-on: https://gerrit.libreoffice.org/13714
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-05 09:34:08 +00:00
337aa30328 Factor out SwFmtCol::dumpAsXml() from docnode
Change-Id: Ic41b981c989aec658e95889b72bd76ecacb13a9a
2014-12-28 19:25:59 +01:00
daebeae541 Factor out SwFmtWrapInfluenceOnObjPos::dumpAsXml() from docnode
Change-Id: I8c52801178c5cf80398a19ebe40d336c69db8065
2014-12-28 19:25:59 +01:00
d5ac1754ba Factor out SwFmtFollowTextFlow::dumpAsXml() from core
Change-Id: Iafd2db5d878857c517e79f84b8c9c6a806ccfe4b
2014-12-28 19:25:59 +01:00
e4de5b40eb fdo#84714 ODT export: write <loext:table> inside <draw:custom-shape>
Change-Id: I543ec24f8825bcc7c35acc106402f4fc6b4b5d79
2014-12-27 12:13:51 +01:00
93e97e83d8 sal_uInt16 to size_t
Change-Id: Ide8913930f9f951039cefecf71609c5a2bcc5e82
2014-12-25 18:21:11 +01:00
310eb66522 inline stream operator and remove object
Change-Id: I9df9a56eca662c6adf0a2cf4ef25a917da8dc609
2014-12-23 04:02:14 +01:00
96c7fff36e inline Assign
Change-Id: Ibeb8d7b8e83d432a502707f83a8fde7900596aec
2014-12-23 04:02:13 +01:00
d5d4684971 Make SwNodeIndex constructors inline
Change-Id: Ib29bcd5e2028c4e644621af4294c193f5b0aa14e
2014-12-23 04:02:12 +01:00
7a6639fc9d Move Register/DeRegister functions to SwNodeIndex
- allows more inlining
- allows removing another friendliness
- belongs there anyway

Change-Id: I5d0d24f60caa06533efcd3f41f313fe55dd365e1
2014-12-23 04:02:12 +01:00
82ef5f9eab use sw::Ring instead 2014-12-23 04:02:11 +01:00
44742f9a0d Factor out SwFmtSurround::dumpAsXml() from docnode
Change-Id: Ia76bbaa02c0b306d4a5487f440b62d616cc8b29e
2014-12-22 19:33:56 +01:00
68a5ae93c6 Factor out SwFmtAnchor::dumpAsXml() from nodedump
Change-Id: I080fd80cf0a2fd0531edcb21f189aaf4fd922ecc
2014-12-22 19:33:56 +01:00
cc15d89872 Factor out SwFmtHoriOrient::dumpAsXml() from nodedump
Change-Id: I63ec35abcd7e69147ff4f98b1989875967c470fe
2014-12-22 19:33:56 +01:00
f0b4b944c1 Factor out SwFmtVertOrient::dumpAsXml() from nodedump
Change-Id: Ic1008f0879f121abf3786d7eda282cce189c461a
2014-12-22 19:33:55 +01:00
dc08157dff Factor out SwFmtFrmSize::dumpAsXml() from nodedump
Change-Id: Idcf24d40876230a0e34f2f816dfe414b4a143f53
2014-12-20 13:03:46 +01:00
9071c5070c Factor out SwFmtCntnt::dumpAsXml() from nodedump
Change-Id: I6adcaa8534efefa474d489125d3fb95f150e3e89
2014-12-19 09:05:09 +01:00
2a6dc39ba9 Factor out SvxFontHeightItem::dumpAsXml() from sw
Change-Id: I8dc3a0ed7bfce62b0d20c6bff143d77c0f26963f
2014-12-18 10:50:02 +01:00
53421edf6c Factor out SvxBrushItem::dumpAsXml() from sw
Change-Id: I5421cf5a7d1a2ff4db81d028f44a490c234b9ccf
2014-12-17 09:07:38 +01:00
d54e21eaa2 Factor out SvxFontItem::dumpAsXml() from sw
Change-Id: I8283ddd868639e6535e27798d91a7273d77f048c
2014-12-16 09:06:41 +01:00
a741f682a7 Factor out SwNumRuleItem::dumpAsXml() from nodedump
Change-Id: I893d358f8a842e19248cfeb151170ed2872c3dae
2014-12-15 09:01:00 +01:00
68b8f008c8 Factor out SfxUInt16Item::dumpAsXml() from sw
Change-Id: Ia58bed9c4a0be4b909789e8bdcd64f06230c0f43
2014-12-14 22:33:16 +01:00
3dee6c74c3 Factor out SvxCharRotateItem::dumpAsXml() from sw
Change-Id: I52bca77e8ff0d4fccf8423f01dac9b6a7498f8d1
2014-12-11 08:52:41 +01:00
3581188901 changed timers to idles
Change-Id: Ia9f6afb29a387c0af7d898fb69f5a3b415add7b0
2014-12-09 12:34:50 +00:00
4dbbf535e7 Factor out SvxRsidItem::dumpAsXml() from sw
Change-Id: I60c57fa6a9f3619de717e7b2383dc420706b2886
2014-12-09 09:06:47 +01:00
193c7ba9be Factor out SvxWeightItem::dumpAsXml() from sw
Change-Id: I97ccc04190b1f75c54e725e0612724a2ef62fe3e
2014-12-08 09:17:56 +01:00
9dd8413a61 Forward-declare MarkedUndoAction.
Change-Id: I1c36077cada47bacfb8436cf3fb659e47d02da60
2014-12-07 01:09:05 -05:00
dd40936c9c Factor out SwFrmFmt::dumpAsXml() from SwFrmFmts::dumpAsXml()
Change-Id: I494e6cd44087924d4b1f4fb9fcc599040d64390c
2014-12-05 17:49:29 +01:00
ee9344b68f more const correctness
Change-Id: I786269210a7906c0d6b74e2cdb32100c8ae07666
2014-12-05 16:10:34 +01:00
3434327a5f Factor out SvxPostureItem::dumpAsXml() from sw
Again, the motivation is that dumper for something in editeng should be
in that module as well, before home-grown dumpers are invented and
duplicated e.g. in all sw/sc/sd.

Change-Id: Icfeed9549efbd80226ff04e9070766188cc8646e
2014-12-05 09:08:58 +01:00
1801b559e1 Factor out SdrModel::dumpAsXml() from SwDoc::dumpAsXml()
Change-Id: Ic2cc6507390edfd0bc5a38b655a3b652fd5ec33e
2014-12-03 09:07:58 +01:00
97d9e5297b Factor out SdrPage::dumpAsXml() from SwDoc::dumpAsXml()
Change-Id: Ida16087b1d954454c672ddeec78b8dfe0e5a45fe
2014-12-01 09:10:04 +01:00
c25aa2ad43 Factor out SdrObject::dumpAsXml() from SwDoc::dumpAsXml()
Change-Id: I043f740c73f1b39d81383f4f1eab2aae009ac2ba
2014-11-28 11:24:49 +01:00
855c94a46a Factor out OutlinerParaObject::dumpAsXml() from SwDoc::dumpAsXml()
Change-Id: I5e805aa98f643b5a034cdeadb4718af528af022c
2014-11-27 08:04:59 +01:00
6457297522 loplugin: cstylecast
Change-Id: I8c5d2302695d22e4fe976a370b75b26dec373024
2014-11-25 10:09:50 +02:00
3b3cfa0e01 Factor out EditTextObject::dumpAsXml() from SwDoc::dumpAsXml()
Change-Id: I1dae910e9d14db56d6388a71d76b1a479d5786b0
2014-11-24 09:02:59 +01:00
6c25384656 dead assign (clang)
Change-Id: I5f2dee2ac947c22292a5ee42fe51506cd881e35f
2014-11-23 14:00:32 +01:00
725f54ac3f dead assign (clang)
Change-Id: I6782bc870fa5ce6404b3f5436bcf86b96527f69e
2014-11-23 14:00:32 +01:00
43f98495b5 do not use sal_uInt16 for indexing stl vector
Change-Id: I1a0087211bfd4d73cd5af781f5f3117b440fb188
2014-11-21 11:56:00 +01:00
eb41a2ba20 loplugin: cstylecast
Change-Id: I322c6f9cd106a0ac3ad5c67dd0d49660b608e079
2014-11-19 13:19:37 +02:00
3c95503cef Use SwNode::GetTxtNode()
Change-Id: Icf3e1013d5eba5702badf19aa6c1f5e6708ed154
2014-11-19 09:03:51 +01:00
dca29d672a loplugin: cstylecast
Change-Id: I939e4af2ca27b34f78d079bb1e209d9b118eed01
2014-11-18 08:09:40 +02:00
6a0fe37dec sal: clean up public headers with include-what-you-use
Sadly cannot forward declare "struct {...} TimeValue;".

rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...

Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-17 11:06:53 +01:00
93193e2375 sw: convert 'a ? b : sal_False' to 'a && b'
Change-Id: I4b7829a1abe1459f2e4915159588fd3e16a14eea
2014-11-16 16:54:42 +01:00
a080c8f34d sw: avoid 'condition ? sal_True : sal_False' expressions
Change-Id: Idd6c9f9752659fc5da575e5a3f0ffc15ce5dbe1c
2014-11-16 16:54:39 +01:00
9ba8304dad sal_True/sal_False to true/false in sw comments (also delete obsolete ones)
Change-Id: Ifb29bd3e9c5dc7671c189fd9daa010305f7a85a4
2014-11-16 16:54:38 +01:00