summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06Make OOO_EXIT_POST_STARTUP behave more nicely when blankMatthew J. Francis
Change-Id: I28bc8027908225d78c9543f3813d3bfe3818451d Reviewed-on: https://gerrit.libreoffice.org/11264 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06fdo#56562 OSX: Update URL in Writer title bar when saving .docMatthew J. Francis
Change-Id: I839ee3fd76d9c5666dd7f82cba26596c80ff2602 Reviewed-on: https://gerrit.libreoffice.org/11106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06fdo#82078 RTF import: fix bold text spilling over to non-bold textMiklos Vajna
Regression from commit 41890bf714803969515578b47e63fa9730ea7090 (fdo#54473 fdo#57133 fix RTF import of character styles, 2012-12-04), the problem was that the style undoing magic introduced in 1be0a3fa9ebb22b607c54b47739d4467acfed259 (n#825305: writerfilter RTF import: override style properties like Word, 2014-06-17) was not used for character styles. Change-Id: Id31cfd5574a83bcf2895f0c2fd496fa60791cbb3
2014-09-06clang does not like gnu++11 that much, use c++11 insteadMarkus Mohrhard
Change-Id: I82c3a4da388cf436ba4f5380c5833a451e28cfd5
2014-09-06How the hell did this survive 14 years? Kill it!Markus Mohrhard
No need for a ugly static variable that just causes pain. Change-Id: I751f58a5dcfdeaa7bfd61f32ccbc13eaaf827632
2014-09-06Fix build: narrowing castMatteo Casalin
Change-Id: Iebcc89019dc5c482ab00743071002e2983e65469
2014-09-06sal_uInt16: use more proper types, avoid unneeded casts, constifyMatteo Casalin
Change-Id: Ic30441307eaa391868ffbb85a67d1c0327258084
2014-09-06Use more suitable integer types, avoid conversions, constifyMatteo Casalin
Change-Id: I6b7a3b763ea3e2dc6d327c61668fa413fbc60a07
2014-09-06No need to differentiate between 1 and 2: only !=0 mattersMatteo Casalin
Change-Id: I981472a0b33c6f35f87d891fc7b70c92e621bf95
2014-09-06Reduce scope and avoid casts at each call-placeMatteo Casalin
Change-Id: Iade7f5e174b74ea156c0e0bafc5c7c72e4b86dbd
2014-09-06sal_uInt16 to more proper typesMatteo Casalin
Change-Id: I3728f29e6cb869b3b5e27afd2c1dcdf857fd96de
2014-09-06Simplify by early bailoutMatteo Casalin
Change-Id: I9815ced0495f3066f8b6477794f33bbd77c613ca
2014-09-06sal_uInt16 to more proper types, group a test into a boolMatteo Casalin
Change-Id: I4763e1dfd3d674d36063bada83373a6e45c97303
2014-09-06sal_uInt16 to more proper types, constifyMatteo Casalin
Change-Id: Ic587040d62eb02cc2e1907eee2190e0af95d959d
2014-09-06Use arithmetic instead of while loopMatteo Casalin
Change-Id: I35738f09ec562815f74643a547505efb6d9a0bfe
2014-09-06sal_uInt16 to more proper types, constify, avoid unneeded castsMatteo Casalin
Change-Id: I6e7d2c9861e9e004a48595d77b919c37409142f1
2014-09-06SwNoteURL: remove Count and GetURLNote, used only internallyMatteo Casalin
Directly access data member and switch from sal_uInt16 to size_t Change-Id: I8544463dabc099aa94ae0281e636dbf7835c23b4
2014-09-06Simplify by early bailoutMatteo Casalin
Change-Id: Id6697760f6037f3a11d5b72d1727e48fb3ec6b56
2014-09-06Remove unneeded castMatteo Casalin
Change-Id: Ia5ed84488d14e6e779d62e9903c1350b703ad3c6
2014-09-06Use for loops and more proper integer types, constifyMatteo Casalin
Change-Id: I3d4dc54f4178b5607dc75352696228410d08e38e
2014-09-06Remove unneeded local scopeMatteo Casalin
Change-Id: I51fe6e130006fdca547abe99a44117f710d1e776
2014-09-06Use enumeration directlyMatteo Casalin
Change-Id: I5b537bb863eafa9e508c7298c611b0d1c0145d77
2014-09-06HasKana() can be privateMatteo Casalin
Change-Id: I6c26cbf71214dbd307291fdbb63dd3af74a3a4e5
2014-09-06sal_uInt16 to more proper types, constifyMatteo Casalin
Change-Id: I2924f1f8c6ac0e82340293f92656541ffecbcf24
2014-09-06Use more proper types, constify, avoid unneeded conversionsMatteo Casalin
Change-Id: I7f1f587c39b9221363e90aea2cf7ed468ce5aac0
2014-09-06Use more proper types, constify, avoid magic numbersMatteo Casalin
Change-Id: I15d0fd7de815398ae7323209c5e1d3613b722401
2014-09-06sal_uInt16 to more proper typesMatteo Casalin
Change-Id: I2ad19b46825650f448f921e2bbc1b71ec6314be8
2014-09-06sal_uInt16: use more proper types, avoid unneeded conversions, constifyMatteo Casalin
Change-Id: I1ee108cca17964e20a9cd780d07f8912d6828fdc
2014-09-06Cleanup some core-case loops left untouched by my previous commitMatteo Casalin
Change-Id: I0e9575a5ed5e2a4aebe112bf41fb07f179b3f411
2014-09-06SwSortedObjs: Count() to size() and use size_t consistentlyMatteo Casalin
Change-Id: I80fa39e9790a0dfff9d4afb534be119eb593b60d
2014-09-06sal_uInt16 to sal_Int32Matteo Casalin
Change-Id: Ib254f645718e461648a28ef0a9e0875a077b32f6
2014-09-06Reorder data members and initialize all of themMatteo Casalin
Change-Id: I42cf63602fa5f15d199fc70e9c343f481e8668e2
2014-09-06Avoid temporary OUStringsMatteo Casalin
Change-Id: If178bdbf13bbea3eb810267f207855bf6e2a6bda
2014-09-06sal_uInt16 to sal_Int32Matteo Casalin
Change-Id: Ie88f25149e12fecb4f932954ddbe7adc868acfc2
2014-09-06Improve readability by early bailoutMatteo Casalin
Change-Id: Ie6616f886d58c756df10ae917ced07c82cae7f61
2014-09-06Avoid lookup table: just one single special caseMatteo Casalin
Caller uses indexes from 1 to GetFormMax(), that is AUTH_TYPE_END+1 for TOX_AUTHORITIES and is smaller (23) that the number of entries in the lookup table (30). The index is compensated for this offset, so that the following check for special case AUTH_TYPE_WWW is correct, but no checks on maximum value are performed since it should have never reached the last special item of the table anyway. Change-Id: Idd85e509da1e8ab4cdda0070f513c4e07008d410
2014-09-06Reserve vector capacity in advance and avoid copying itMatteo Casalin
Change-Id: I98d1d6fdf6c4646486a751c34e79bddf771b83a9
2014-09-06Reserve vector capacity in advance + minor optimizationsMatteo Casalin
Change-Id: I04eea6825c02ea0c076b525e58a1dc86dd290b64
2014-09-06Avoid copying containers for local helper functionsMatteo Casalin
Change-Id: I9ba47e8a53a37cbeb2e8d0e197094531edbaeb4c
2014-09-06sal_uInt16 to size_tMatteo Casalin
Change-Id: I64bc6daa0585686c4d337a5c32ed7009b96fae0c
2014-09-06sal_uInt16: use more proper types, avoid downcasts/temporariesMatteo Casalin
Change-Id: Ib76af3f664dc259e8596d33492bd078c9e4536bd
2014-09-06Group some more common code and reduce castsMatteo Casalin
Change-Id: Ib2f23f098377a07237cdba973edd8e854db05625
2014-09-06Make GetDefaultFontHeight() localMatteo Casalin
Change-Id: I91dad2b1f806a1b7fab823e590ff97121ad5db31
2014-09-06Avoid unneeded downcasts, constifyMatteo Casalin
Change-Id: Iefd16f2b1d03a0fcd4745d3dd5622f189f1d4492
2014-09-06sal_uInt16: avoid unnecessary casts, constifyMatteo Casalin
Change-Id: Ia9bf83054d08d73711bb3f6e83d316ff55e4798c
2014-09-06Group common code into a local helper functionMatteo Casalin
Change-Id: Idc81a30787d09fb8008355251aad282df981cbbe
2014-09-06sal_uInt16: constify, simplify, avoid temporariesMatteo Casalin
Change-Id: I4eaf9910eec073fad5dac6722661383253912c10
2014-09-06sal_uInt16 to size_t, constify, avoid temporariesMatteo Casalin
Change-Id: I1208f1e98a0ee09263babeffa7554e94ed455434
2014-09-06sal_uInt16: constify, avoid temporaries, reduce scopeMatteo Casalin
Change-Id: I8033385b5edd6baa7b64ef77ca242d76f6bf30f3