Miklos Vajna
c2ed5f000e
coverity#735942 Unchecked dynamic_cast
...
Change-Id: Id508e771b0f117437671f40060c68122a408e386
2014-03-30 16:43:53 +02:00
Miklos Vajna
1ad901464a
coverity#735940 Unchecked dynamic_cast
...
Change-Id: Ic5acb9afd69dda3fc630a438324ef692950ff2de
2014-03-30 16:43:53 +02:00
Matteo Casalin
b5177c6e04
OUString: avoid temporaries and constify
...
Change-Id: Id6729de5105bb6cd4119a2ac8cf1fead6f8bb4ff
2014-03-30 16:38:05 +02:00
Matteo Casalin
edd0f4792f
sal_uInt16 to sal_uLong
...
Change-Id: I0b854237f52320d8ec98d9278a5552a375aad463
2014-03-30 16:38:05 +02:00
Matteo Casalin
98d2b568f4
OUString: constify and avoid some temporaries
...
Change-Id: Ic5a86644dc0215da5c48c795abb51ee664298d57
2014-03-30 16:38:05 +02:00
Matteo Casalin
1fb58ff790
Constify, reduce scope, use proper types and avoid some casts
...
Change-Id: Ia329afd86f4435122d487bd1146c1b9b52e11144
2014-03-30 16:38:04 +02:00
Matteo Casalin
e31de5159b
OUString: constify, avoid concatenated appends, use != or ==
...
Change-Id: I7e3d2b1afe2c16e9d110b3d83d854de113bc5849
2014-03-30 16:38:04 +02:00
Matteo Casalin
27f07b6caf
Remove unneeded variables
...
Change-Id: I58efa026e1a14ca1f0cf9c9cc3bc5aa3eeb350a2
2014-03-30 16:38:04 +02:00
Matteo Casalin
cad8953432
Constify some OUStrings and avoid some appends
...
Change-Id: Id90d02bab3c3a3b3e2e59097fdf741e2de2b331c
2014-03-30 16:38:03 +02:00
Matteo Casalin
f3f866b5c0
Use more consistent integer types, constify and reduce scope
...
Change-Id: I6ea41796bd42ba47e0070aa172323c7c866c0e16
2014-03-30 16:38:02 +02:00
Matteo Casalin
2fd9ce37b2
OUStringBuffer to OUString and optimize related code
...
Change-Id: I491fd1d1a8430457e681af2df723ef140cedc579
2014-03-30 16:38:02 +02:00
Matteo Casalin
b0760c7fa8
Remove temporary OUStrings
...
Change-Id: I59df3c125084c7c5f12d91a0c2e0eb7f6da882c8
2014-03-30 16:38:02 +02:00
Matteo Casalin
5449ab5a41
Use more consistent integer types + constify
...
Change-Id: If760f0fefa499b2bf03a2aa22f634dbdfff90504
2014-03-30 16:38:02 +02:00
Matteo Casalin
1e5826163a
Some more conversion to consinstent integer types
...
Change-Id: Idca4a41c8c23e7761d8b10a7269f1e50fa74e379
2014-03-30 16:38:00 +02:00
Matteo Casalin
1f1aa85a18
Avoid some OUString concatenations
...
Change-Id: I73c5af00bee383de6e0c39932e91495632eb9dfb
2014-03-30 16:38:00 +02:00
Matteo Casalin
057c882c82
OUString: use isEmpty instead of getLength()==0
...
Change-Id: Iaabfc2fb1f3fdf40681959232dbd7b02b333b877
2014-03-30 16:38:00 +02:00
Matteo Casalin
c060aa3430
Use more consistent integer types + constify
...
Change-Id: I1c35af35661d26b1331bce6193c233aa3c1171a0
2014-03-30 16:38:00 +02:00
Matteo Casalin
42705f6b5e
Do not use accessors for private variables
...
Change-Id: Ia3fc7078a0e0ba2f84b7e0fd94011d6851ccff73
2014-03-30 16:37:59 +02:00
Matteo Casalin
7d87349bde
This file level variable can be static
...
Change-Id: I77d59760e80978d22d8f3cfeaed1c133003de2af
2014-03-30 16:37:58 +02:00
Matteo Casalin
b6bddf965a
Constify some variables
...
Change-Id: I5ca2d66409222e9e9444f6b3d83c583f74494165
2014-03-30 16:37:58 +02:00
Matteo Casalin
f4910a27d3
sal_uInt16 to sal_Int32
...
Change-Id: I278f325925717bcb8bc45afacd6dbf442f0eefbe
2014-03-30 16:37:57 +02:00
Matteo Casalin
3351ebde48
OUString: remove temporaries and repeated expressions
...
Change-Id: I1d86be40c4bde4e8fb51c430c6416165655c055c
2014-03-30 16:37:55 +02:00
Matteo Casalin
b50155ae68
Do not evaluate the same expression 10 times
...
Change-Id: I3feb440e0013ba75b738e4110315c7034ef29639
2014-03-30 16:37:54 +02:00
Matteo Casalin
84ee76302f
Check early bail-out before performing unrelated operations
...
Change-Id: I335a90070221153810e94938cfcfbfe10688071b
2014-03-30 16:37:53 +02:00
Matteo Casalin
1f04f53cc7
Removed OSL_ENSURE since condition cannot happen
...
Change-Id: Ifa71ac9a56ea7ffb5491bdfabc4ec5473e85a02d
2014-03-30 16:37:51 +02:00
Matteo Casalin
f711d01041
sal_uInt16: to sal_Int32/long, constify, reworked some casts
...
Change-Id: I81e13e42619d73346c63689bf4392f924348b4ae
2014-03-30 16:37:50 +02:00
Matteo Casalin
e5734c659f
Remove consecutive appends + minor optimizations
...
Change-Id: I001d958763c5d9104ff9dd24a4d81828e00034c0
2014-03-30 16:37:47 +02:00
Matteo Casalin
c9646ebe43
Constify and reduce scope
...
Change-Id: I42074930dd59875bea4f1b3c0d73400020ea7485
2014-03-30 16:37:47 +02:00
Matteo Casalin
9b1fd4678d
Remove unneeded (and probably wrong) cast to sal_Bool
...
Change-Id: I8fa169749922d1ea015c9009f5a54099bdf40f93
2014-03-30 16:37:46 +02:00
Matteo Casalin
fce1566790
OUString: constify and remove unneeded casts
...
Change-Id: I89825bbb4b0255c5525bc4680194ab0ce37f7f7b
2014-03-30 16:37:46 +02:00
Matteo Casalin
c697b0741a
sal_uInt16 to size_t/sal_Int32
...
Change-Id: I49a479d1fca258d5d3e713454d84a2fcb6fd74c1
2014-03-30 16:37:46 +02:00
Matteo Casalin
6a502f3494
sal_uInt16/short to sal_Int16 + minor optimizations
...
Change-Id: Ia75c12ecdcd33d2013e8c138dfcbb07b8be6a551
2014-03-30 16:37:45 +02:00
Matteo Casalin
91825d5c2d
Rework SwFrmPage::GetAlignment
...
* Early bail-out
* Remove temporaries
* Some constification
* Don't check the same pointer twice
Change-Id: I10e19f8807872e16b6d1419f6a345b6343b17c94
2014-03-30 16:37:45 +02:00
Matteo Casalin
f07dc0e439
Use SAL_N_ELEMENTS for array size
...
Change-Id: Ie6eb631124f0bdbbff8a543babbc22bdd52c0afc
2014-03-30 16:37:45 +02:00
Matteo Casalin
3a2a68a90f
sal_uInt16 to sal_Int32/size_t and some rework
...
Change-Id: Iea599d8d8af6ad2655485dfb7973e73bd527377e
2014-03-30 16:37:44 +02:00
Matteo Casalin
55b4c22d5b
sal_uInt16: to sal_Int32 and rework initialization
...
Change-Id: Ifd5d7a8fd792da9931995ae4982504b68afe8303
2014-03-30 16:37:44 +02:00
Matteo Casalin
4a387e155f
Remove one more OUString concatenated append
...
Change-Id: I7d4d000560c6774ffb691c47f951a191f9a92fa9
2014-03-30 16:37:43 +02:00
Matteo Casalin
0ef07edc59
Remove empty branch in if statement
...
Change-Id: Ifa2713638369f8c77e58f4945570fd3faf137d93
2014-03-30 16:37:43 +02:00
Matteo Casalin
8d62f62566
Fix alignment
...
Change-Id: I8a1ba77649c862eab1f381c678689c435420140e
2014-03-30 16:37:42 +02:00
Matteo Casalin
367d3c9b53
Use getToken instead of indexOf and re-assignment
...
Change-Id: If91343c2334f03cd35f95b79b8e341c6ee355f62
2014-03-30 16:37:42 +02:00
Matteo Casalin
c8f4095e56
OUString optimizations
...
* Remove temporaries
* Remove concatenated appends
* Constify
Change-Id: I94db8071c69568818c94670a4b9c71ab31660ac9
2014-03-30 16:37:40 +02:00
Miklos Vajna
de2050c022
writerfilter: unused sprmcodetostr*
...
Change-Id: Ia35b098033c92fdc7d2313d12b01324ef7232b1f
2014-03-30 16:25:50 +02:00
Miklos Vajna
1478e89e08
cui: unused code in SvxAreaTabPage::ClickColorHdl_Impl
...
Once again this is unused since commit
5627d0bdaf
(Fix #86988#: Redesign of
dialogs, 2001-05-15), and just getting rid of it avoids a crash on
Insert -> Frame -> Area -> Color in Writer.
Change-Id: I4e93b8e5f68c229b3093f60b463bb21173dbd0e5
2014-03-30 16:25:50 +02:00
Julien Nabet
f110f4875b
Typo: manualy->manually
...
Change-Id: I136347660d91c619941fb1036dd77678e0f945df
2014-03-30 15:08:17 +02:00
Andras Timar
4c4ce2c919
fix warning: shadowed declaration
...
Change-Id: If602f8ee11938278ce67c77c909d05272ac585fd
2014-03-30 13:03:30 +02:00
Andras Timar
e7384daa27
fdo#76778 fix wildcard support in File Open dialog
...
Change-Id: Ifbdf6847ddecc7848828247655e729dfe2299b30
2014-03-30 12:55:25 +02:00
Chris Sherlock
4fb1fb5297
Encase graphicsfilter warning in an #ifdef
...
Change-Id: Ib91edb520c4edbbf63e034f174d21c6a74d03929
2014-03-30 17:24:07 +11:00
Chris Sherlock
b6a43bcbbf
Clarify warning in graphicsfilter
...
In GraphicFilter::LoadGraphic() it reports an error code, but that's
particularly unhelpful. Change the warning to actually make sense: I
decode the error code to English.
Change-Id: I3ead54295eda63a8808bb24732d23aa95db0f5fb
2014-03-30 17:11:01 +11:00
Katarina Behrens
654cea3304
fdo#74287: Correctly enable/disable widgets w/ invisible lines
...
Restore pre-ui behaviour - disable transparency & width control,
but keep colour control active when line contains symbols (e.g.
scatter chart)
Change-Id: I4005fc376fa1640c5b9d7e736fbdac7417f0edd9
2014-03-29 22:32:00 +01:00
Caolán McNamara
f754176e0f
coverity#1194898 Logically dead code
...
Change-Id: Iceef129ed11ab4551008eedf765ec0fe5a72c09a
2014-03-29 21:15:22 +00:00