summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2015-06-07tdf#91840: Default to transparent text backgroundKatarina Behrens1-2/+4
(+ label the button) Change-Id: Ie2268d2a6ea0ceb1e8dd9e696db3b9ae613552a1 Reviewed-on: https://gerrit.libreoffice.org/16092 Reviewed-by: Philippe Jung <phil.jung@free.fr> Tested-by: Philippe Jung <phil.jung@free.fr>
2015-06-06Typo: Gourand → GouraudValter Mura1-1/+1
Change-Id: I6c5d4f97bce8f5b29d979e2508e691948e9399fb (cherry picked from commit 346dd51f1b861fc1228fa974c6815f66c5884998)
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin2-2/+2
Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-04tdf#91702 - fix stack-based MessBox allocation.Michael Meeks3-3/+3
Change-Id: I62dd164e281911d9db3de453789a5badc7cd5fd7 Reviewed-on: https://gerrit.libreoffice.org/15954 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-03Fix indent button icons in impress/draw sidebarYousuf Philips1-2/+2
Change-Id: Ib21c2489e1ff420e651e50a2731dfd3f16c9cef8 Reviewed-on: https://gerrit.libreoffice.org/16028 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit ed6b7d972bf1aee323947f22c6b5de430db4a9a5) Reviewed-on: https://gerrit.libreoffice.org/16037 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-06-03tdf#88276: toolbar|sidebar button for text background colourKatarina Behrens7-9/+93
Change-Id: I547a562384d30b95b744673feb284ccbcf50a614 Reviewed-on: https://gerrit.libreoffice.org/16030 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Philippe Jung <phil.jung@free.fr> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-01dispose SfxControllerItem objects correctlyLászló Németh10-10/+17
Change-Id: Id5f80e06e5609b4e85f3d6db7bc37aabe6ef0dac Reviewed-on: https://gerrit.libreoffice.org/15976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-29convert WINDOW_POSSIZE constants to scoped enumNoel Grandin1-2/+2
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert WINDOW constants for GetWindow() methods to scoped enumNoel Grandin3-7/+7
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin1-13/+12
Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert POINTER constants to scoped enumNoel Grandin19-132/+132
Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19 Reviewed-on: https://gerrit.libreoffice.org/15825 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-28tdf#91653 Give this command a saner nameAdolfo Jayme Barrientos1-1/+1
Change-Id: I0cd1d51d1e16019c87e0c615c046a553eb5dc138 (cherry picked from commit ef2e135cfb8f107a154aaab9b54f2dfca0edf6a0)
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung6-10/+10
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-28Resolves tdf#67712 form controls and draw objectsHenry Castro1-0/+1
anchored to cell but changes position after reopening Also included tdf#68797 "FILEOPEN lost position of lines anchored to cell". It was marked as duplicate but the step to reproduce are different. Conflicts: sc/qa/unit/subsequent_filters-test.cxx Conflicts: sc/qa/unit/subsequent_export-test.cxx Reviewed-on: https://gerrit.libreoffice.org/15523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 487880b6882ec01c1b4679eae60bec484272a86b) Conflicts: sc/qa/unit/subsequent_export-test.cxx Change-Id: Ia1c4010f118749256077a0ecad6ca16b867d22f7
2015-05-27Fix accidental mis-uses of VclPtr address-of operatorStephan Bergmann2-2/+2
Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb (cherry picked from commit 668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7, w/o the accidentally included sw/htmlexport-swobjects.patch)
2015-05-26Resolves: tdf#91542 crash on pressing return in sidebar line popupCaolán McNamara2-1/+7
Change-Id: I661a51f84827326dfc33a11a02f8065d68e8333a (cherry picked from commit 2a6aa95a7af11eb091dfa9494cd810998b2e324d)
2015-05-26Related: tdf#91542 line box width cannot be changedCaolán McNamara1-2/+2
Change-Id: Ibbeefcff785ee76a1a7ce46d98c1006fc8fe46fc (cherry picked from commit 2efb9d3c9841397cca3a66714504ee25d2120bd2)
2015-05-26Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks8-24/+10
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-26tdf#91525 - dispose SfxControllerItem member.Michael Meeks1-2/+2
Change-Id: I71b32c1db2f4695deb90412e83b9e7883e9bf1d7
2015-05-26tdf#91431 - fix post-dispose focus issue in color window.Michael Meeks1-1/+2
Change-Id: I7990cbddc8c664da5ec6521cf8e036ca67d5ce0e
2015-05-26tdf#91095 svx: avoid unconditional SdrObject -> SdrObjCustomShape static_castMiklos Vajna1-1/+1
Change-Id: I5ed86633e909c13f14ee382b4d9ec8f9c264df1d (cherry picked from commit 23cba1f55f1937c27c2a1bc27f9d3fd7b1ef1b47)
2015-05-25tdf#91534: Writer crash using Gallery icon in sidebarJulien Nabet1-3/+4
test mpBrowser1 if not NULL + reorder the disposeAndClear calls (must be reverse order compared to the order of Create calls) Cherry-picked from 9be6c22ebc225db4d1be7bb0100a2407e9a8eb0c Change-Id: Ia5481430791d9ab73e63d49a0ef0d5e0a6016605 Reviewed-on: https://gerrit.libreoffice.org/15885 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-05-25tdf#91582 initialize charmap when selecting in SvxShowCharSetTomaž Vajngerl1-0/+3
Change-Id: I3f73eef349e65a1d2d283d1116729694c1f40ed9
2015-05-24mark numbers as untranslatableStanislav Horacek3-14/+14
Change-Id: I5c7c2c5bb0ce615d4dda8a634517b627b7d49df6 Reviewed-on: https://gerrit.libreoffice.org/15871 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org> (cherry picked from commit 4ed06e7af5bc18e65c564339d26d2678abe4f69c)
2015-05-22tdf#91395 - avoid post-dispose charmap crasher.Michael Meeks1-0/+3
Change-Id: Ia3536e0297ecd24f6368b9563002a9888904007a
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier11-73/+73
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin9-11/+11
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert ANTIALIASING constants to scoped enumNoel Grandin1-3/+3
Change-Id: I175b8ea4e8bc01c3cdd3dd90506eba01b35e0085
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin7-18/+18
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-20convert GRID constants to scoped enumNoel Grandin1-2/+2
Change-Id: I73ae63bc5f41f38d1a4e396152808b22e88681d8
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin4-23/+23
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-19tdf#91382 UI: Crash after visiting Sidebar Properties PagePhilippe Jung1-6/+10
When a popup is displayed, no cleaning / disposing is performed. Change-Id: Ibae0f977360f8862f2d7ff4c753356975dec3771 Reviewed-on: https://gerrit.libreoffice.org/15817 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-19remove the last of the OUString #defines in header filesNoel Grandin2-30/+30
Change-Id: Id9e8ce7987e055e83b52c7024413570f262e6e8d
2015-05-18VclPtr: fix recovery dialogs asserts on exitCaolán McNamara1-2/+2
Change-Id: I3f3fcd13cbcf86eb431d499d3394a313dbdf7e47
2015-05-18cleanup LineWidthControlTomaž Vajngerl1-27/+14
Change-Id: I875af6213660ba0fa9831b76c4d72e2092cd0a3a
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl2-32/+30
- Move vcl::RenderContext to outdev. - Change some methods on vcl::Window to accept RenderContext as parameter. - Add ApplySettings to vcl::Window - This method is called before painting. Refactor existing classes that use InitSettings to have ApplySettings or mark the classes to be refactored later. - Add RenderSettings for adding defered settings to rendering. This is similar to ApplySettings but for more ad-hoc calls. Change-Id: I4ea58461f3b6b08ccfa3e0ddd1a4a3e04f8c4f45
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini73-80/+80
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-15window ftbfs: MetaActionType::TRANSPARENT->MetaActionType::TransparentCaolán McNamara1-1/+1
ideally camel case the rest of these for consistency Change-Id: I7f66b8051ea58963ea28d128f73900aefe5d2846
2015-05-15cleanup MyWinTomaž Vajngerl1-11/+13
Change-Id: I6b9606c6d1397cfe919a7a6c1922423fb8b68d5c
2015-05-15convert META_*_ACTION constants to scoped enumNoel Grandin4-73/+74
Change-Id: I8ecfbfecd765a35fafcbcc5452b0d04a89be2459
2015-05-15convert POPUPMENU_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I4cdaf36581d1e1daa39929e621070d18a9996852
2015-05-14convert GRFILTER_I_FLAGS to scoped enumNoel Grandin1-2/+2
Change-Id: Ic1cb9b32fe252706cd607abb2ae1fd5a00999901
2015-05-14convert KERNING_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I58031485aaa9ebdeb986a3ee0376f36a9f667947
2015-05-14refacotr DbGridControl::NavigationBar to use RenderContextTomaž Vajngerl1-17/+19
Change-Id: I0675158d83d37706be60dab430e6b9f7ea749bc7
2015-05-13loplugin:staticmethodsStephan Bergmann1-10/+12
Change-Id: Ia16605c8227573948e2ac750414e9dff3efc2f81
2015-05-13convert FLOATWIN_POPUPMODEEND constants to scoped enumNoel Grandin2-12/+12
Change-Id: I36fea4608c744c941bdff401b649fa46302b4dbd
2015-05-13convert FLOATWIN_POPUPMODE constants to scoped enumNoel Grandin6-17/+17
Change-Id: I744d430ef6a506977eb10b892582c8969ec27524
2015-05-13refactor TableWindow, ColumnWindow to use RenderContextTomaž Vajngerl1-55/+66
Change-Id: I000ac253a57f9fdbb14c700e4a0163c3ba18a7bb
2015-05-13refactor GalleryPreview to use RenderContextTomaž Vajngerl1-56/+59
Change-Id: I0fd307e0db532e9f49ecc0b1431ce59ba869b19d
2015-05-13refactor PopupControl to use RenderContextTomaž Vajngerl1-5/+5
Change-Id: I3587cbe8a4025869422106b68c946981da1c6cb9