Commit graph

391216 commits

Author SHA1 Message Date
Eike Rathke
b7e3c63f1a explicitly map 'C' locale and other known definitions to LanguageTag
Starting up a dbgutil build with LC_ALL=C gave

i18nlangtag/source/languagetag/languagetag.cxx:1362:
LanguageTagImpl::convertLocaleToLang: with bAllowOnTheFlyID invalid 'C'
i18nlangtag/source/languagetag/languagetag.cxx:1533:
LanguageTag::getLanguageFromLangtag: pLangT==NULL for 'C'
i18nlangtag/source/languagetag/languagetag.cxx:1593:
LanguageTag::getRegionFromLangtag: pRegionT==NULL for 'C'

Nothing harmful in this case as the default fallback is 'en-US', but it
also indicated that other known non-standard "locales" such as
"sr-latin" or "german" were not resolved to the defined values. Likely
such weird values are not in use anymore, but..

Change-Id: Ib3469354ceb236552540da5fd11d8f9e9c5ab1fd
2016-04-20 19:18:52 +02:00
Miklos Vajna
100eb15b4d tdf#99396 SdrTableObj::EndTextEdit: restore cell format undo items
As seen by the user: after finishing the text edit of an Impress table
cell, the text changes are still on the undo stack, but the table ones
(like background color or vertical alignment) get lost.

This happens as SdrUndoManager::SetEndTextEditHdl() removes all undo
items from the stack which are created after the start of the text edit,
and creates a single item, but that doesn't include the table changes,
just the text ones.

Fix the problem by creating a copy of the CellUndo objects when it text
edit mode, and pushing them to the undo stack in
SdrTableObj::EndTextEdit(), which already writes the undo stack and runs
after the undo manager cleared the text edit items from the undo stack.

Change-Id: I7d2768c86b5b262e98be1d09d7fa08d581430bb5
Reviewed-on: https://gerrit.libreoffice.org/24264
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-20 17:17:19 +00:00
Stephan Bergmann
e8425c4810 loplugin:salbool: Warn about uses of sal_False/True
...that can generally be rewritten as false/true, and sometimes could hide
errors, see e.g. <5be5f00fe16b0e255b31fbaba5f119773d1cd071> "So this is
apparently about right-to-left levels, not a boolean flag".

Change-Id: Ib39a936a632c2aab206f24c346252e31dcbb98f3
2016-04-20 17:27:33 +02:00
Stephan Bergmann
f3059ab1dc loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I96cef821fc1d87963b8928af5dfc8ba97557da74
2016-04-20 17:27:32 +02:00
Stephan Bergmann
ef0161b649 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I2f5c4c341c4c38e1603748fb7c1f50e42547d005
2016-04-20 17:27:32 +02:00
Stephan Bergmann
5ef76efb40 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5896c6b8bf2aa9c7c66ca5f7c50cee1b0738ea0a
2016-04-20 17:27:32 +02:00
Stephan Bergmann
2170e2f230 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I38560113652ac39104b942a4cb80b1e03944513c
2016-04-20 17:27:31 +02:00
Stephan Bergmann
d88ad8b99d loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5f38167cc2fd0104ad388c63f766bda6acae96e2
2016-04-20 17:27:31 +02:00
Stephan Bergmann
d81c4d2af9 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Iee861bbf1c7a8bf02ec5f04f0ff936e54cfec7b7
2016-04-20 17:27:31 +02:00
Stephan Bergmann
d0a271e9ea loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I94b3d976bd6d4cd3ce918668a5a921857675b6c9
2016-04-20 17:27:30 +02:00
Stephan Bergmann
ed36962e46 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I0bdb1669eff6b2e2fbecae7d1cc720dfc0d53c20
2016-04-20 17:27:30 +02:00
Stephan Bergmann
df10d8ae13 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I97ad48b13fc5c134fea5a2a85001bbfefe6793f5
2016-04-20 17:27:30 +02:00
Stephan Bergmann
4f8756f075 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I57c1bd476183c941a70cc0c60fd4e42bbe95ccb2
2016-04-20 17:27:29 +02:00
Stephan Bergmann
db67f6f408 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ife577280d5176d9f48bff719c7b52fc829ae49f1
2016-04-20 17:27:29 +02:00
Stephan Bergmann
f9ec240046 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie47a53763332119d290ebe5646af987ddd44be9d
2016-04-20 17:27:29 +02:00
Stephan Bergmann
1c71c60d59 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ib340ec1731cba5a4409f0e8d8bdde48753312672
2016-04-20 17:27:28 +02:00
Stephan Bergmann
b7e28df9bb loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I04d2884dcb81482c5c3450c98cccb36096a126d4
2016-04-20 17:27:28 +02:00
Stephan Bergmann
caae9ec4e0 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: If03cdd1fc6943c3783cedf8b735c8a29a3ecd0c7
2016-04-20 17:27:27 +02:00
Stephan Bergmann
c838f2ed9f loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie66903c2aae5535a507e1549b58d892b80237842
2016-04-20 17:27:27 +02:00
Stephan Bergmann
2c6840eb95 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
2016-04-20 17:27:27 +02:00
Stephan Bergmann
bb34461d28 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Iadc107a89e6c489bf5261042ec6853a1354c434d
2016-04-20 17:27:26 +02:00
Stephan Bergmann
a34ded25d6 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I706d2b85ba6a49ee34f9fe88a960943e87079902
2016-04-20 17:27:26 +02:00
Stephan Bergmann
58a6d1f042 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I4a86e2484adfafb53831b9e1e9971514f017ce36
2016-04-20 17:27:26 +02:00
Stephan Bergmann
c763ceb4a6 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3a3295b538e79186914390b6da73cc8bc25419a5
2016-04-20 17:27:25 +02:00
Stephan Bergmann
88338ed629 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Iae070e04800fec430f630dad1cd4265c1717a59d
2016-04-20 17:27:25 +02:00
Stephan Bergmann
9a10b6f1ff loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ib9ede3670960728cef12eaa9c082340426724843
2016-04-20 17:27:25 +02:00
Stephan Bergmann
efd8f9224c loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ic748f5d0df9622aae0faa600fe13f82103bbf4bf
2016-04-20 17:27:24 +02:00
Stephan Bergmann
982a2c06a9 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I97f0ed6c3f4fa36523b6ecc05ab8b4e79a3a3c91
2016-04-20 17:27:24 +02:00
Stephan Bergmann
a8884ad99c loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3cb9226ef6bebb5062abfae312dce95f0ef74385
2016-04-20 17:27:24 +02:00
Stephan Bergmann
259ece83e9 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I0a24f0d6fa58407f9e365a5c812743151b88513b
2016-04-20 17:25:50 +02:00
Stephan Bergmann
0003e99b39 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Iae2e695c26e19275ea02bc6737c311d31a45e1d7
2016-04-20 17:25:49 +02:00
Stephan Bergmann
4b9573ba66 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ic3e7658ccfd23fa29af46eac971deac5a0373377
2016-04-20 17:25:49 +02:00
Stephan Bergmann
67187c1417 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I9b99327d58a63dfa5c292784cefb4894ee6d7fa8
2016-04-20 17:25:49 +02:00
Stephan Bergmann
607b6ced16 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I923b1b92f07c2db6d88c7682f1733fd8fd765f90
2016-04-20 17:25:48 +02:00
Stephan Bergmann
f2966da111 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie9914a13b46de54897a031e40b6176455b7831fb
2016-04-20 17:25:48 +02:00
Stephan Bergmann
abe81a0b7b loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I6c656f991999791469015500aff1905fdb16ba65
2016-04-20 17:25:48 +02:00
Stephan Bergmann
b8f04b740f loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I0a21a23a2f8b9e87f53283c88973109dd54af1b4
2016-04-20 17:25:47 +02:00
Stephan Bergmann
cb30036c3c loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ieee84933a3067cada2e8105ac61db994f282c383
2016-04-20 17:25:47 +02:00
Stephan Bergmann
d3415256cf loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I015b172ea88eef9af37303fafa4bdf9749f114b0
2016-04-20 17:25:46 +02:00
Stephan Bergmann
ac6dc5751e loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I886fa2cc662072ad746d3828ba66bbd368121de8
2016-04-20 17:25:46 +02:00
Stephan Bergmann
2a455e4a36 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I1879dece7dfb206dd55b13ca5572b962e20d37f5
2016-04-20 17:25:46 +02:00
Stephan Bergmann
398027e8b2 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I379e89e1e6b9fd8668ba7ac59af33f63487a4f66
2016-04-20 17:25:45 +02:00
Stephan Bergmann
14fc21bd30 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I810c4a1fe48f66833ef8f67796d910d59ba994f6
2016-04-20 17:25:45 +02:00
Stephan Bergmann
227f6998d5 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie511eeb586e8c592bc255a09eff1bcf673a29ea9
2016-04-20 17:25:45 +02:00
Stephan Bergmann
53b57f3ec4 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ic81341bfb5d2271993451c3bdcf6e94222ac6ec2
2016-04-20 17:25:44 +02:00
Stephan Bergmann
99b05d1169 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idd106e7ab94a7377807872d7742263225b22da28
2016-04-20 17:25:44 +02:00
Stephan Bergmann
0f1e032431 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ia4afa4cc65215053ac44cc0b48e528064837c49e
2016-04-20 17:25:44 +02:00
Stephan Bergmann
73b9846e82 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I689887a14e6797a83c31069d3fa7a3b20d33a681
2016-04-20 17:25:43 +02:00
Stephan Bergmann
f43b89b7ed loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I65fdd933e2a3973053359024d8d9c733f79a6477
2016-04-20 17:25:43 +02:00
Stephan Bergmann
b347e5da87 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3f7f71f05db09219f0de3ec14bdb56bd16fb0c8d
2016-04-20 17:25:43 +02:00