summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2015-11-09Prevent += called on temporary O[U]String instancesStephan Bergmann1-5/+3
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b "EditUndoRemoveChars::GetStr must return a reference" and dubious code 0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies directly fixed in this commit. Introduces HAVE_CXX11_REF_QUALIFIER. Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-09new loplugin: oncevarNoel Grandin4-36/+19
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06coverity#1338251 Uncaught exceptionCaolán McNamara1-0/+5
Change-Id: I92f1a05b7fb6718a0b74f7a792df250147a26137
2015-11-06coverity#1338250 Uncaught exceptionCaolán McNamara1-3/+1
Change-Id: I0c78b48213b4a638eca86eb9481974f49bc35319
2015-11-06coverity#1338240 Uncaught exceptionCaolán McNamara1-2/+1
Change-Id: I3b1b1c9745cae1dd7a765769ea761973d0a60134
2015-11-06loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann1-7/+7
Change-Id: If1bbd1f0a51bf9e6ea7a737081389d28c616f3ff
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann40-138/+138
Change-Id: I72d11153ffccc51633aec78c802822173dd7f5ed
2015-11-05_SdrItemBrowserControl: reuse BreakChangeEntry in EndChangeEntryMatteo Casalin1-12/+6
Change-Id: I96667dc89a25455819898b68c2366c4ecef17e6d
2015-11-05Use more proper integer typesMatteo Casalin2-27/+30
Change-Id: I9e1ac9f9a8d1954f570594df58c6421de13c79db
2015-11-05Expand some prefixes ('Brk' to 'Break', 'Beg' to 'Begin')Matteo Casalin2-8/+8
Change-Id: Id4047b656ce53cf754c35fab13216587884da199
2015-11-05Privatize _SdrItemBrowserControl::GetCurrentPos|BegChangeEntryMatteo Casalin1-2/+2
Change-Id: Iea2e8353f4d48e792e3ff8d6e4544df35bea9461
2015-11-05fix tdf#95488, crash in report wizardNoel Grandin3-55/+107
This reverts commit bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 "loplugin:mergeclasses" Change-Id: Ib65459ab45cd4cefa859ed75f9ddc4f070879b1d
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin35-110/+100
Change-Id: I2f8c9cb71a06f7796576509f605796624e654422
2015-11-04tdf#86595 One "Text Background Color" missedMaxim Monastirsky2-9/+1
Change-Id: Ia640b9bc044a8445751f0ebad7f027466c352d1f
2015-11-04loplugin:stringconstantNoel Grandin9-34/+18
Change-Id: Iff0ab7716d76dc44693fca49d341a6fd88b89b01
2015-11-03notifyer -> notifier.Jan Holesovsky2-2/+2
Change-Id: Ic009398d1d00550577d9f25b4d904632b063d54f
2015-11-03tdf#86595 Change 'Highlighting' to 'Highlight Color'Yousuf Philips1-1/+1
Change-Id: I11ef97b4b4589d21afc40e862bb68a512db18831 Reviewed-on: https://gerrit.libreoffice.org/19741 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-02compilerplugins: add "badstatics" to detect abuse of VCL BitmapsMichael Stahl1-24/+6
VCL Image/Bitmap/BitmapEx instances must not have static life-time because then they will be destructed after DeInitVCL() and that likely segfaults. Change-Id: I3ff8d32de729c971b190028094cb4efe206395e2
2015-10-31com::sun::star->css in svxNoel Grandin214-3254/+3209
Change-Id: If2c11fa548c5ebef2297d2491edd837b54e3707c Reviewed-on: https://gerrit.libreoffice.org/19690 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin3-5/+4
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin4-14/+7
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin3-10/+5
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-27tdf#88548 fontwork gallery always have transparent/checkered background.Aybuke Ozdemir2-28/+9
Change-Id: I8995ef12edb64c14788ba3a2c3c1c2ceb3775b11
2015-10-27Fix Cherokee Supplement range (U+ABCO--ABFF is occupied by Meetei Mayek)Stephan Bergmann1-1/+1
Change-Id: I4b7b86be1d0b36c02c6ad6954635d2620266472e
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin2-0/+2
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27sal_uLong/long to ErrCodeMatteo Casalin1-2/+2
Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57
2015-10-26tdf#93487 - protect GetFocus method call post dispose.Michael Meeks1-1/+2
Change-Id: Id61e37e4e9ea62c3dba224e55ddfdc71fb0bfc8c Reviewed-on: https://gerrit.libreoffice.org/19541 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-25Remember the state of "Search formatted display string" checkboxDennis Francis1-0/+2
This checkbox was introduced in the commit 9a85743766e8a063d20d5f93ee88758e243397f4 This patch makes Calc persistently remember the option's setting between invocations of the Find & Replace dialog. Change-Id: I82c1355e85cd16ce13229d495a6d243e185318ad Reviewed-on: https://gerrit.libreoffice.org/19574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23fix indent and simplify returns, no logic changeCaolán McNamara1-21/+21
aka, beat up on its corpse a bit Change-Id: Ia5b8d227083e8f4c1582bf13260e92331740aa82
2015-10-23afl-eventtesting: crash on undoing insert new page in impressCaolán McNamara1-2/+2
this is an intermittent crash in the real world but under event testing we can see that the PaintView is informed that the page has been deleted, but doesn't clear its use of the page if it so happens that there was earlier modification events that caused the fire-modification-timer to be launched If there happens to be no such events then the page is correctly cleared If the timer is active, then the page is not cleared, but eventually the timer will fire and access the deleted page and fall over and die minimal change for backporting ease, follow ups now Change-Id: I090ad62cc175545902574c93dec7082225d97ab7
2015-10-23afl-eventtesting: crash seen on occasionCaolán McNamara1-4/+4
Change-Id: Ib8e33c3dbaf793f9ae57a2d54af34d7e823226ec
2015-10-23tdf#48456 : when searching for a number, consider formattingDennis Francis6-2/+178
Change-Id: I4a1e3e269a269bb37e88aa8810a46d0f4ecfc518 Reviewed-on: https://gerrit.libreoffice.org/19420 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-22Visisble->VisibleCaolán McNamara1-10/+10
cosmetic only Change-Id: I9363e4766d6dfdd9327cfa74e5922f3b51c67fd2
2015-10-22crashtesting+ubsan: kde170880-1.html ANISTOPINSIDE cast to StartInsideItemCaolán McNamara1-2/+2
presumably this is a simple typo and it should be ANISTARTINSIDE Change-Id: I05c6cfb857955c7d418e3997845dd0ef6d2bff36
2015-10-21use a default when avoiding configCaolán McNamara1-0/+5
Change-Id: I5f068a4f8f2f035070ea3ad16bf6d89f7ab0e0fd
2015-10-21add blocks to SubsetMap new in Unicode Standard 8.0 / ICU 56Eike Rathke1-4/+10
Change-Id: I08acd0f6bc1a00b9dbaa6711b09222eff388ad17
2015-10-21add block/subset names new in Unicode Standard 8.0 / ICU 56Eike Rathke1-0/+40
Change-Id: I42685ff22f61f2c6c82439dd23393fd1ac17daa0
2015-10-21refactor out some com::sun::star typedefsNoel Grandin3-34/+17
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-21Upgrade to ICU 56.1Eike Rathke1-0/+26
Change-Id: Icc3d66c16fca95aa890aee6c67c84674fef878fc
2015-10-21remove untyped Link<>Noel Grandin1-7/+2
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO1-3/+3
use std::sqrt in vcldemo.cxx Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee Reviewed-on: https://gerrit.libreoffice.org/18591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-20loplugin:defaultparamsStephan Bergmann26-34/+33
Change-Id: I6bd0482967f35a4fc4c2384e775753c413c52162
2015-10-19loplugin:defaultparamsStephan Bergmann28-62/+62
Change-Id: I4e344e780baae6c9828d0d708dfb0a9390af533a
2015-10-19afl-eventtesting: deref of null GetSdrPageViewCaolán McNamara1-2/+5
Change-Id: Iec3266746c78e58e3c3a094e6511d79dadc4e4c6
2015-10-19afl-eventtesting: deref of null MarkedSdrObjCaolán McNamara1-1/+3
Change-Id: I0fe9cb55de114c7e2ad45cd946e94f9c0e93b85c
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin4-5/+5
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19cleanup some local var declarationsNoel Grandin2-2/+2
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-18reorganise code, no behaviour change intendedLionel Elie Mamane1-7/+4
... at leat in normal circumstances. assumed that the dialog can only return Yes/No/Cancel if it doesn't, then behaviour change, be more conservative and save only on yes. the order between rController->commitCurrentRecord( ) and GetImpl()->didPrepareClose( true ) is changed, that's on purpose. If commitCurrentRecord( ) throws, then don't do GetImpl()->didPrepareClose( true ) Change-Id: Ieb88c04a27e71b313e7f1386d48f370a1e94c6c2
2015-10-18tdf#72205 when saving changes, mark we did a prepareCloseLionel Elie Mamane1-0/+2
Change-Id: I8a86447bdd227621ff7b0b3551798ee343379c74 Reviewed-on: https://gerrit.libreoffice.org/19434 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-10-18janitorial: indentLionel Elie Mamane1-2/+2
Change-Id: I26030811a5da551482b0cc2a18c302160ada6cd6 Reviewed-on: https://gerrit.libreoffice.org/19435 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>