summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/tabvwsh3.cxx
Commit message (Collapse)AuthorAgeFilesLines
* tdf#84938 Change defines to typed_flagsJochen Nitschke2016-03-121-20/+20
| | | | | | | | | | | | | | | | | | | | | | | Put defines into an enum class and use typed_flags template from o3tl to give them flag operators. There were some shift operations to apply flags from start references to end references, these went into a helper in address.hxx to hide them. A marco with shift operations in address.cxx was rewritten in two helpers without shifts. One shift remained in ScRange::Format with a comment. The other flag untypical operator was a minus 1 in a helper for ScRefFinder::ToggleRel, which iteratates through all possible combinations for absolute references. This is used to make referecnces absolute via SHIFT+F4. A replacement would be too complex. Change-Id: I4850f1623e01e56c60ac2260b95fc5cad8b6fd71 Signed-off-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-on: https://gerrit.libreoffice.org/22840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* tdf#91013 Add new uno commands to freeze one row and column.Gulsah Kose2016-02-171-1/+9
| | | | | | | | | | Added freezepanesfirstcolumn and freezepanesfirstrow commands. FreezePanes button became a split button that includes this two new uno commands. And this new commands added to menu. Change-Id: Ic6958067cc98b3df50bcd06a1eac220bd9a61473 Reviewed-on: https://gerrit.libreoffice.org/21604 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
* tdf#46637 - Make partially visible cells fully visible on mouse clickSahasranaman M S2016-01-111-1/+1
| | | | | | | Change-Id: If6f74d968025dd21ee1d1c4bb52df5ffe2002905 Reviewed-on: https://gerrit.libreoffice.org/19780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* uno::Sequence->std::vector in SfxIntegerListItemNoel Grandin2015-12-031-1/+1
| | | | Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-101-7/+7
| | | | Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
* adapt comments to realityEike Rathke2015-10-201-6/+6
| | | | Change-Id: Idfeca4a683ebb9616c19a42de650c4871f733ef5
* tdf#39468 translated german comments in tabvwsh3.cxxAlbert Thuswaldner2015-10-161-39/+39
| | | | | | | Change-Id: I483c1aafe68da805ce194968153f1e6506327c51 Reviewed-on: https://gerrit.libreoffice.org/19300 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky2015-10-161-1/+1
| | | | Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
* sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky2015-10-161-1/+1
| | | | Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
* tdf#95041 Fix sidebar node namesSamuel Mehrbrodt2015-10-141-1/+1
| | | | Change-Id: I3435de44e04268dc557faedba944c2c33385b89c
* tdf#94559: 4th step to remove rtti.hxxOliver Specht2015-10-061-1/+1
| | | | | | | | | | replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
* boost->stdCaolán McNamara2015-09-181-3/+3
| | | | | | | | Change-Id: I7f3bb094f116103c1146a7d60e3af94c0b37d9ea Reviewed-on: https://gerrit.libreoffice.org/18677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* revert for mac and win unit case crashes after boost->stdCaolán McNamara2015-09-171-3/+3
| | | | Change-Id: I82c7084f203a834c2d42f9527705288e6036019b
* boost->stdCaolán McNamara2015-09-171-3/+3
| | | | Change-Id: I1e6a7fd66f90e6acd803c6cd464f1d73252f7bcb
* Update many ListBox users to its sal_Int32 interfaceMatteo Casalin2015-09-121-3/+2
| | | | Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
* loplugin: defaultparamsNoel Grandin2015-08-141-2/+1
| | | | Change-Id: If342e813063eb0a17f7a8f8e872290f056964e05
* remove ScRange::Justify() and replace calls with PutInOrder()Eike Rathke2015-07-081-2/+2
| | | | Change-Id: I350050ac085b1f220d5288d33c253ba0c9a5fd2c
* support R1C1 reference for hyperlinksMarkus Mohrhard2015-05-271-2/+12
| | | | Change-Id: Id9f3ae613128bb6f3895ade8b10ae24210439503
* first check current document address conventionMarkus Mohrhard2015-05-271-6/+18
| | | | | | Might be something else like R1C1 Change-Id: I25419b0d6ce0261b8cb1248671582455331852ac
* loplugin:staticmethodsNoel Grandin2015-05-051-2/+2
| | | | Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
* Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks2015-04-281-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Automated conversion of VclPtr construction to use Instance template.Michael Meeks2015-04-101-4/+4
| | | | | | | | Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
| * vclwidget: fix more places that should be wrapping in VclPtrNoel Grandin2015-04-101-4/+4
| | | | | | | | Change-Id: I31c9115662da2f81e1b22be91ee58e2862076b8e
* | loplugin:simplifyboolStephan Bergmann2015-04-241-2/+2
| | | | | | | | Change-Id: Ib656d2da786511687fbcf3f0ef39094ef211eb97
* | Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann2015-04-231-2/+2
| | | | | | | | | | | | ...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
* | convert SHOWEXTRAS constants to scoped enumNoel Grandin2015-04-131-1/+1
|/ | | | Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
* Remove dead INetProtocol::VimStephan Bergmann2015-04-071-1/+1
| | | | | | | ...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
* convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin2015-03-241-8/+8
| | | | Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
* convert SvxZoomType to enum classNoel Grandin2015-03-241-5/+5
| | | | Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
* fdo85897 Make 'Function List' only accessible in sidebarSamuel Mehrbrodt2014-12-051-10/+6
| | | | Change-Id: I875d1dd75c02f617814a934b34b5099f9c2279cc
* fdo#86018 Don't do anything when clicked on placeholder in statusbarSamuel Mehrbrodt2014-11-181-3/+0
| | | | | | | | | No idea why this code got executed in sw, it has no action in sd and sc. Change-Id: I1d2b4b049f6ae6d117e7bf3464ae993c6951f1dc Reviewed-on: https://gerrit.libreoffice.org/12314 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin: cstylecastNoel Grandin2014-10-281-25/+25
| | | | Change-Id: I42cd0be78478536322357ca7a03cf30e624b1afc
* Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky2014-10-231-5/+5
| | | | | | | | | | | | | | This reverts commit 47a2d7642d249d70b5da0c330a73f3a0032e4bba. Conflicts: cui/source/tabpages/transfrm.cxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx tools/source/generic/rational.cxx Change-Id: I4849916f5f277a4afef0e279b0135c76b36b9d15
* Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky2014-10-231-3/+3
| | | | | | | | | | | | This reverts commit 582ef22d3e8e30ffd58f092d37ffda30bd07bd9e. Conflicts: svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx Change-Id: I80abc7abdeddc267eaabc9f8ab49611bb3f8ae83
* fdo#84854 it seems long is not enough on 32 bitDavid Tardon2014-10-161-3/+3
| | | | | | | Fraction used BigInt internally for computations, rational does nothing like that. Change-Id: I3e9b25074f979bc291208f7c6362c3c40eb77ff5
* convert SFX_CALLMODE constants to SfxCallMode enum classNoel Grandin2014-10-111-1/+1
| | | | | | | | | | and fix a couple of bugs in SC and SW where the call mode was being passed to the hints parameter by accident Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58 Reviewed-on: https://gerrit.libreoffice.org/11916 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca2014-10-091-5/+5
| | | | | | | | | | | | | | | | | | | | | * Added rational util functions used by Fraction class not available in the boost::rational class. * Replaced usage of Fraction by boost::rational<long> * Removed code that relies on: 1. fraction.IsValid() -- rational only allow valid values, ie denominator() != 0 2. rational.denominator() == 0 -- always false 3. rational.denominator() < 0 -- always false but implementation detail: http://www.boost.org/doc/libs/release/libs/rational/rational.html#Internal%20representation * Simplified code that relies on: 1. rational.denominator() != 0 -- always true * BUGS EXIST because Fraction allows the creation of invalid values but boost::rational throws the exception boost::bad_rational Change-Id: I84970a4956afb3f91ac0c8f726547466319420f9 Reviewed-on: https://gerrit.libreoffice.org/11551 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann2014-09-121-19/+19
| | | | | | | | | | | ...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Massive 'Dialogdiet fail' and similar to 'Dialog creation failed'Matteo Casalin2014-07-261-1/+1
| | | | Change-Id: I6ca6914e80c186699df42253de46a3690c5130f2
* remove whitespaceMarkus Mohrhard2014-06-251-5/+0
| | | | Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
* new compilerplugin returnbyrefNoel Grandin2014-06-241-35/+35
| | | | | | | | | | | | | | Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-05-181-2/+2
| | | | Change-Id: Icc1e11e173329fd88898a3d13270406fd651eb2b
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-05-081-10/+4
| | | | Change-Id: Idf1460e5207e0797390593535f2b2c080609a77b
* whitespace cleanup in scMarkus Mohrhard2014-04-061-8/+0
| | | | Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
* Bin pointless INET_HEX_ESCAPETor Lillqvist2014-04-011-1/+1
| | | | Change-Id: I72238e511c2fca4a4aba0be60b0f2d3b1f46e5c2
* Make it harder to accidentally set print range to '- none -'.Kohei Yoshida2014-03-211-1/+3
| | | | | | | | | | | And make the current print range behavior a bit more intuitive. People often "remove" ranges to quickly clear any custom ranges if set. They wouldn't expect this to actually set the print range to "none". Also, change the wording of the menu item from "Remove" to "Clear", to refect this behavior change. Change-Id: I0369020fedf1c7463d718809875022adef697bf4
* Remove visual noise from scAlexander Wilms2014-03-031-1/+1
| | | | | | | | | | Conflicts: sc/source/ui/inc/docfunc.hxx Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8 Reviewed-on: https://gerrit.libreoffice.org/8301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#704724 Dereference after null checkCaolán McNamara2014-03-021-14/+15
| | | | Change-Id: Icb7570225d3ae0f5a62d2e7f601c2ce729e55a1b
* Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2014-02-241-5/+3
| | | | Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
* Remove unneccessary commentsAlexander Wilms2014-02-231-2/+2
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>