summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-07spelling dialog always leaked hereCaolán McNamara1-8/+8
Change-Id: I00c96bbfe7106a09c0a8aa09f3209537bc3d2b07
2015-07-07Fix some misspellingsTor Lillqvist2-2/+2
Change-Id: Iff2303650e1dcfc56064907a28df1c4c452eac56
2015-07-07Replace GetAppData(SHL_SVD) with an rtl::StaticStephan Bergmann1-0/+9
Change-Id: Ie1ccffe5461475a0425891861f825aeea149e876
2015-07-06tdf#83541 Redraw the last used color after theme changeMaxim Monastirsky2-2/+24
That's not what XSubToolbarController was originally designed for, probably, but it has more in common than otherwise. A split button offers a dropdown with some functions, and the main part of that button updates with the last selection, to easily re-apply it. This is based on the change made in commit dd69bde36a4ee4636933a80c0291486593a37670, so that updateImage method is called once an icon refreshing is requested. Change-Id: I6bd15638665f917ed7060886cd7835cdcd1a34f9
2015-07-06improve the returnbyref lopluginNoel Grandin6-8/+8
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06remove some unnecessary typedefs around uno::ReferenceNoel Grandin5-21/+17
Not very useful these days, since we have the css:: prefix to reduce verbosity. Found with a search like: git grep -nP 'typedef .*uno::Reference.*<.*>\s+\w+;' | grep -v 'std::' Change-Id: I16f41c53837ec5c613545ae45df38b0daddcbadd Reviewed-on: https://gerrit.libreoffice.org/16730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-05Convert NUM_PAGETYPE_ to a scoped enumMaxim Monastirsky2-21/+13
Change-Id: Iddc194a0d8f77e307c05bd3dfef1fc30568173c1
2015-07-05SfxToolBoxControl::GetPopupWindowType seems unused, kill itMaxim Monastirsky14-99/+0
together with SfxPopupWindowType enum. Change-Id: Ia0b2388b34c96bb044f1bfcc7e89b33ac37d5f95 Reviewed-on: https://gerrit.libreoffice.org/16766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-04coverity#1309261 Unchecked dynamic_castCaolán McNamara1-4/+3
Change-Id: Idea3a9f3465387680b814dc53ed4c0b13265f9f6
2015-07-04coverity#1309266 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ic13df34772a448f654924ca6076cb5bc92ea3883
2015-07-04Fix typosAndrea Gelmini20-23/+23
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03tdf#92241 fix crashes and rendering of symbol set previewsLászló Németh1-1/+18
Change-Id: I43397f2b0caa31c334f87acf11fc96df2e051ad8
2015-07-03fix deselect of textbox on slides with images in underlying masterCaolán McNamara1-23/+28
The original work of tdf#55430 tries to select an object under another one on the second click, but these images are unselectable so this fails. Red Hat has a whole new shiny bunch of templates which have such images in their masters. Check if the object is selectable before continuing Change-Id: I182abaf50e8bb1084c5819dc9e1ffd8b386a9e93
2015-07-02some other coverity thingsCaolán McNamara2-3/+3
Change-Id: I89ffd2b918f8707cde1b1d015c1ad35ef484b69c
2015-07-02stray printfCaolán McNamara1-1/+0
Change-Id: I27ca497bcfbb0e3ed82066fd1c953b39763a2e99
2015-07-02coverity#1309051 Uncaught exceptionCaolán McNamara1-0/+1
Change-Id: Ia1ae16d9560c1eac294e29445e71dcee49ed16ce
2015-07-01tdf#86179 inc/dec font is missing in some shellsMaxim Monastirsky1-1/+0
Mostly in Calc, but also for the SwAnnotationShell. Also replace the current code in SwDrawTextShell with a call to EditView::ChangeFontSize. The latter is able to handle text with different sizes out of the box. Change-Id: I4b55da579ea51683140bce0544e481606d7e5f3e Reviewed-on: https://gerrit.libreoffice.org/16658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-01SdrPaintWindow: no own buffer for rendercontext-enabled vcl::WindowsMiklos Vajna1-2/+2
The buffered overlay manager paints using a timer, which is problematic if the given vcl::Window already supports double-buffering itself, so always use direct (to the rendercontext) painting in that case. Change-Id: I93144c02814fd511f333224ab058374c7da369f0
2015-07-01svx: linystyle -> linestyleMiklos Vajna1-1/+1
Change-Id: I08c60396d66a15ee94c7010753540c4e7fb3a0db
2015-06-30Fix typosAndrea Gelmini1-1/+1
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-30remove some unnecessary typedefs to pointerNoel Grandin1-10/+10
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2015-06-29tdf#84381: Improved sidebar selection analyser for Calc and Draw/ImpressRishabh Kumar1-10/+14
Disables the area tab when a line is selected Change-Id: Ib02a68fb548a7cc10f9af7e0d1b6191119f18915 Reviewed-on: https://gerrit.libreoffice.org/16165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-06-29Resolves: tdf#92275 impress grinds to a halt constant swapping imagesCaolán McNamara1-8/+13
This reverts commit 6c84442f99de109b585d3ba8964deb8dcf261c0f. "tdf#87820 Images not displayed properly in Calc" and replaces it with an alternative solution Change-Id: Iecb560d43767f0e41e442a307eefcdcecb7589ef
2015-06-29coverity#1308463 Uncaught exceptionCaolán McNamara1-4/+4
Change-Id: If0308eb0068951af425cb691672b915decc384a2
2015-06-29Hiding the line style label in sidebarRishabh Kumar1-59/+72
Fixes the cropped controls. Change-Id: I08d59ccd40e745148f9f6a4d5f61e507697b3ce8 Reviewed-on: https://gerrit.libreoffice.org/16436 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-29Partially revert "svx, canvas, desktop: gb_OBJCXXFLAGS are not needed at all"Andras Timar1-0/+4
This reverts commit 601d7d38628bf93218fba15249c4654ae24e7396. desktop and svx need these flags in case of OS X sandboxing Change-Id: Ib811aa53bc2d71839961cdcea0dd4836ebdbc38c
2015-06-29coverity#1308571 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ib844cbd5c5d7be28e4ee2922caf06fb43c7b8a46
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin2-4/+4
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29remove custom RTTI from SdrObjUserDataNoel Grandin2-4/+0
nothing is using it Change-Id: I9f86b7766b40cc2c4b725795b138e008b915c4fb
2015-06-29remove custom RTTI from XFillExchangeDataNoel Grandin1-2/+0
nothing is using it Change-Id: Ie626fcb7f35d98294ec41620c679d46a34a77d90
2015-06-29remove custom RTTI from SvDataCopyStreamNoel Grandin1-1/+1
nothing is using it, except perhaps for XFillExchangeData, which was using it incorrectly :-( Change-Id: Ib9246a20bc97ad91d3e3e97fa642217686fc8c46
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin2-4/+4
since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-28coverity#1308564 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Iffb972ca2b89f8b943ec54db4d22db6b7052ab5f
2015-06-28coverity#1308549 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I9d3086465b9ea6a4aac606b6464abfbfd71dc3ea
2015-06-28coverity#1308547 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I7ac0ce93a6cef3091e86bbc6d95e6c2a27cd2e3f
2015-06-28coverity#1308545 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ic2f04532680f0742ea11ab793fe2366d55cc7376
2015-06-28coverity#1308544 Uncaught exceptionCaolán McNamara1-3/+1
Change-Id: Iebc59db0f9c6738da316c18f18eaefdbfed35936
2015-06-28coverity#1308537 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I5debb6c3fe00b13134d9efa152d86e41fc6d3fe3
2015-06-28coverity#1308509 Uncaught exceptionCaolán McNamara1-4/+1
Change-Id: I6313447f6b62e5ab2a233bd418508afb84b9473b
2015-06-28coverity#1308508 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ibe262b89ed66830444edefa93f971b353d2f16ce
2015-06-28Fix typosAndrea Gelmini3-3/+3
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28coverity#1308503 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I3ee78e7f4e6208523f4f47af974ccff82f6b823d
2015-06-28coverity#1308484 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I2c39d20f1abbfd5c2145d64871699c7e34023d99
2015-06-28coverity#1308483 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I7d778173ecff7c343b289eb371b53b825f6cc301
2015-06-27coverity#1308460 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Idb239c4bcfa9cd593977425555702cf746272dd2
2015-06-27coverity#1308458 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I5ce9e4886768bb84190213db76af29ab1d850093
2015-06-27coverity#1308457 Uncaught exceptionCaolán McNamara1-3/+1
Change-Id: I922748783f3507268dfb713c6366ea20ff5e9a41
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann3-12/+11
Change-Id: If1ad4df75f592c5f9bfedb490243526007fff35f
2015-06-25implement equalize width and height for impress/drawCaolán McNamara4-0/+113
Equalize width/height adjusts width/height of selected objects to the width/height of the last selected object. Change-Id: I7c222a6591112cb674322d310ebd87f04a9198bd