summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2015-06-08tdf#90804 remove SfxFieldUnit enumAndras Timar1-2/+2
b78d881520f2eb658180e2c90ffee3d30a80f0ae removed unused values from SfxFieldUnit enum. This broke the mapping between SfxFieldUnit and FieldUnit. In fact SfxFieldUnit was redundant. Change-Id: I13c7e7d708c6eeab0de192f4cd110b0a23989a31 Reviewed-on: https://gerrit.libreoffice.org/16150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 7f4230675c6c78ebea8b6db3f3612e3ef6fb23df)
2015-06-08AutoCorrect: fix not immediately replacement of Emoji :short_names:László Németh1-2/+7
Cherry-picked from 86782d5dfc0163159369677b0ac172ed2125b221 and cd2ba3124602ad9ee8f5927c385936cc5319808d. [86782d5dfc0163159369677b0ac172ed2125b221: AutoCorrect: direct replacement of keywords surrounded by colons Replacing immediately (without pressing space or enter) and inside words, too. For example, fixing tdf#55292 – complete input method for n-dash, m-dash – is possible now by :--: -> n-dash, :---: -> m-dash AutoCorrect replacements.] cd2ba3124602ad9ee8f5927c385936cc5319808d: unbreak calc again, a fix for the previous commit by Markus Mohrhard] Change-Id: Id7d9411599bec620fa91c246b531d26150f20c6a Reviewed-on: https://gerrit.libreoffice.org/16002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.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-03tdf#88276: toolbar|sidebar button for text background colourKatarina Behrens1-1/+1
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-05-29convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin1-1/+1
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 Grandin2-9/+9
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-27tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks1-1/+1
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe (cherry picked from commit f849d96463d967214bc063f6de912a082272c395)
2015-05-26ImpEditView::SetCursorAtPoint tiled rendering: avoid partial selectionsMiklos Vajna1-2/+2
Same problem as in the previous commit, just for mouse move. Previously when selecting "abc" with the mouse only one or zero letter got selected as the mouse moved, now it's properly the whole afffected string. Change-Id: I025dbd71fc02a0c93a532ca188836ffb957d6b35 (cherry picked from commit c6f03d6fc25a3cea22f2ce035d0948bcaa74daa9)
2015-05-26ImpEditEngine::MoveCursor tiled rendering: avoid partial selectionsMiklos Vajna1-2/+2
Tiled rendering assumes that the whole list of selection rectangles is sent, i.e. the information is not incremental. With this, if the text is "abc" and you are before "a" with the cursor, then pressing shift-rightarrow two times will result in "ab" being selected, not just "b". Change-Id: I70c043575d3c68d78342af0a6b78659d83b4f5f4 (cherry picked from commit 18e08580b660111e7e9b0bae18ac9034f57475ba)
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier17-106/+106
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 Grandin3-3/+3
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin1-2/+2
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-18Related tdf#88056: use better-fitting <text:page-name>Katarina Behrens2-8/+8
Implemented Regina's suggestions: * this is a text field, therefore it belongs to text namespace * page-name (evtl. slide-name) describes much better what this field really contains This (among other changes) reverts commit 6609de8856519e0e9 Change-Id: Idab3b7c291839a9137f80d325a7d3f5ef0ff2636
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini3-18/+12
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-15conver MENU_FLAG_ constants to scoped enumNoel Grandin1-2/+2
Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b
2015-05-15convert POPUPMENU_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I4cdaf36581d1e1daa39929e621070d18a9996852
2015-05-14convert INPUTCONTEXT_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I5b99e42a3e85527b27d515c468d2ed66386fc9df
2015-05-14convert QUICKHELP constants to scoped enumNoel Grandin2-2/+2
Change-Id: Ie7302c909feb2e83b8b5e62a5e6a1f901783fb49
2015-05-14convert GRFILTER_I_FLAGS to scoped enumNoel Grandin1-1/+1
Change-Id: Ic1cb9b32fe252706cd607abb2ae1fd5a00999901
2015-05-14convert KERNING_ constants to scoped enumNoel Grandin4-5/+5
Change-Id: I58031485aaa9ebdeb986a3ee0376f36a9f667947
2015-05-12convert CURSOR_DIRECTION constants to scoped enumNoel Grandin1-3/+3
Change-Id: I444c61d0073b12740b55e316b2bb6e34f59dfe21 Reviewed-on: https://gerrit.libreoffice.org/15675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin1-10/+10
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann3-3/+3
Change-Id: I94230f5d0838f26173eb17401f7bf22ab126e7ef
2015-05-11cppcheck: unreadVariableCaolán McNamara1-1/+0
Change-Id: I7af3807a4390e3b2f1bd9373feb937b6ff3dea7a
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann1-5/+5
Change-Id: I9aca53ea7c957524a4ade0f20ef47954ddcbf5de
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann1-0/+1
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann1-3/+3
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann1-15/+15
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorage aliasStephan Bergmann1-1/+1
Change-Id: Id07ace147ff4fd4a17d05ba3cce6408def05c9c7
2015-05-07Remove SvStorageStreamRef aliasStephan Bergmann1-2/+2
Change-Id: Ic25c39adf8796bb433fa7746f53a68e3e2bfd228
2015-05-07SotStorage ctor takes as 3rd param a StorageMode (aka short)Stephan Bergmann1-13/+13
The code in editeng, passing sal_True (= 1) into StorageMode, has been like that ever since cd7096b4260149eb6fdd117ea0ba26b8116a41b2 "INTEGRATION: CWS mav09: #i27773#: remove so3; new storage API" where SfxMedium ctor calls were replaced with SotStorage ctor calls, keeping the argument lists intact. And at least way-back 5a9184d9e270e0ec0fe4b378c5cfde54ede095fa "INTEGRATION: CWS hedaburemove01: #72503# get rid of hedabu procedure: Moving headers to sfx2/inc/sfx2 and correspondent necessary changes" had a SfxMedium ctor that took as 3rd param a sal_Bool bDirect. That is, it looks like cd7096b4260149eb6fdd117ea0ba26b8116a41b2 inadvertently carried the SfxMedium bDirect arguments over as SotStorage StorageMode arguments. Given further that even way-back e1e019fed3970b916b046e2d7be48ea786026fce "INTEGRATION: CWS hedaburemove01: #72503# get rid of hedabu procedure: Moving headers to sot/inc/sot and correspondent necessary changes" only defines STORAGE_* values with values >= 0x02 (so sal_True would never have had any effect), the best bet appears to just use the implicit default = 0 instead. Change-Id: I3c19831433173657d3a3225c28398de7481fe036
2015-05-06VclPtr: one ref too manyCaolán McNamara1-2/+2
Change-Id: I0efce31e0f7cc5aa4895b6e5e35432d3f0c6fb70
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin3-6/+6
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06convert FONTTOSUBSFONT constants to scoped enumNoel Grandin2-5/+5
Change-Id: I994bfc76d709d01406404991dbfbd49b15bd03f4
2015-05-05vcl::Window::Scroll takes a sal_uInt16 nFlags, not a sal_BoolStephan Bergmann1-1/+1
This passing of sal_True instead of some SCROLL_* flags has been there ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import," and the signature of vcl::Window::Scroll has been like that at least since f59676fe09175725ee0a75a1678dd1581decc20b "INTEGRATION: CWS hedaburemove01: #72503# get rid of hedabu procedure: Moving headers to vcl/inc/vcl and correspondent necessary changes," so lets arbitrarily assume that this wants to pass SCROLL_CLIP (which has the same numeric value as Change-Id: I8da6536404aa220611a7df96605c7a4a9efc7f7c
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann3-4/+3
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann2-7/+4
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-03drop useless temp debugging stringsCaolán McNamara1-12/+0
Change-Id: I9adc765654cf15633a53576e620c13eddcdc3b82
2015-05-03drop useless temp debugging stringsCaolán McNamara1-6/+0
Change-Id: I8a11a3d20fc5bde984586cb7046b174568315620
2015-04-30Gradually typed LinkStephan Bergmann11-58/+58
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 initial :: for the svx namespaceTor Lillqvist4-13/+13
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann1-4/+2
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann1-3/+3
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks9-26/+22
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
2015-04-28SvxRTFParser::ReadBorder/BackgroundAttr bTableDef param wants to be boolStephan Bergmann1-2/+2
Change-Id: I78c34a539a62ed129309305ce6e37a8feb19b1fd
2015-04-28Outliner::RemovingPagesHdl return type wants to be boolStephan Bergmann1-2/+2
Change-Id: I7d57d560f28683a840022cf766ef22cc50683349
2015-04-28operator == return type wants to be boolStephan Bergmann1-4/+4
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
2015-04-27rhbz#1215443 avoid null pointer dereferenceDavid Tardon1-1/+2
Change-Id: I0a7986703a6997c756d583d0e46907691f807b16
2015-04-27More loplugin:simplifyboolStephan Bergmann1-2/+2
Change-Id: I4d4df3a845d7a3af7d18dc58d35ebf5cd967b7eb
2015-04-24loplugin:simplifyboolStephan Bergmann22-54/+49
Change-Id: I0d41417b964f7f43b413a7b29fb1cf930f363427