Commit Graph

153 Commits

Author SHA1 Message Date
12f22bd781 drawingML import: paragraph spacing inside group shape
unotext: a conversion was missing during the corresponding
SvxLineSpacingItem was filled with "ParaLineSpacing" UNO property.

Change-Id: I02559ed7e8b46150a88eed2bf20afdf084aec47b
2014-02-21 22:11:35 +01:00
db0222881b editeng: sal_Bool->bool
Change-Id: Ie2c8bf805461d61de2dfa2658160fd612959932c
2014-02-21 12:19:25 +02:00
63a4219e69 editeng: sal_Bool->bool
Change-Id: I1a4b8ff5ccecc2776d1f145f8763f3dab6afb38b
2014-02-21 12:19:25 +02:00
a32ed92c95 editeng: sal_Bool->bool
Change-Id: I64cde75157fbdcda6ac92ca4064e6ab8197114c1
2014-02-21 12:19:24 +02:00
239820a7ac editeng: sal_Bool->bool
Change-Id: Idc081fb757cc83a17e4f557ed1311d7722a57998
2014-02-21 12:19:24 +02:00
b7180bd14f editeng: sal_Bool->bool
Change-Id: Ia9b76985ea0b9c511208b8283c8487c89aa67b88
2014-02-21 12:19:24 +02:00
7e06ccad8f editeng: sal_Bool->bool
Change-Id: I36cb765d87ddef1fba3447a3ea90e5285cbcd678
2014-02-21 12:19:23 +02:00
72c64c7691 editeng: sal_Bool->bool
Change-Id: I18717328ccd37649683b0d8cb57c85629cdcb4d9
2014-02-21 12:19:23 +02:00
5a5a80dd5c editeng: sal_Bool->bool
Change-Id: I92935238ff016dc441db72e3aadc28466fe84e68
2014-02-21 12:19:23 +02:00
32ef676504 editeng: sal_Bool->bool
Change-Id: I1b215ef78bcade675a2f80def0d6d5afe0ff3d2c
2014-02-21 12:19:23 +02:00
16c8fbfa07 editeng: sal_Bool->bool
Change-Id: I5f0b49b7a51f32fe4974739d2610204adefc4faa
2014-02-21 12:19:22 +02:00
e41ed900a4 sal_Bool->bool
Change-Id: I2849ab93619a0a8c9d28b3c43d370ee483820678
2014-02-21 12:19:22 +02:00
327dde336e editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
2014-02-21 12:19:21 +02:00
a1d5ff63db sal_Bool->bool
Change-Id: I0c2297ffa00ee23160f65b2859043fcd4842098c
2014-02-21 12:19:21 +02:00
442de7c631 sal_Bool->bool
Change-Id: I82784b515cff6fcc1950a9f72f254f0e62fdbc05
2014-02-21 12:19:21 +02:00
17a18aa676 sal_Bool->bool
Change-Id: I08470e3b7ba845104c5bada11fb5b2d160a8aaa0
2014-02-21 12:19:20 +02:00
634081d5de sal_Bool->bool
Change-Id: I65c60ae987263b96ac1a0d727f5c4e33431d7767
2014-02-21 12:19:20 +02:00
d9fd1d5310 remove unused return value from method
Change-Id: If8ad6d01e92bb6df429acca03df0b40a4e2b7f1d
2014-02-21 12:19:20 +02:00
87612bfee4 sal_Bool->bool
Change-Id: If8d90d507e29caaf8ceb41deb9cb5eb54476773e
2014-02-21 12:19:20 +02:00
8be2cbc856 sal_Bool->bool
Change-Id: I8623ebe2d46cb897d4dd0c0ec9c136d96af0186c
2014-02-21 12:19:19 +02:00
4692d28e90 sal_Bool->bool
Change-Id: I83a9267cc461c2921b5da04a1122539ba0ac7d2d
2014-02-21 12:19:19 +02:00
682ace7031 fdo#63154 Remove unused solar.h reference in editeng
Change-Id: I472cb0dcfcb2d36fab65041acb47bd75d22a7b3f
Reviewed-on: https://gerrit.libreoffice.org/8119
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21 09:24:18 +00:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
811e6f6745 coverity#738003 Uncaught exception
Change-Id: Iddb64e592ae47dd5f22430778b8018fc8c9880c5
2014-02-13 21:04:53 +00:00
d9809c68f6 fdo#74141 :In <w:ind> Right margin gets added even if not present in orig doc.
There was a problem that in style.xml and document.xml in <w:ind> tag "right" & "left" margin
attributes gets added(w:right=0 & w:left=0),if these attributes are not set in original document.
(In this case LO should not write these attributes in <w:ind>)

eg. if original doc has implicit right and left indentation values set(In style.xml) and there is no
explicit values provided for some para (In document.xml) still it used to write w:right=0 and w:left=0
in <w:ind> tag of document.xml which overrides an entry from style.xml.

XML difference :
- Original file:
<w:ind w:left="567" />
- Roundtrip file Before Fix:
<w:ind w:left="567" w:right="0" w:hanging="0"/>
- Roundtrip file After Fix:
<w:ind w:left="567" w:hanging="0"/>

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7816

Change-Id: Ifa01bae24d48bb38d5e255356247c46a43beefcc
2014-02-13 17:43:47 +01:00
1c71cef7f8 coverity#707769 Uninitialized pointer field
Change-Id: I449173ea1c4418cc2cc978862fe465e33e7b4338
2014-02-13 14:56:25 +00:00
a79f1097ee sal_Bool->bool
Change-Id: Ie477a46fae2b8c4deb55435f3769ba74037dd259
2014-02-12 09:01:08 +02:00
ebd0d0056d fdo#74363: fix auto correct of initial capitals on start of first para
The GetPrevPara() method apparently has to return 0 when there is no
previous paragraph.

(regression from ac85b6cff11d193f5f71d11b1f3cc1c474653f59)

Change-Id: I09a3e1d3a3adb33562e4e03c0755447047cbd433
2014-02-08 00:32:20 +01:00
0502a09431 Remove LookupTree as it is replaced with Trie.
Change-Id: I7611c5307e4d4e925dc3e54c6b3f2d1a47bd9080
2014-02-06 09:26:46 +01:00
569e5f023e Add getAllElements (strings) for Trie.
Change-Id: I9603cc51545f72fdb0854f2d76e2326706329000
2014-02-06 09:26:46 +01:00
0f2a8ec5e0 coverity#707765 Uninitialized scalar field
Change-Id: I35194385cc2f5d02a93ade0e8ab40fb77eba7e6e
2014-02-05 16:36:16 -06:00
5c5d31b04c coverity#707761-62 Uninitialized scalar field
Change-Id: I9ebd8df6e510640e511a61332ab1d712b68c40ca
2014-02-05 16:36:16 -06:00
3cbfcee36d xub_StrLen and tools/string.hxx final straw
Thre is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases

Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
Reviewed-on: https://gerrit.libreoffice.org/7787
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-03 07:44:28 +00:00
f46a685b27 Resolves: #i123228# ParagraphData symbols shouldn't be required...
for outlobj.hxx users

Avoid the ParagraphDataVector default constructor in the editeng/outlobj.hxx
header. ParagraphData symbols are not DLLPUBLIC so they are not available
outside of editeng. When inlining is disabled (e.g. for debugging) this may
break the build as observed when building svx in debug mode on Solaris.

(cherry picked from commit 2738b2ea2df22759f32b687d08fd6868b425760e)

Change-Id: I0a8250fe3d61819217c913949dfa20a902b3e397
2014-01-29 09:11:57 +00:00
6bdd60462f bool improvements
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
2014-01-28 20:24:39 +01:00
887bc4dd3e cp#1000025: Import casemaps from pptx.
Note: This only imports it and it may not be
even possible to export (even to othe formats).

Change-Id: I8e104f1bc3a95c42ac932b6ab58365dc113fb2e0
2014-01-27 16:23:44 +05:30
853fe648a7 bool improvements
Change-Id: I6c2b4a825fffc015f10ef016e239b379a90ad768
2014-01-23 09:23:24 +01:00
747ba6295d bool improvements
Change-Id: I2a0980a603822ffdf74a38ba0b41ba27a6830861
2014-01-22 11:39:21 +01:00
5e10e6937a EDITENG : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.

Change-Id: Ifc04e2ec9d27c706868569a3bcb8fbfae0e84c69
Reviewed-on: https://gerrit.libreoffice.org/7524
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21 16:07:00 +00:00
c648d08720 convert SvStream::operator<< overloads to more explicit methods
This is in preparation for more conversion of SvStream::operator<< calls
to use more explicit method names.
This converts the subclasses that have their own convenience overloads
of operator<< to use normal methods.

Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-16 16:08:34 +01:00
2e5ec4f5b6 Related: #i17171# big xub_Strlen -> sal_Int32 changes
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
2014-01-15 13:26:08 +00:00
5ea58f534b bool improvements
Change-Id: Ic6488ac278cac2d1d7e240abff545f9ea0b8eafe
2014-01-14 21:28:08 +01:00
563ba069b5 longparas: nPartLen always is USHRT_MAX/STRING_LEN to take full string
Change-Id: I55bb0baa8e83948c470ade2fc6fabccb69dea91d
2014-01-14 09:33:09 +00:00
d1043892df SfxPoolItem::operator ==, != should return bool
...and SfxEnumItemInterface::HasBoolValue, too.

Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10 17:11:51 +01:00
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
123e2c3e93 Revert "Don't hold css::uno::Type instances by pointer"
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde 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
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
7b9c61c7f2 editeng: fix more 32-bit Time breakage
SfxDateTimeItem and SvxExtTimeField need to use 64-bit integer to store
Time as well.  These classes also have binary serialization
Load()/Save() methods but they are unlikely to be used in a persistent
way, just for the clipboard.

The problem is easy to reproduce in Impress: Insert->Field->Time(fixed)

(regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a)

Change-Id: I5946c5b94dd5a509805b6dc40461bbd910caffc4
2013-12-10 15:28:53 +01:00
059cc67245 Remove obsolete SEQTYPE workaround
Change-Id: I366b29038be034b03a16fa6d7f6873dc78d8d88f
2013-12-05 12:22:17 +01:00