summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
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
2015-04-28sfx2: fix GCC-4.7 buildMiklos Vajna
Change-Id: Ib98d73703eb713a38d28e96a92097b718404abc6
2015-04-28Merge remote-tracking branch 'origin/feature/vclptrmerge2'Michael Meeks
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks
Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95