summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2015-09-10coverity#1323753 Logically dead codeCaolán McNamara1-54/+47
Change-Id: I6378df91a7f9e51deee17385d395c1f466e928a4
2015-09-10fix crash on rightclicking image in tdf#93675 and pressing escCaolán McNamara2-30/+22
SfxBindings::UpdateControllers_Impl in sfx2/source/control/bindings.cxx has an awesome reinterpret_cast<SfxPoolItem *>(-1) so the unconditional dynamic_casts introduced during the rework of commit fee180f13d48c1fa97a3ecde4b2067e5b0f13fc2 Author: Markus Mohrhard <markus.mohrhard@googlemail.com> Date: Tue Jul 28 18:52:30 2015 +0200 split the line width panel into two pieces explode and die Change-Id: Ic99b5e515bb530b74461155b7e71b7e8814666b2
2015-09-10convert Link<> to typedNoel Grandin1-2/+1
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-10tdf#93243 replace boost::bind with C++11 lambdas in unoshape.cxxn.r.pearson1-2/+1
Change-Id: I0f87956800e741a837f3492aa76968df35b692ec Reviewed-on: https://gerrit.libreoffice.org/18449 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-4/+0
...ever since the function's introduction with 0a0a9b32aa5bf1ce2554ad37cbba3c7a105db2b5 "121420: merge sidebar feature from branch into trunk" Change-Id: Id52548f16d12ddbd4620508863a53dce72d6c856
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-11/+4
...ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import" Change-Id: Ie9fc697361f7677dae0d62ebb62a7db45e5cbe37
2015-09-09Missing break?Stephan Bergmann1-0/+1
Change-Id: Ib02285875eb354f38dfa1b86cacc3e59fcebb94b
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-13/+0
...since 120e469d176026ceb59abbf74d2ad255323cbc9a "i#115391 better support for MinTextSize settings" Change-Id: I7d09b2a9341c9798ea4b1ca2047b9504361e27e3
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-13/+0
...since the SdrInsertReason ctor lost its second parameter in 1d852b32d7ad89b2317c04958060f366f8922ca4 "loplugin:unusedmethods svx" Change-Id: I2db0b5b87c50c29113f7a9ef2de065ee32cce8d7
2015-09-09SdrObjEditView::IsTextEditHit effectively ignores its nTol argumentStephan Bergmann2-16/+7
...ever since nTol=0; // Joe am 6.3.1997: Keine Hittoleranz mehr hier had been added into it sometime prior to fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import." So lets assume Joe meant that as a permanent fix rather than a temporal hack (which would have survived for longer than 18 years anyway). Change-Id: Ib30ac8d578f70c861d4c0f5f71bf4c13e9281db8
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
...ever since that block of code got added into SdrCreateView::EndCreateObj with b3a18f15738c308d1879b0c24204cf1660c640c1 "#83403# Use one common method for inserting scenes into scenes." Change-Id: Icd89d5ef2fa0601f82fa4b7d7610c709d49269af
2015-09-09convert Link<> to typedNoel Grandin2-7/+3
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c Reviewed-on: https://gerrit.libreoffice.org/18431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09convert Link<> to typedNoel Grandin1-2/+1
Change-Id: I4fba6bf5b34b086a11659de3cddf46c76007a147
2015-09-09convert Link<> to typedNoel Grandin5-27/+15
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
2015-09-09convert Link<> to typedNoel Grandin1-7/+5
Change-Id: I49bf8192a2f5295890ead8ddc2452a5de4c93b20
2015-09-08convert Link<> to typedNoel Grandin2-4/+3
Change-Id: I2977a0fcd18bd719b30cb4100501058884069572
2015-09-08convert Link<> to typedNoel Grandin1-14/+13
Change-Id: I2bcfd0f99e5caa12dda0a647daaffb7c8aa95d6a
2015-09-08convert Link<> to typedNoel Grandin2-20/+17
Change-Id: I90bc5b2859bde8a43be906afec4154fe43b47a86
2015-09-08convert Link<> to typedNoel Grandin4-27/+13
Change-Id: I0406faf872833dbe315a89c5b2b3c28f1c9f87a4
2015-09-08convert Link<> to typedNoel Grandin2-3/+2
Change-Id: Ibadfd1d3e954be456c7b35957bd12c1d9ecd8932
2015-09-08convert Link<> to typedNoel Grandin1-12/+9
Change-Id: I206430e6cb32235b0ac47781fe586c3e374bfc17
2015-09-08convert Link<> to typedNoel Grandin2-11/+4
Change-Id: I46e3f994d134f519258046f56263b4a42c1d97c2
2015-09-08convert Link<> to typedNoel Grandin3-6/+6
Change-Id: I4efbef7fb2024212fca679099a40c2b84081c5f4
2015-09-08convert Link<> to typedNoel Grandin1-23/+0
Change-Id: Ia7bdaa3a02af8f81884d81d60c0f135af2f8aeae
2015-09-08convert Link<> to typedNoel Grandin16-50/+52
Change-Id: Ia2706c308c6297d05b2862e9f86fc0f2ee90e4f0
2015-09-08convert Link<> to typedNoel Grandin6-17/+11
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-07svx: fix font rendering in the style previewMichael Stahl1-23/+32
If the style does not actually have any font items, as is the case for frame, page and number styles in Writer, the maFont will be default-initialized and the maPixelSize incorrect. Avoid using these variables. Change-Id: I084cd8faa90a3d53310ceec55e8dae3af3dd586c
2015-09-07tdf#91383: sw: prevent style preview from actually creating stylesMichael Stahl2-33/+38
The dialog/sidebar should not actually create styles that don't exist yet, because it messes up Undo and the (unused) styles are then unnecessarily exported to documents. Due to Writer's ... unusual SwDocStyleSheet class this is a bit tricky. Add a new function GetItemSetForPreview() and use it from the style preview code. The implementation does not use FillPhysical so will temporarily create and then delete any non-existing styles. Skip page and numbering styles for now since they don't have a useful preview. (regression from ca95307638207db5d662059aa61594151a13e927) Change-Id: Id6ee30ea467fc24c991547a4c23a9ce14fdd86c7
2015-09-07svx: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe56-117/+113
with the variadic variants. Change-Id: Id881385b2653da2ee89498afbd6453d40acaea83 Reviewed-on: https://gerrit.libreoffice.org/18358 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-07WaE: implicit conversion of literal of type 'int' to 'bool'Tor Lillqvist1-1/+3
[loplugin:literaltoboolconversion]. Change-Id: I815a41b0bc36aea3757ce3458688e92862f732cd
2015-09-07convert Link<> to typedNoel Grandin8-63/+63
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1 Reviewed-on: https://gerrit.libreoffice.org/18357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04tdf#93928 don't hide the zoom slider and its handle with a tooltipLászló Németh2-6/+2
Change-Id: I8e5a3a02e80b845ef65dfed35cc3c324197ed88c
2015-09-04Fixes memleak by allowing SvxFontNameBox_Impl dtor to be calledDennis Francis1-1/+1
Discussion of this memleak is at http://lists.freedesktop.org/archives/libreoffice/2015-August/069883.html Change-Id: Ie426d7664c4f6901a1877741cdced5b65c51be3f Reviewed-on: https://gerrit.libreoffice.org/18073 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-09-04tdf#92843: fix disappearing zoom sliderLászló Németh1-10/+2
Change-Id: I2b45b7cf96af7950cf097c2b6a880e9eda021184
2015-09-04convert Link<> to typedNoel Grandin2-5/+5
Change-Id: I42eba6c9b6295d94dddc49942d47d59f474bfd28
2015-09-04convert Link<> to typedNoel Grandin1-3/+2
Change-Id: Ibf658f42227ee3f4277f0089b6f8a8ac771dab1a
2015-09-04convert Link<> to typedNoel Grandin1-2/+1
Change-Id: I1acb6462aa32a0ee61e8ede3ed3e9607b8069298
2015-09-04svx: prefix members of SdrPaintViewMiklos Vajna15-344/+344
'mpModel=pModel' is more readable than 'pMod=pModel1'. Change-Id: I617d85e2c2d4b6b5b0d235cdd3cd9129e276b28d
2015-09-04convert Link<> to typedNoel Grandin2-6/+5
Change-Id: I5469c9983ef94b418b729af841f8db10b9116667 Reviewed-on: https://gerrit.libreoffice.org/18316 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04convert Link<> to typedNoel Grandin3-8/+4
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04convert Link<> to typedNoel Grandin3-6/+3
Change-Id: I4d6c37e82a5b96c09b989df248f94f0afe228b46 Reviewed-on: https://gerrit.libreoffice.org/18305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03Restored missing includes from source files.Ashod Nakashian11-4/+11
These source files relied on pch to include these missing headers (at least on Windows). Also included the script used to find the missing includes. The script is self-contained and includes unittests. It detects superfluous includes and required includes (which was used to restore the includes in this patch). Change-Id: I7ee09e5c712f42d5f6c3524898bc62dda78f5cc0 Reviewed-on: https://gerrit.libreoffice.org/18208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03-fsanitize=vptrStephan Bergmann1-14/+14
Change-Id: I59b43ca9c42c63ca9108620ead00349c24bf91b1
2015-09-03convert Link<> to typedNoel Grandin2-4/+3
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03convert Link<> to typedNoel Grandin2-4/+2
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-01refactor to create a HasMarked, no logic changeCaolán McNamara2-26/+31
Change-Id: I667a8582a740f5fbbcdbcd82907e40e82f6165a1
2015-09-01implement undo of delete impress cell contentsCaolán McNamara2-2/+18
Change-Id: I7aa99f3a6668e66b8d02e20b7ea1cf0862e5d760
2015-09-01Related: rhbz#1255200 apparent missing stylesheetCaolán McNamara1-6/+11
Change-Id: Ice9a860ca839d37308b5c2f2eb639852fefe1d15
2015-08-31tdf#73071 Enable styles content panel in calc and fix spacing issueYousuf Philips1-1/+0
Change-Id: I43f5d8ef5ca7c5fbd598d866622e6cbb1159f2a0 Reviewed-on: https://gerrit.libreoffice.org/18176 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-08-31convert Link<> to typedNoel Grandin1-3/+0
and remove some dead code Change-Id: I6a42dbaea5053b4aa3c47b3f154410b05f32dfe4