summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-06tdf#39468 Translate German commentsJens Carl22-123/+118
Translate German comments and terms in sc/ Change-Id: I93c7cf423325715435910a89420e7522b440c81e Reviewed-on: https://gerrit.libreoffice.org/36192 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-06loplugin:useuniqueptrJan-Marek Glogowski2-5/+5
Change-Id: I1499ea7316811892c014592ef2bb6e431543af1a
2017-04-06loplugin:useuniqueptrStephan Bergmann1-2/+1
Change-Id: Icd2ff94d1fb9003e634b6f789d66011b1c94dd5b
2017-04-06loplugin:useuniqueptrStephan Bergmann1-2/+4
Change-Id: I706838b9fae087017f60782c185340e6560de86a
2017-04-06tdf#106190 Fix (again) left alignment of denominatorLaurent Balland-Poirier2-19/+13
Instead of moving spaces from left to right, like it was done previously, this patch insert spaces directly on right when in denominator This avoid complex calculation when user enter such (stupid) format: # ?/ ??? or # ?/" hello world "??? In SvNumberformat::ImpNumberFill, for NF_SYMBOLTYPE_FRAC_FDIV you need at least to move in sBuf, to insert text at the expected place for (stupid) format like # ?/ 100 or # ?/" hello world "100 All these formats works, but are stored in ODF with text after fraction Change-Id: I296e60643e93242b8006848a643135219ad4ad0c Reviewed-on: https://gerrit.libreoffice.org/35320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-04-06lokit: make this build on windows, silence extra warningsThorsten Behrens2-9/+12
Change-Id: I78d5ce58d55d27eaa0256a0c1ddffed3a5f2cf91 Reviewed-on: https://gerrit.libreoffice.org/36175 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06loplugin:useuniqueptrStephan Bergmann1-2/+6
Change-Id: I33aafc7351c5fdc2c677d0be123f666211255ccb
2017-04-06use OUStringBuffer in SwWW8ImplReader::ReadRawUniStringNoel Grandin1-29/+16
insteaf of the underlying C API also clean up the call sites, nothing actually needed to do any appending. Change-Id: I175218df641a0d05fd4d79d7675f401dd9712319 Reviewed-on: https://gerrit.libreoffice.org/36210 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06loplugin:useuniqueptr for ScViewFunc::InsertNameJan-Marek Glogowski1-6/+5
Change-Id: Idf0b08a86f9b8043b3b886a0b15b2ac0fbb905fb Reviewed-on: https://gerrit.libreoffice.org/36209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-06Look through ExprWithCleanups etc.Stephan Bergmann1-1/+3
Change-Id: I5c8af20a71eca245c4b2a0061dc0612a4770c8ff
2017-04-06libmwaw: fix MSVC2017 "invalid comparator" assertMichael Stahl2-0/+14
Change-Id: Ic1ace8da86d6306d1cc3d3b124a236bf794cc7be
2017-04-06loplugin:redundantcast check for c-style casts to voidNoel Grandin4-7/+8
Change-Id: Ic8b99f590436f94825e471bc61411c69fd768862 Reviewed-on: https://gerrit.libreoffice.org/36208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06Resolves: rhbz#1438876 detect preferred help module for csv dialogCaolán McNamara2-19/+34
For calc import before any toplevel is created the context is otherwise unknown. If a help id starts with a specific module name, then default to that module name as default help category context. Cosmetic, same help is shown in any case because its in the shared section, but title bar would state "Writer" when context is expected to be "Calc" Change-Id: I3323bc55ef23ec162dad4349efb5e84ec3e8054c
2017-04-06split out module->help mappingCaolán McNamara1-27/+40
and add the missing not-toplevel-in-help ones from... ls instdir/share/config/soffice.cfg/modules|sort|uniq Change-Id: I618d91e1271b3a200928494156d93cbfef45c19f Reviewed-on: https://gerrit.libreoffice.org/36206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-06xmlsecurity: remove unused ImplXMLSignatureListener::signatureCreated()Miklos Vajna2-10/+0
ImplXMLSignatureListener doesn't have to implement XSignatureCreationResultListener, signatureCreated() is only called at SignatureCreatorImpl::notifyResultListener(), on an object set by SignatureCreatorImpl::addSignatureCreationResultListener(). But addSignatureCreationResultListener() is only called from XSecController::prepareSignatureToWrite() where the argument is of type XSecController. Change-Id: I378bda8b1ffdebb4305bec9eebe093aa2443b4e7
2017-04-06loplugin:redundantcast check for c-style float castsNoel Grandin7-12/+13
Change-Id: I86b6f58887cb398a80698f8d8564b5bc3f55eabb Reviewed-on: https://gerrit.libreoffice.org/36198 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06lokit: avoid null pointer access w/ undefined LOPath varGabriel Herrera1-2/+5
Change-Id: I777fa58a138d453a108b0c65dcfd667d3da25999 Reviewed-on: https://gerrit.libreoffice.org/36174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06tdf#106359: register .iqy in MSI and treat them as templatesMike Kaganski6-6/+16
Change-Id: I7ae94c7717fbea03d96c539e05eeb565bafefd9f Reviewed-on: https://gerrit.libreoffice.org/36188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-06tdf#106943 Lock down Experimental features and Macro recordingGabor Kelemen1-0/+6
Visually disable these features if they are locked by system administrators Change-Id: Ib35840312ad9c506e689ec6c9d432a88c07a5c28 Reviewed-on: https://gerrit.libreoffice.org/36095 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-06SwWW8ImplReader::ReadRawUniString needs some loveNoel Grandin1-14/+6
- remove the useless null substition - remove a copy by reading directly a rtl_uString object Change-Id: Ifa02bcee0ec1d119d8ff4da34788f13f58873c93 Reviewed-on: https://gerrit.libreoffice.org/36199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06Use OUString function variants that take a (narrow) string literalStephan Bergmann1-27/+27
...instead of going via an OUString temporary created from a char16_t string literal Change-Id: I9bdc1fe5e92988fbe227534a183c0c5a86ebc2a1
2017-04-06loplugin:unreffun (clang-cl)Stephan Bergmann3-3/+25
Change-Id: Ifd5522ce1be31f9c9bd432ccf40a0c971063c8da
2017-04-06tdf#100108 Layout labels not consistentThomas Beck1-12/+12
Labels in layout menu are now consistent with the names of the tooltips shown in the layout tab Change-Id: Ie3dd13af03fcd8b29cfb5e9b6e8fe43b1668bc94 Reviewed-on: https://gerrit.libreoffice.org/36196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-06convert zoom menu to .uiCaolán McNamara7-121/+123
Change-Id: I4163042773f0f38e3372527d0a77a1b370bcafe9
2017-04-06reinstate removed but inuse resourcesCaolán McNamara2-0/+10
since... commit 6742500ccb2ff6d39f527760152d2b08fd9cfe17 Date: Wed Mar 15 13:16:37 2017 +0200 remove unused defines from HRC files in sw/ Change-Id: Ie9cb54ba854ef04deaf9857468b3dbb171eb9b5a
2017-04-06split closeOutput upCaolán McNamara2-5/+13
Change-Id: Id6408fa804e1049ceab012ec0220d8e6f8d8e555
2017-04-06scriptclass for codepoint 0 is WEAKCaolán McNamara1-1/+1
getScriptClass returns the cached nRet if new char equals old char old char is initialized to 0, so nRet should be initialized to the script class 0 would map to, which is WEAK (1), not 0 Change-Id: I30a8388d7c91e786c88deee781a7e2f80f219207
2017-04-06Updated coreCaolán McNamara1-0/+0
Project: help b1f5e0083595ceef845ee8a39e82ad1ed023896f update help ids for .ui conversion Change-Id: I945ba9cc0ebce82363ae569da1701c5d01136619
2017-04-06KAB lo:redundantinline pluginJan-Marek Glogowski3-4/+3
Change-Id: I522be5260b8f61afb2b133a6e32bd0b66c1b7522
2017-04-06loplugin:useuniqueptr extend to catch more localvar casesNoel Grandin21-146/+103
i.e. where the code looks like { foo * p = new foo; ... delete p; return ...; } Change-Id: Id5f2e55d0363fc62c72535a23faeaaf1f0ac6aee Reviewed-on: https://gerrit.libreoffice.org/36190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06loplugin:singlevalfieldsNoel Grandin17-58/+47
Change-Id: Ia681765aa1da5c80a3dbe91b7376af841a9c9ec1 Reviewed-on: https://gerrit.libreoffice.org/36145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06Revert "tdf#106792: Fix "Geometry" property of changed-to-bezier ↵Stephan Bergmann1-19/+3
SvxShapePolyPolygon" This reverts commit 26909d9de4c6e7165fc8f5d938ee6ef55b87cc5c, see <https://bugs.documentfoundation.org/show_bug.cgi?id=106792#c10> for why this was wrongly addressing symptoms, not the root cause. Work on a proper fix is ongoing.
2017-04-06unnecessary pre-all-oustring copyCaolán McNamara1-8/+7
Change-Id: Ife45898482b74b1b911001d99d04bb8daeacfb41
2017-04-06move ScAutoFormat::Save out of dtorCaolán McNamara3-23/+10
and drop unused copy ctor etc Change-Id: I958dae00ffc55cb42acae3c6341ccb6b21a30a84
2017-04-06Fix typosAndrea Gelmini18-24/+24
Change-Id: I9e7f7fa6a8b89304883a843f9fb0b905f5e8a8a4 Reviewed-on: https://gerrit.libreoffice.org/36100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-06loplugin:redundantcast find cstyle double castsNoel Grandin48-105/+100
Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8 Reviewed-on: https://gerrit.libreoffice.org/36187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06Call CPPUNIT_ASSERT directly (also avoids -Werror,-Wformat with clang-cl)Stephan Bergmann1-28/+16
Change-Id: I78a1d59e6814ad7f3e39fd720871189ccb0e22d1
2017-04-06Fix crash while running the Notebookbar modeSzymon Kłos1-17/+20
Change-Id: Ifc9b900e49968c46768af3b9ee18bbb834f60557 Reviewed-on: https://gerrit.libreoffice.org/36165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-04-06Added help blurb for make verboseManfred Blume1-0/+1
Change-Id: Ibf06e37acc4b6ea69863abc9267152278c4598be Reviewed-on: https://gerrit.libreoffice.org/35770 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06Fix .gitignore after vs2015-ide-integration updateManfred Blume1-0/+3
Change-Id: I2899d02e048838f02d46d87b28fd4bbecf8a277a Reviewed-on: https://gerrit.libreoffice.org/36155 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-05sc: fix type mismatchJochen Nitschke3-3/+3
ScGlobal::eLnge is of type LanguageType aka unsigned short GetStandardFormat(LanguageType) called SvNumberFormatter::GetStandardFormat(short eType, LanguageType eLnge = LANGUAGE_DONTKNOW) There is no GetStandardFormat with LanguageType as first parameter. But there is SvNumberFormatter::GetStandardIndex(LanguageType eLnge = LANGUAGE_DONTKNOW) let's call this. Change-Id: I0e89d748291e7827cd488a1c61052da6be216d56 Reviewed-on: https://gerrit.libreoffice.org/36088 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-04-05update comparedocument and showtrackchanges iconandreas kainz14-135/+55
Change-Id: Ie2d1931411461f8261d443056beb20e22ca4e1c5 Reviewed-on: https://gerrit.libreoffice.org/36170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-04-05ofz: convert to unicode may fail, so only advance insertion on successCaolán McNamara1-5/+5
Change-Id: I3ab25a9075a559f7a3eb51488e243a4302ad87fe
2017-04-05Related: tdf#106972 vcl PDF export, PDF images: ignore PDF >= 1.5Miklos Vajna3-2/+66
When copying their page steam into ours, we need to make sure their syntax is <= 1.4; so when checking if the image has PDF data, ignore the case when it has, but it's >= 1.5 (at least in the default case when not using reference XObjects). Change-Id: I6bd77803b92fe16bdd327e5e7c3d2b42adeacca4 Reviewed-on: https://gerrit.libreoffice.org/36161 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-04-05unused variableJochen Nitschke1-1/+0
Change-Id: I4f6ceeaaebb6f9adf2c1fa6993f88283d9d957b4 Reviewed-on: https://gerrit.libreoffice.org/36156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-05android: simplify some if statements, remove redundant variablesChristian Lohmaier7-37/+13
Change-Id: I55a866ac66ffeab5fe2ebb45d86f68558b468650
2017-04-05tdf#98604 Added requested panels to sidebarThomas Beck1-0/+4
Added Text and Paragraph parameter panels to Sidebar if a line is drawn Change-Id: I3a6dc3b34671dbf75084048c39fdbc040cf27d76 Reviewed-on: https://gerrit.libreoffice.org/36139 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-05tdf#106972 vcl PDF export, PDF images: handle indirect font referencesMiklos Vajna5-10/+104
There were a number of problems here: - the /Resources key of a page object may be an indirect object - the /Font key of a resource object may be an indirect object - the /Length key of an object may be an indirect object So in all these cases handle not only a direct dictionary / number but also when we have a reference-to-dictionary/number. Change-Id: Ie74371f0ba43a133a1299843ef20cbfc75fe26d7
2017-04-05Letters are cheapTor Lillqvist1-19/+19
Change-Id: Idb076f765de2cda54429b828a7ca6857168bf999
2017-04-05android: getDrawable(int) is deprecatedChristian Lohmaier2-9/+9
additionally reduce scope of to package-private Change-Id: I46ca55c5ef7daf992407beef53f5da939bf9066a