summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
AgeCommit message (Collapse)AuthorFilesLines
2016-02-05convert GETFOCUS constants to scoped enumNoel Grandin1-3/+3
Change-Id: I7c324bb6358be28c119592850eb7607479279f09 (cherry picked from commit 4c93c30c79ae885d488a8a04d383fe5308a1d520)
2016-02-05convert SHOW constants to scoped enumNoel Grandin1-2/+2
(cherry picked from commit b419da0f53cf7f65b1d0c58351176ece23fbfe1f) Change-Id: I2712a0901049885502cade31f9757f712048bb33
2016-02-05convert SWIB constants to scoped enumNoel Grandin2-9/+8
Change-Id: If64368f22e748cc646a726cb962e60ad29a66df9 Reviewed-on: https://gerrit.libreoffice.org/15840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit cf991bf352d64021e872ab1f8d82cb0f3cea37f3)
2016-02-05convert MENUBAR_MODE constants to scoped enumNoel Grandin1-1/+1
Change-Id: Ie4cda46d02e82cca1710603cfb3af379c702d9d7 (cherry picked from commit 5b248f1348260f953686b20621255aece57358fe)
2015-12-21sfx2: fix valgrind warningMichael Stahl1-0/+3
==7727== Conditional jump or move depends on uninitialised value(s) ==7727== at 0x9121E24: SfxDockingWindow::Resize() (dockwin.cxx:451) ==7727== by 0x3CADFAC3: SmElementsDockingWindow::Resize() (ElementsDockingWindow.cxx:753) Change-Id: Ie6e8a61f6c295373e5ccad409e2557e7c2dd6c1a (cherry picked from commit 8831281942b0ffe3dbdcea6febcda97a2ab665b3) (cherry picked from commit 5d9a20b3ab3167242a41a6f5ea951d426677ec29) Reviewed-on: https://gerrit.libreoffice.org/20756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit a3eb2cfdb136ab2d20e21421f0400e2eeca4ff8f)
2015-12-10Memory leakStephan Bergmann2-3/+3
(cherry picked from commit 5ac6e00274e732435b55c2908db9cea658fe549b) Conflicts: sfx2/source/dialog/backingwindow.cxx Change-Id: Ica40750d628946678019376d91db67ba3f9ed67e Reviewed-on: https://gerrit.libreoffice.org/20601 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 75f25d00848068c677fca450d35aa59af0422c60)
2015-12-06Resolves: tdf#95960 displaced field value in user-defined propertiesCaolán McNamara1-6/+9
Change-Id: Idc9e8fd0c35de48a2366dca3850bcc4e69ef997f (cherry picked from commit afc565bf26464a4999b45d8bc57545fa1ff534e5) (cherry picked from commit 46c5197feec5e64544433f2d6e22cf986408552a) Reviewed-on: https://gerrit.libreoffice.org/20368 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 69725ffe0d17811984c8d52073262b5e76ae7080)
2015-11-10tdf#89852 on Windows do not decode the filename for email subjectAndras Timar1-0/+4
... because MAPISendMail does not accept Unicode Change-Id: Id48a41d1cf25d1a991b0f83fd5daa1a65896e958 (cherry picked from commit 77ff51623eab0c5908c84400c6eb8448ddb1e9c8) Reviewed-on: https://gerrit.libreoffice.org/19830 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit cf4b042c934913785ea8886b6a6b3871926c53a3)
2015-11-10tdf#92866 startcenter: Make the accellerators work again.Jan Holesovsky2-13/+5
I still have no idea what is the root cause here (why the accellerators do not work 'automagically') - I suspect it is because we don't have a shell there, and instead only a vcl::Window, or something like that :-) Either way, when we handle the accellerators already in PreNotify(), it works as expected, so let's live with that for the time being. (cherry picked from commit 51c14b1c262bced0cb61c943caad044be9e95c15) Conflicts: sfx2/source/dialog/backingwindow.hxx Change-Id: Id050fd8f5fff38914821cb64eaa3ae7281fc6d50
2015-10-18RemoteFilesDialogSzymon Kłos3-0/+15
Change-Id: I296ce6233287dac5447462faa4b7404c25297f8b (cherry picked from commit 87297284782adbf1fcb73663ad2d2a38b5ae1872)
2015-10-17tdf#92217: The infobar text should have a transparent background...Jan Holesovsky1-4/+2
...instead of setting background at various places. Change-Id: Idfa6a36bcb2aefbb33a7647725098f4eea0f93c4 Reviewed-on: https://gerrit.libreoffice.org/19347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 73b38e45d1c81ee533f8c6a800079486e57e4fcd)
2015-08-06tdf#91495 don't change tree entry height when preview is disabledTomaž Vajngerl1-2/+5
Change-Id: Ic707f4407bb3aef5f2a7b9d13a0340c6d9afb3fe (cherry picked from commit 9f75bad228ca1f410b7a450084b02ad13745110e) Reviewed-on: https://gerrit.libreoffice.org/17178 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-06tdf#91495 add property to turn off stlye previewsTomaž Vajngerl1-7/+16
Newly added property Office::Common::StylesAndFormatting::Preview can now be used to turn off "Style And Formatting" style preview. Change-Id: I2e01de2a74e2d295557c87022a7b745ce23b4800 (cherry picked from commit 210f42a318cbac62de835ccacbc1fc0e36f713f6) Reviewed-on: https://gerrit.libreoffice.org/17177 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-06tdf#90452: Remove the frame around the Help and Extension buttons.Jan Holesovsky2-18/+0
Change-Id: I86d2daec6dcbd6af3a8da1b8329417bae46c8079 Reviewed-on: https://gerrit.libreoffice.org/16623 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-06tdf#90452: Implement the new design of the startcenter.Jan Holesovsky2-10/+12
See the comment 45 in the bug for the agreed design. Change-Id: I428f339df48f530f606525434a4a2be8a79acaab Reviewed-on: https://gerrit.libreoffice.org/16622 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-06Resolves: tdf#92047 fix wrong merge conflict resolutionCaolán McNamara1-1/+1
since commit e8b97a52c96df9c8e8055407b1e40ed7cb9cfc67 Merge: 2b0be6c 0cde74f Date: Tue Apr 28 11:41:31 2015 +0100 - bWaterDisabled = !(pTreeBox || aFmtLb.GetSelectionCount() <= 1); - bWaterDisabled = (pTreeBox || aFmtLb->GetSelectionCount() <= 1) ? sal_False : sal_True; ++ bWaterDisabled = pTreeBox || aFmtLb->GetSelectionCount() <= 1; Change-Id: I14d848b4527adf05eb05110b93369791134cbe6c (cherry picked from commit 76837070c7c3eae1da50ff0de5e508be285e22c7)
2015-08-06fix style preview renderingLászló Németh1-28/+30
(cherry-picked from 1ebe3004d6e9372ef5419d456b3c29059b539bc9) Change-Id: I9ea9cf895f3d608bd3289c1847eea2f6d47a910c Reviewed-on: https://gerrit.libreoffice.org/16521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-08-06rendercontext: Mass fix of using the wrong size.Jan Holesovsky3-6/+5
In the paints, we must use the size of the Window for the computations, not of the RenderContext - the RenderContext can be much bigger than the Window in the double-buffering case. Fixes for example the list boxes, and many others. Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6 Reviewed-on: https://gerrit.libreoffice.org/16421 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-08-06tdf#91971: Add the menubar size to the height computation too.Jan Holesovsky1-1/+11
Change-Id: Ic03dc9e811df624ca492cd2688a30a1e07fe6496 Reviewed-on: https://gerrit.libreoffice.org/16414 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-08-06gcc4.6: remove trigraph sequences '<::'Thorsten Behrens1-1/+1
Change-Id: Iaea3121fbc4e826b5d1f76b052c21b4dcf18df70
2015-08-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin1-1/+1
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-08-06tdf#91702 - fix stack-based MessBox allocation.Michael Meeks1-1/+1
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-05-29convert WINDOW constants for GetWindow() methods to scoped enumNoel Grandin3-5/+5
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung2-2/+2
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-26Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks1-1/+1
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-22tdf#91381 - fix a couple of animation related lifecycle issues.Michael Meeks1-0/+3
Change-Id: I4aada7f27e3a88124ad670e62ddb6c92ecf431a8
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin1-1/+1
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl1-20/+11
- 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-15conver MENU_FLAG_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b
2015-05-15convert POPUPMENU_ constants to scoped enumNoel Grandin2-2/+2
Change-Id: I4cdaf36581d1e1daa39929e621070d18a9996852
2015-05-14convert QUICKHELP constants to scoped enumNoel Grandin1-1/+1
Change-Id: Ie7302c909feb2e83b8b5e62a5e6a1f901783fb49
2015-05-14convert GRFILTER_I_FLAGS to scoped enumNoel Grandin1-1/+1
Change-Id: Ic1cb9b32fe252706cd607abb2ae1fd5a00999901
2015-05-14refacotr InfoBar to use RenderContextTomaž Vajngerl1-4/+4
Change-Id: I03422badbf1c97b41ab1e7b1b007336e49285f3d
2015-05-14refactor SfxDockingWindow to use RenderContextTomaž Vajngerl1-152/+55
Change-Id: I7e5c27966960b589310aac51ca0ae9da50e37e3a
2015-05-14refactor TitledDockingWindow to use RenderContextTomaž Vajngerl1-56/+56
Change-Id: Ie30f61871b27d84c1fbb570d5ae9a8cfaa901d28
2015-05-14refactor BackingWindow to use RenderContextTomaž Vajngerl2-72/+69
Change-Id: I7061b25ca349ca9e33bf38007558ab743ac7170c
2015-05-13convert FLOATWIN_POPUPMODE constants to scoped enumNoel Grandin1-1/+1
Change-Id: I744d430ef6a506977eb10b892582c8969ec27524
2015-05-13convert FRAME_DRAW constants to scoped enumNoel Grandin1-1/+1
Change-Id: I98e52aa56ec063ecc8f3d10baef65eb293c726bf
2015-05-11tdf#91052 - more macros for 'make' constructors.Michael Meeks1-5/+2
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann1-2/+2
Change-Id: I07aa70401391a4479d09907aa7e78a4fea894879
2015-05-11refactor TreeListBox to use RenderContextTomaž Vajngerl1-2/+3
Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
2015-05-10Use IMPL_LINK_NOARG[_TYPED] where applicableStephan Bergmann1-2/+1
Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
2015-05-10No more need for EMPTYARG in C++11Stephan Bergmann1-1/+1
Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann1-2/+2
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann1-5/+5
Change-Id: Iee6d0493172b7b776ac8c5b05f675cd28091f8b4
2015-05-09coverity#1297233 Dereference after null checkCaolán McNamara1-2/+2
Change-Id: Id30e16f6f94668b578fe79eab9d8289c8914a32b
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann1-3/+4
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08tdf#91128 - Dockwin post-dispose crash fix.Michael Meeks1-7/+7
Change-Id: I46252c272d45209f8cb3fd072df4109440d3fcae
2015-05-08Silence sal_Bool -> sal_IntPtr Link return value mismatches for nowStephan Bergmann1-3/+3
Some uses of untyped Link<> (returning sal_IntPtr) are hard to update to typed versions, but upcoming changes to loplugin:implicitboolconversion would flag these uses of sal_False/True, so just explicitly cast them to sal_IntPtr for now. Change-Id: I654e555e85faba0b30178c978e7d50fc7240b004
2015-05-07tdf#91127 - get SfxTabPage creation function ref-counting right.Michael Meeks1-1/+9
Change-Id: I7c730cf311900fe14a09081dd986f17d9b89e77f