Commit graph

415568 commits

Author SHA1 Message Date
Mike Kaganski
1a4277c586 LibreOffice.natvis: a small correction
Change-Id: I6f9971bf3fc8eec996a19c0a56202947f65a07ae
Reviewed-on: https://gerrit.libreoffice.org/44972
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-20 15:49:32 +01:00
Yousuf Philips
036a517748 Move position of Formula in File > New to similar to start center
Change-Id: I3d5f81e444d2f48f2f2d90e474bd51dbd6a674b5
Reviewed-on: https://gerrit.libreoffice.org/44926
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-11-20 15:47:22 +01:00
tagezi
9abd653129 tdf#108872 Also remove VBA module info on module removal
If this information is left, then css.container.ElementExistException
is thrown on following creation of a module with the same name in
XVBAModuleInfo::insertModuleInfo called from
ScriptDocument::Impl::createModule
(see commit 2be139d76b)

Change-Id: I6750819ce36c112c146d7800a6bab4cc207e0062
Reviewed-on: https://gerrit.libreoffice.org/44940
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-20 15:42:02 +01:00
Mike Kaganski
1560a335f7 SwDBManager: move implementation details from interface
Change-Id: I738e8306f2f9af7f284cc236d55f5e184e632323
Reviewed-on: https://gerrit.libreoffice.org/44951
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-20 15:40:53 +01:00
Julien Nabet
21f8b386e0 Disabled slot with Put leaks entry (StateFormatPaintbrush/sw)
Same as https://cgit.freedesktop.org/libreoffice/core/commit/?id=21dde7a09e2cfe7b48d2fec1edc7a94fa94af5c3

Change-Id: I670c01eb5e5e747ceb77995ad855ee448faa054f
Reviewed-on: https://gerrit.libreoffice.org/44931
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 15:36:12 +01:00
Yousuf Philips
eb55a2cf1a l10n: dont translate non-text character tab fill characters (2)
Change-Id: Ib46cef900e681664e50b06c2e4a5af2b63a8f83f
Reviewed-on: https://gerrit.libreoffice.org/44953
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-11-20 15:15:46 +01:00
Caolán McNamara
b6937a5c9d ofz#4306 Null-dereference READ
Change-Id: Iccbaed9ab6252ac8c61104ac0e6a9b8972913f6c
Reviewed-on: https://gerrit.libreoffice.org/44954
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 15:14:35 +01:00
Caolán McNamara
7cd75ff1c9 ofz#4328 Abrt
Change-Id: Ia122ca02b96682e436315b89c1510230c2ec5150
Reviewed-on: https://gerrit.libreoffice.org/44950
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 15:13:50 +01:00
Caolán McNamara
ce204e4443 ofz#4327 Integer-overflow
Change-Id: I1a656c106b5944578c6c74b9e475349259865049
Reviewed-on: https://gerrit.libreoffice.org/44948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 15:12:56 +01:00
Takeshi Abe
14f351529e cosmetics: Drop duplicate semicolon
Change-Id: I96d2ffb903f9ed15070572552c9564b5089df12f
Reviewed-on: https://gerrit.libreoffice.org/44914
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-20 14:01:44 +01:00
Miklos Vajna
13de75274b clang-format: enforce coding style via Jenkins
- factor out common code to a shared module, and quote path to the
  clang-format binary, just in case.
- add a new check-last-commit script that is the CI equivalent of the
  exiting git pre-commit hook, but this one handles lack of clang-format
  as an error, not as a warning.
- $LODE_HOME/opt/bin is supposed to be in PATH already, so not
  mentioning LODE_HOME in ClangFormat::find() explicitly.
- if both COMPILER_PLUGINS and LODE_HOME is set, invoke
  solenv/clang-format/check-last-commit as part of 'make check'

To test these changes as part of CI, fix a single style violation in an
already committed, non-blacklisted file.

This depends on the lode.git commit
496123bcae28e06c6d6aeda39a5afd1e1fb1fd98 (utils_Linux: install
clang-format in the Jenkins case, 2017-11-16), otherwise erroring out on
a not installed clang-format as part of the build would be a problem.

Change-Id: Ib3110826194ff78a7f1bed1c3796147e92ccb3ba
Reviewed-on: https://gerrit.libreoffice.org/44939
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-20 13:41:40 +01:00
Caolán McNamara
cd0dd31086 ofz#4334 Null-dereference READ
Change-Id: I64cf71566248d81713f251d95d435d51701d3188
Reviewed-on: https://gerrit.libreoffice.org/44949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 13:39:14 +01:00
Mark Hung
51b9042efe tdf#95656 vcl: correct offset for vkrn position
For Bopomofo tone marks to attach to anchor points.

Change-Id: I66373790cb80515f4ab0ca9c166f78634eb4081c
Reviewed-on: https://gerrit.libreoffice.org/44922
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-11-20 13:25:21 +01:00
Takeshi Abe
c40c0a2773 sot: Simplify UCBStorageElement_Impl with std::unique_ptr
Change-Id: Ia2de0a990ed8157095e03aabf65c0f7cd9fc4c87
Reviewed-on: https://gerrit.libreoffice.org/44700
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-20 12:57:37 +01:00
Noel Grandin
4f4486c61d look for =() in loplugin:unnecessaryparen
Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0
Reviewed-on: https://gerrit.libreoffice.org/44944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-20 12:31:32 +01:00
Caolán McNamara
fda2ee3d87 WaE: -Werror=unused-function
Change-Id: I773224bd332669c86648578a47612fa6d639c9c5
Reviewed-on: https://gerrit.libreoffice.org/44945
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 11:58:51 +01:00
Noel Grandin
ffba2c683a TypedWhichId for SDRATTR* constants (1)
Change-Id: I29bd18fea4dea531ae84ebc024d2aa87a5c7004d
Reviewed-on: https://gerrit.libreoffice.org/44943
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-20 11:53:47 +01:00
Gabor Kelemen
2d13cc9723 tdf#113909 Fix label alignment in Shadow tab of drawing object properties
Change-Id: I38afb0f193147243dc45bca461fc47d91d70e4e6
Reviewed-on: https://gerrit.libreoffice.org/44900
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-11-20 11:50:08 +01:00
Andrea Gelmini
d6d58bbef9 Fix typos
Change-Id: Ib138f971c4efcc67c68c901c9f08b4d1d95cdde2
Reviewed-on: https://gerrit.libreoffice.org/44933
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-20 11:23:12 +01:00
Miklos Vajna
61b7f21f7f sw: prefix members of SwFieldMgr
Change-Id: I330ec974d1f469f4068bf0fc4dba33c99c5894db
Reviewed-on: https://gerrit.libreoffice.org/44942
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-20 10:48:03 +01:00
Caolán McNamara
5cfbc85514 ofz#4318 Integer-overflow
Change-Id: I7ad1f39d82e44e4fa8dd78700b25deea0c19c81a
Reviewed-on: https://gerrit.libreoffice.org/44913
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-20 09:58:09 +01:00
Noel Grandin
0f0049d77a TypedWhichId for XATTR* constants
Change-Id: Ie9d637d701b77a549de3b00956f9c74ee8bd08c1
Reviewed-on: https://gerrit.libreoffice.org/44830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-20 09:43:25 +01:00
Noel Grandin
21e85d591f re-enable loplugin:useuniqueptr
Change-Id: Ic1a7e5bd3a8002ac996a6af1d1d9a439d4153b0b
Reviewed-on: https://gerrit.libreoffice.org/44864
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-20 08:03:42 +01:00
andreas kainz
e9b3a326ee Elementary Icons sc icon update
Change-Id: I26e74d9d357c8f14dc514c106a7291e4b144989e
Reviewed-on: https://gerrit.libreoffice.org/44935
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Tested-by: andreas_kainz <kainz.a@gmail.com>
2017-11-20 00:35:23 +01:00
Julien Nabet
c60c525902 Typo "Rigth_" -> "Right_"
Change-Id: Ibe981b178f8282ebf481411c7b2b3473b72cb69b
Reviewed-on: https://gerrit.libreoffice.org/44934
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-19 23:30:10 +01:00
Andrea Gelmini
86b8c063a4 Fix typos
Change-Id: I964528cf4f3b81230c683011e1878b28378b0014
Reviewed-on: https://gerrit.libreoffice.org/44915
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-19 21:57:17 +01:00
Szymon Kłos
2b2f1352c7 tdf#86087 Save relative links in DOCX
Save links depending on preferences set
Options -> Load/Save -> General -> Save URLs relative to ...

Change-Id: I96d06cfdc405d1e1254515106926374aee279f6c
Reviewed-on: https://gerrit.libreoffice.org/44785
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-19 21:15:54 +01:00
Szymon Kłos
40acf8d644 tdf#86087 DOCX Import link as relative if preferred
Change-Id: I92e273aa57db8b4b9779d8d784c5bbad42d720e5
Reviewed-on: https://gerrit.libreoffice.org/44735
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-19 21:15:29 +01:00
Julien Nabet
d5e30952be Typos about "bottom"
Change-Id: I8fec1f12d5f8330cd54da3e219268bf4e0b4c213
Reviewed-on: https://gerrit.libreoffice.org/44932
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-19 20:59:00 +01:00
Jochen Nitschke
4efae8d0f7 clang-tidy modernize-use-equals-default in svtools
no need to explicit delete SvtScriptedTextHelper_Impl assinment operator
because it's implicit deleted anyway.

Change-Id: I8463345e9035fc0466a22ed6648eb5b2614ed1b5
Reviewed-on: https://gerrit.libreoffice.org/44927
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-19 20:32:04 +01:00
Jochen Nitschke
ac3e2eac2b clang-tidy modernize-use-equals-default in sw/source/uibase
removing unused assignment operators for SwDocDisplayItem,
SwElemItem and SwShadowCursorItem, which are implicitly deleted now.

Change-Id: I25200c3c61b77c5dedf7cf9de3edabc9d1e68730
Reviewed-on: https://gerrit.libreoffice.org/44928
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-19 20:31:53 +01:00
jan Iversen
2d8cca33e3 iOS, updated app icon
new demands for appicons (iOS 11.1)

Change-Id: I26eb7c61d4ffe24347ed3b192b579d07e46afc34
2017-11-19 19:25:27 +01:00
jan Iversen
10f2a6852f iOS, added schemes to project
This is very much an experimental feature, to ease the building
process.

Currently only SIMULATOR is tested

Change-Id: I67137057132115d800af31a617aeafc585b0819b
2017-11-19 18:57:33 +01:00
Szymon Kłos
4b9e237850 tdf#86087 Open relative links in Writer
Change-Id: I3f6caad559d92ec559b8ae1c66e7fea13f52cb76
Reviewed-on: https://gerrit.libreoffice.org/44734
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-19 18:16:55 +01:00
Julien Nabet
f9d1de6c7b Use for range loops and lambda in dbfindex (dbaccess)
Change-Id: I72186af1eae37e31cafec695581336729d123d09
Reviewed-on: https://gerrit.libreoffice.org/44925
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-19 14:03:49 +01:00
Yousuf Philips
cba0399132 tdf#113777 dont translate 'Family:' and 'Style:' strings
these strings are replaced by strings in the code, so no need to
translate them 4 additional times

Change-Id: I6cd28b76367a950a2075cf5ef4ee021fe1a89fe0
Reviewed-on: https://gerrit.libreoffice.org/44761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-11-19 11:45:32 +01:00
heiko tietze
d68bdb562a tdf#113536 Better wording for CSV separator
Change-Id: I4bdd275f2343341e64a4a5dba4e5271888ca1799
Reviewed-on: https://gerrit.libreoffice.org/44901
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-11-19 11:31:27 +01:00
jan Iversen
f433253f5b iOS reactivated swarmsolver
swarmsolver now compiles after the license issue was corrected, so
no need to have a special case for iOS.

Change-Id: Icae81c2b5769af9c8fd53068d69cbb6e608c7e69
2017-11-19 11:12:21 +01:00
Mike Kaganski
dfc45f0aba Reuse already existing value
Change-Id: I996cd76b55265e783f51573b6d67b0c0187427c8
Reviewed-on: https://gerrit.libreoffice.org/44924
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-19 09:47:08 +01:00
Julien Nabet
60da185b57 Replace list by vector in accessible part of sc
+ remove useless typedef following https://cgit.freedesktop.org/libreoffice/core/commit/?id=65e578640f0258768a9253389356dbc63c845b7e
+ use for range loops

Change-Id: I9b69acf4c0b783ee8db34791b1044cbebb68da9f
Reviewed-on: https://gerrit.libreoffice.org/44919
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-19 09:39:46 +01:00
Thomas Beck
b904d639a8 tdf#108947 Added Unittest.
Added different branches for Windows/Linux because of differences in
linebreaks. Recommit with ifdef guard for preventing tinderbox failure

Change-Id: I08c45e3e653990a47a85aee6f63f063b2f9385a7
Reviewed-on: https://gerrit.libreoffice.org/44677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-19 01:58:58 +01:00
Tomaž Vajngerl
4cc86c8fbf Remove include config_lgpl.h from SwarmSolver, license is MPLv2
Change-Id: I7c29c2e1a6e782dfc24b284f196521a7f7beef61
2017-11-19 01:06:46 +01:00
Serge Krot
2865210607 tdf#50746 Make "paste unformatted text" work for Calc
The same command with the same Ctrl+Shift+Alt+V hot-key
was already added inside Writer. So now Calc has it too.

Change-Id: I2b2d1b02e33288bc058c773431f029fb1d33d3be
Reviewed-on: https://gerrit.libreoffice.org/44886
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-19 00:49:57 +01:00
Bartosz Kosiorek
63bd6ee2c4 tdf#111486 Multiply by whole base transformation, and not only by scale of it
Change-Id: Ib50fa1ac36f06dbd7e5e921f9c13c5d5ac8bb138
Reviewed-on: https://gerrit.libreoffice.org/44869
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-11-18 23:36:09 +01:00
Caolán McNamara
2caec93c4a ofz#4306 init draw layer
Change-Id: I2a8bfa72e7e83ec86301cbfb952235e6b984b363
Reviewed-on: https://gerrit.libreoffice.org/44906
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-18 22:00:04 +01:00
Caolán McNamara
84cbd415cd we now get a solver lib even without lpsolve or coinmp
Change-Id: I867d9aa37f876532dd67dadff7cd76f6e35868ba
Reviewed-on: https://gerrit.libreoffice.org/44912
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-18 21:59:41 +01:00
Caolán McNamara
5280b3eaa6 silence some coverity warnings
Change-Id: I5a530e37156b5cd36e8a07ac20851880a46f520d
Reviewed-on: https://gerrit.libreoffice.org/44875
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-18 21:59:23 +01:00
Mike Kaganski
06756e412b One more proper construction of vnd.sun.star.pkg URL
Change-Id: I4b1bfc9c9b158506424ec0b5e2fd71c6ccb7d3ec
Reviewed-on: https://gerrit.libreoffice.org/44917
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-18 21:38:36 +01:00
Yousuf Philips
49098daf57 tdf#113777 Add colon after family and style labels
Change-Id: I27a58b9c6f63275f3901d00e807588c2f4c278af
Reviewed-on: https://gerrit.libreoffice.org/44905
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-11-18 17:15:41 +01:00
jan Iversen
5568df9251 Makefile.in typo
Typo in the foreach macro.

Change-Id: Ic9d69753eff81d06f662be7cd0dc1fc4f965b4f3
2017-11-18 16:33:08 +01:00