summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-20Updated coreAdolfo Jayme Barrientos
Project: help 858dfcab49af9ca0c3144efa27495dbeae982e13 Fix second-level headings to actually be “level=2” Change-Id: I393ca75c683323088e7d55a6d0bf3ee177994d33
2016-04-20tdf#97567 xmloff: use programmatic name for imported automatic style.Mark Hung
Adopt programmatic name in created document model to prevent imported automatic style from referring a programmatic name that is not imported to a default style. Note for English UI, the pragammatic name is the same as the display name, hence using a display name wouldn't cause the problem. Change-Id: Iaf31431a516e3d097e2a22a6be51aa68f6a6eef6 Reviewed-on: https://gerrit.libreoffice.org/23247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2016-04-20TextCharacterSpacingControl: Fix loplugin:vclwidgets warning.Jan Holesovsky
Change-Id: I16c0f137d4dbf9b495b4be8ca32c009e2676ee0b
2016-04-20clang-tidy clang-analyzer-deadcode.DeadStoresNoel Grandin
suspect that some of these may reveal latent bugs.... Change-Id: I9de9aabbda9c8952715631577c29c1830df1eb71 Reviewed-on: https://gerrit.libreoffice.org/24200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-20Resolves: tdf#91778 drawing the background over an active cursorCaolán McNamara
will overwrite it, which means that when it toggles "off" afterwards, it uses invert on the freshly drawn background which will visually make it appear "on" and not off Just explictly turn it off and restore it and avoid the whole potential problem. Change-Id: Ie21d77e9d704124011e43b42c98b26eaf208eef2
2016-04-20XCheckBox: Add reference to where the parameters/return values are documentedSamuel Mehrbrodt
Change-Id: I9d775397b7905a8b33c67069fd3eae2ddb810149 Reviewed-on: https://gerrit.libreoffice.org/24246 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-20XListBox: Add hint about return value on empty selectionSamuel Mehrbrodt
Change-Id: I92d324b9e0ff48f6a4b3d62d6e9d22bf6ec7561a Reviewed-on: https://gerrit.libreoffice.org/24245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-20character spacing control possible to use outside sidebarSzymon Kłos
Change-Id: Ic0c6458268b529bd0107d6ed5a35f49241cfb833 Reviewed-on: https://gerrit.libreoffice.org/24146 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-04-20libxmlsec: split the upstreamed part of xmlsec1-vc.patch.1 into a new patchMiklos Vajna
Change-Id: I1a6201a21cdf3a42475487a42cd80d11cd5e42b6 Reviewed-on: https://gerrit.libreoffice.org/24253 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-20Use IsRightToLeft()Stephan Bergmann
...instead of computing this from GetRightToLeftLevel() Change-Id: If0068c8aae581b6f097ba3897b4a3031db8d9afd
2016-04-20cleanup AS_HELP_STRING in configure.acKorrawit Pruegsanusak
Change-Id: Ie3492616ea885961933b812820bf65f6b051b868 Reviewed-on: https://gerrit.libreoffice.org/23375 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-20Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I83273c31a03cf79126e71d55b39211c18f8bfcd0 Reviewed-on: https://gerrit.libreoffice.org/24249 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-04-19update creditsChristian Lohmaier
Change-Id: I52af3ba76cb6dbd8572eb524ce9d0c0bfb2c0596
2016-04-19tdf#99396 SvxTableController::SetVertical: implement undo supportMiklos Vajna
All the table and cell objects know how to undo this change, what was missing is the begin/end undo calls and the broadcast of the cell format change. Change-Id: I3dfd203faf5c579da2937fedab5647129a8e903a Reviewed-on: https://gerrit.libreoffice.org/24247 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-19tdf#99329 : By default show sum and average statusbar functions...Dennis Francis
and correctly handle the non-default profiles from <= 5.1.*. Change-Id: If230364a81774e43836956eb38fb8257ddf176b2 Reviewed-on: https://gerrit.libreoffice.org/24118 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Joel Madero <joel.madero@gmail.com> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-04-19introduce DEBUG_SD_CONFIGURATION_TRACE instead of OSL_DEBUG_LEVEL>=2Eike Rathke
... and partly revert the corresponding pieces of 3d2f43438d4fe6947965a98262b0db42c8d5e680 that removed them as unused code. Change-Id: Ib5418df6a675004d0822b77ef12a77564d3348c8
2016-04-19So this is apparently about right-to-left levels, not a boolean flagStephan Bergmann
Although the cases where GetRightToLeftLevel() is contextually converted to bool look fishy, and might have been intended to use IsRightToLeft() instead? Change-Id: I741b90cb6f1ccdac0886c451d05f4cfac79dbd5f
2016-04-19warning C4101: 'rException' : unreferenced local variableStephan Bergmann
Change-Id: I64d3ff11d635c8600116867e2ea95442035adac0
2016-04-19Related: tdf#99396 sd: make table controller undo code unit-testableMiklos Vajna
With these it's possible to create a table controller with the unit test user profile (that lacks .ui files) + also the sd undo stack can be asserted. Change-Id: I48f09e4bb985c32227deed736cd158dec9f4f315
2016-04-19In lok_init_2, allow vnd.sun.star.pathname user_profile_urlStephan Bergmann
...which takes a raw filesystem pathname that is internally converted to a file URL (similarly to what is supported for the INIFILENAME and URE_BOOTSTRAP bootstrap variables in rtl::Bootstrap). That way, the gtktiledviewer executable doesn't need to try convert a pathname into a URL. Also adapted various parameter names to make it obvious that URLs get passed, not pathnames. Change-Id: I33ab31fe142d94ee47885033ef48278ef5ff55a2 Reviewed-on: https://gerrit.libreoffice.org/24241 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-19drawinglayer: fix Android-specific typoMiklos Vajna
The intention is to call the real function, not the template itself. Change-Id: Ib10ac4877b33554fe3a5c0918de43bea6e62cfc9
2016-04-19cppcheck: silence known conditions warnings in scJochen Nitschke
Change-Id: Ibb9f05d2166d75c50f91f65905b3018a5fdb2455 Reviewed-on: https://gerrit.libreoffice.org/24203 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-19drawinglayer: work around broken Android toolchainMiklos Vajna
Change-Id: I8679f44663aa81e04684751847cab4f06df3a71e
2016-04-19sd doc model dump: include undo manager infoMiklos Vajna
So that it's easy to see where the implementation for a given undo action is. Change-Id: I93b8603f75d0b5a68922e02540b9db6824f4d0db Reviewed-on: https://gerrit.libreoffice.org/24243 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-19Missing include for std::roundStephan Bergmann
Change-Id: Id9e67f800192eb9ddbf79960d4b17012531d0e08
2016-04-19drawinglayer, sw: indentation fixesMiklos Vajna
Change-Id: Ia84182629f33220a0d85bde00c16f9c26f45e3c5
2016-04-19const as const can, tdf#99322 follow-upEike Rathke
Change-Id: I8c9714e6c6b15fbb1068b79d2efae48927a1fa77
2016-04-19sc: fix loplugin:passstuffbyrefMiklos Vajna
Change-Id: I6716817b0ca439b63cc7b49eb7a611c2c15a9b00
2016-04-19tdf#99387 - protect LOK document size API from corner-cases.Michael Meeks
Change-Id: I5dd1d37ea783a65f0c8f3ad9c3c9cabf72ae036d Reviewed-on: https://gerrit.libreoffice.org/24239 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-19call StartNeededListeners() only on affected columns, tdf#99322 follow-upEike Rathke
Iterating over the entire document is an unnecessary performancce penalty if the set of affected columns is already known. Change-Id: I84598066f878ca4615d6a5e1d6c70ebaa686e446
2016-04-19WIP tdf#89609 Ignore subsecond precision in iso8601Muhammet Kara
Explorer shell extension fails to convert date into locale specific string if it has sub-second precision. Change-Id: I11bd38fc2876aa1f8235dbfb8c7850ff22ac2a8b Reviewed-on: https://gerrit.libreoffice.org/24220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-19tdf#99314 lokdocview: add new userprofileurl propertyMiklos Vajna
So that users of the widget can use a custom user profile, allowing running widgets users and LibreOffice in parallel. Change-Id: I1bd0a8e53aa3216adc721052cf30f0dd174327bd Reviewed-on: https://gerrit.libreoffice.org/24237 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-19BASIC : Partially revert SbxArray simplification.Arnaud Versini
Revert partially commit 0fa6c88007f61176ac707cb5d77fd35cf1521123 (BASIC : Simplify SbxArray) to make sure SbxArray::Put add too much objects behind 65k limit. Change-Id: I2d86f213711665f8cb522879ff78ff5bc9f42b31 Reviewed-on: https://gerrit.libreoffice.org/24223 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-19cppcheck: silence known condition warning in sw ww8Jochen Nitschke
remove variable bDataImport and if clause correct indentation Change-Id: Ib7dd7b91cecbe9c47a50f7487be055b1247423a1 Reviewed-on: https://gerrit.libreoffice.org/24211 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-19Elide macros used onceStephan Bergmann
Change-Id: I5d5c916c966c9e9f2c77c9655f3e8d13a7032117
2016-04-19cppcheck: silence known condition warning in svx tablecontrollerJochen Nitschke
Change-Id: I5c56c99e6b2cc767e0a7a411f9d66f1eee630b2a Reviewed-on: https://gerrit.libreoffice.org/24207 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-04-19cppcheck: silence known conditions warnings in sw annotshJochen Nitschke
Change-Id: I0e5d0eea0c3d8cd14938f45353ca4f27cf09d176 Reviewed-on: https://gerrit.libreoffice.org/24212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-04-19cppcheck: silence known condition warning in sdJochen Nitschke
Change-Id: I918eb21eef5696295ed1b9eb86e04121651245f8 Reviewed-on: https://gerrit.libreoffice.org/24206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-19cppcheck: silence known condition warning svx xmlexportJochen Nitschke
Change-Id: If2dcb406d7bd1be8f5552ba75b6cabdbb6c97cb5 Reviewed-on: https://gerrit.libreoffice.org/24208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-19use the column style for as default, tdf#71897Markus Mohrhard
Change-Id: I583235c28957a203df843d65887b4ca05f2a81ae Reviewed-on: https://gerrit.libreoffice.org/24230 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-19setting the properties through uno is not necessary anymoreMarkus Mohrhard
Change-Id: Icdd78ffb386b6b5222558dde0a6a9439b1431781 Reviewed-on: https://gerrit.libreoffice.org/24229 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-19hard code value for scrollbar to tabbar ratio, tdf#89058Markus Mohrhard
The regression was introduced with 1d1d1c62caf2ee6a96946e96d782e03f3ef80439 which traded interoperability for some UX "gain". Change-Id: I36517fc550e12714ad5855ce0bc5883f7a948a51
2016-04-19don't try to open in new window by default, tdf#70959Markus Mohrhard
This fixes a regression from 99932fa89be0e041abf5ce5da3271600c841ff19 Change-Id: Idcee34c97173fb79503a560f5246230a9bfaeb51
2016-04-18follow-up for clean-up declarations and includesJochen Nitschke
small change for commit 150ac9cf05ed9da6a2af5bc3f820280fd853e519 use forward declaration instead of include Change-Id: Ida9742b49233dc2bd2731e816dd6dc4d5705bb07 Reviewed-on: https://gerrit.libreoffice.org/24222 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-18Resolves: tdf#99322 re-establish group area listeners after update referenceEike Rathke
Change-Id: If2ec5f938c7278ce817de3d89dc84cc0584507ac
2016-04-18check API call argument valueEike Rathke
Change-Id: I5eb0fbd6a6671c2cded38800c3223bccf0f7ff60
2016-04-18remove old commented out codeEike Rathke
Change-Id: I6871370341c8533e93f820e8f71ce09fe3d4d7be
2016-04-18tdf#99315 VclPixelProcessor2D: fix double border line widthMiklos Vajna
Regression from commit 2c91cb08d65cd35fa8ef6eaca3677aa82fb58cbe (better drawing support for borders of different width, fdo#33634, 2012-04-04), the problem is that previously the width of inner/outer double border lines got rounded to integer values quite early, but after the commit they are kept at a double precision for much longer, which needs pixel correction in VclPixelProcessor2D. Example: if the border with is 1.47, and the line gets moved by 0.2 pixels, then the inner and outer edge of the line will be 0.2 and 1.67, which gets rounded to 0 -> 2 in the pixel processor. Previously the input was rounded to 1, so moving by 0.2 resulted in 0.2 -> 1.2, which got rounded to 0 -> 1. The result is that sometimes the line width is 1 pixel wider than expected. Fix the problem by allowing VclPixelProcessor2D to request pixel correction from BorderLinePrimitive2D. It wouldn't be possible to do pixel correction only in VclPixelProcessor2D, as it has no idea what to correct: it only gets polygons, so it has no idea if e.g. the top of a polygon is the outer edge of a top border line or an inner edge of a bottom border line. Change-Id: I1971f3a952fbcdc598ab46c659e12d976c13cbe6 Reviewed-on: https://gerrit.libreoffice.org/24221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-18tdf#99371 fix for DDE link update via Function WizardMartin Nathansen
With this fix the DDE links can be edited again without producing additional wrong DDE links. However below the updated DDE link there is still a unnecessary table added which should be fixed. Change-Id: I51e5a7ec84d2fc1429e68554dc131e4e456540df Reviewed-on: https://gerrit.libreoffice.org/24213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-18cppcheck: silence known condition warning in sc vbahelperJochen Nitschke
Change-Id: I5afc4563fa119a71069daa608020cd215477b872 Reviewed-on: https://gerrit.libreoffice.org/24205 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>