summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-05-09Related: tdf#72007 align to right if undockedCaolán McNamara
Change-Id: Ia0af0493e0af6c945006e6a1f6f918f7b104068d
2015-05-09coverity#1297233 Dereference after null checkCaolán McNamara
Change-Id: Id30e16f6f94668b578fe79eab9d8289c8914a32b
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: I9b661dc67ccbdcb757d661168b4c3fa4b6f5b1fa
2015-05-08Remove dead codeStephan Bergmann
Change-Id: I3684210a180a3044ac52c3cd92a3184fc349e40d
2015-05-08loplugin:unreffunStephan Bergmann
Change-Id: I85ed112b1bfb44d47b8bd59e211b5b691b3fe02c
2015-05-08tdf#91128 - Dockwin post-dispose crash fix.Michael Meeks
Change-Id: I46252c272d45209f8cb3fd072df4109440d3fcae
2015-05-08there's another ExecuteInfo in swCaolán McNamara
Change-Id: Id72d3cdfa8b0d5e62fc04ddc464069ac58df0f58
2015-05-08callcatcher: update unused codeCaolán McNamara
Change-Id: I8563922204d3ec93bf138cbd1aaba620c0215bf7
2015-05-08Silence sal_Bool -> sal_IntPtr Link return value mismatches for nowStephan Bergmann
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-08Use typed Menu::Set[De]actuivateHdl LinksStephan Bergmann
Change-Id: I6736383ad0ec5c9f2ea2281bfdcfa280cd712032
2015-05-08Use typed Menu::SetHighlightHdl LinkStephan Bergmann
Change-Id: I47a35813fddcb90497b621a96bafe74969dc90d0
2015-05-07tdf#91127 - get SfxTabPage creation function ref-counting right.Michael Meeks
Change-Id: I7c730cf311900fe14a09081dd986f17d9b89e77f
2015-05-07tdf#90994 The accessible name should not contain the accessible roleNiklas Johansson
The accessible role (PANEL) is added as a prefix to the title bar in the sidebar. That is redundant and can even make things confusing for the users of screen-readers. Change-Id: I743defa0b1b9f3f278d0cabc7196054796fb3c47 Reviewed-on: https://gerrit.libreoffice.org/15636 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-07tdf#90994 Sidebar tab bar buttons should should have accessible namesNiklas Johansson
The tab bar buttons (Properties, Styles and formatting, Gallery ...) should expose their name to accessibility tools. Change-Id: I5292ca848688cf93a046c3f5d8906ac35cee1cfe Reviewed-on: https://gerrit.libreoffice.org/15639 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-07Resolves: tdf#72007: on switching decks keep our left indent, don't assume 0Caolán McNamara
Change-Id: I878c999611e1294d5107f1cf2c000d9ed5f88cb1
2015-05-07convert BUTTONDIALOG constants to scoped enumNoel Grandin
Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061 Reviewed-on: https://gerrit.libreoffice.org/15648 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07Fix a crash in SfxInfoBarWindowPhilippe Jung
Fix a crash that occurs when a locked doc is opened. Ask to open it read-only, then click on Edit the document in the info bar. Used to crash. Change-Id: Ic6e53853345e9e8431cae0eb2408ab0624d92cce
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorage aliasStephan Bergmann
Change-Id: Id07ace147ff4fd4a17d05ba3cce6408def05c9c7
2015-05-07tdf#91073 - keep the popup pointer around while we operate on it.Michael Meeks
Change-Id: I33767036847aed3d5c7ee4a7d13e81590e46b65b
2015-05-07Remove unused CreatePopupWindowCascading virtual methods.Michael Meeks
Change-Id: I44125b9909c0d81abd84c9666d44225e99c94c54
2015-05-06tdf#91100 - don't Notify focus changes after dispose.Michael Meeks
Change-Id: If870f88d1d83db8bd436ac1bb9a1c676c34605b5
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06Use typed ToolBox::SetDeactivateHdl LinkStephan Bergmann
Change-Id: Ia2521b000e962a0cc461a54f73b5c97bbe34a602
2015-05-06Use typed ToolBox::SetActivateHdl LinkStephan Bergmann
Change-Id: I15044bd9ea94562c1d4727f64aa0b32543e0cc0a
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-04cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Icb4273515082bffaeb9d8f3ebcec8d76fa4192ef
2015-05-04Use typed TabControl::SetDeactivatePageHdl LinkStephan Bergmann
Change-Id: I487aad5217cb685ece971717445a68b4fb3d2b3a
2015-05-04Delete unused strings in doc.src and doc.hrcJoren De Cuyper
These strings were only used in the src and hrc file. No usecase in any .cxx file found. Change-Id: Ib590629ee4c7a488254a18398ff92e9259f4589c Reviewed-on: https://gerrit.libreoffice.org/15612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-04Delete unused strings in filedlghelper.src and filedlghelper.hrcJoren De Cuyper
These strings were only used in the src and hrc file. No usecase in any .cxx file found. Change-Id: I719520b985e55b655badf3676499d3dd9d97b363 Reviewed-on: https://gerrit.libreoffice.org/15610 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-30Use typed Link for MenuButton::SetSelectHdlStephan Bergmann
(and MenuButton::GetSelectHdl was unused) Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
2015-04-30No need for LINK vs LINK_TYPED distinctionStephan Bergmann
(fully qualify ::tools::detail::makeLink to avoid clashes with namespace basegfx::tools) Change-Id: I52818d0a47c78f1af7673ff91eb6517bc0820655
2015-04-30Use typed MaybeFile LinkStephan Bergmann
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29SfxInfoBarContainerWindow: pInfoBar can be 0 hereMiklos Vajna
0x00007ffff0b36bf0 in OutputDevice::disposeOnce (this=0x0) at /git/libreoffice/master/vcl/source/outdev/outdev.cxx:193 193 if ( mbDisposed ) (gdb) up #1 0x00007ffff3c3d651 in SfxInfoBarContainerWindow::removeInfoBar (this=0x1f05b30, pInfoBar=0x0) at /git/libreoffice/master/sfx2/source/dialog/infobar.cxx:294 294 pInfoBar->disposeOnce(); Change-Id: I7b5dfddea98d8ab3d4f7db3ef53660f91e5ad80b
2015-04-29convert STR_EVENT constants to scoped enumNoel Grandin
- also add needed infrastructure to o3tl::enumarray so we can use std::find on it - move the Impl inside the .cxx file, no need to expose it in the header Change-Id: I7758a6175849f46723d97b1e657f846524c3b7cd
2015-04-29error C2666: 'operator ==' : 2 overloads have similar conversionsDavid Tardon
Change-Id: I51c71a82a312c2b059ba046ee2557117f365143b
2015-04-29WaE: C2666: 'operator ==' : 2 overloads have similar conversionsDavid Tardon
Change-Id: Ifa31130045c37aa37a1f3c9d3799a9f60fd8eb13
2015-04-29fix compile: delegate RenderContext parameter to superTomaž Vajngerl
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8