summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-28loplugin:cppunitassertequals: cppuStephan Bergmann1-41/+89
Change-Id: I0497e726ca8c75b84acf3a8d177cfe4883ee2517
2017-04-28loplugin:cppunitassertequals: configmgrStephan Bergmann1-2/+10
Change-Id: I02d54c1eee815e7c6575a8131d59974089299bdf
2017-04-28loplugin:cppunitassertequals: comphelperStephan Bergmann1-1/+2
Change-Id: Ice8310b60d8bd2930bc00110f88f77565d33341b
2017-04-28loplugin:cppunitassertequals: basicStephan Bergmann1-1/+1
Change-Id: Icaa3e0eace6ccff365d4ebdb007771fc8a78671a
2017-04-28loplugin:cppunitassertequals: basegfxStephan Bergmann5-203/+209
Change-Id: I942634a688d7728bb21c3ce9bd530e07467cb7c5
2017-04-28Printing of some more basegfx typesStephan Bergmann2-0/+29
...as will be needed by some upcoming replacements of CPPUNIT_ASSERT with CPPUNIT_ASSERT_EQUAL Change-Id: I24ede3cc287bcc3b5e73eb400e4044c469657659
2017-04-28Remove now-duplicate css::uno::Type operator <<Stephan Bergmann1-11/+0
...was missing from 06c1dc4c09ba816affb8b65e8215bcd56a81df91 "LIBO_INTERNAL_ONLY: printing of css::uno::Reference/Type" Change-Id: Ifb3f8f72bfeb1038f01797aab9afb5f5059f9d5b
2017-04-28Make some basegfx operator << found by ADLStephan Bergmann5-54/+54
...as will be needed by some upcoming replacements of CPPUNIT_ASSERT with CPPUNIT_ASSERT_EQUAL Change-Id: I7c861f1cb81de4540e88d89dbf095acc61a56503
2017-04-28LIBO_INTERNAL_ONLY: printing of css::uno::Reference/TypeStephan Bergmann2-0/+27
...as will be needed by some upcoming replacements of CPPUNIT_ASSERT with CPPUNIT_ASSERT_EQUAL Change-Id: Ie2b2b982b02f2bf48e2e8be7ba642198029c8698
2017-04-28loplugin:checkunusedparams in connectivityNoel Grandin6-15/+7
Change-Id: I302af54f4bcb5807c264f7926cffa025550ccb00 Reviewed-on: https://gerrit.libreoffice.org/37065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28tdf#107474 sw: fix crash when deleting header with active SdrObjectMichael Stahl1-0/+5
The problem is that the SdrView's text edit mode remains active when the header is deleted, which deletes the active SdrObject that is anchored in the header. Then the next call to SdrBeginTextEdit() will call SdrEndTextEdit() but the mxTextEditObj WeakReference is null then and so the cleanup code that resets the SdrOutliner's UndoManager is not called, but then the SdrOutliner is deleted. What's really horrible about this is that while text editing is active, both SdrObjEditView and ImpEditEngine consider themselves the exclusive owner of SwDoc's UndoManager. (regression from 12a4200e8ff7f045efcc7e9d15a24b15b248c437 and d7b7c9fdfe63deec26c420efc3ff1fd73c21bb27) Change-Id: I17c5165a03d2de1eaba8a335dfbfded56573f8a2
2017-04-28sw: remove useless commentMichael Stahl1-1/+1
Change-Id: I019aa3a9381af0cb26970b69ab41258e05410617
2017-04-28Fix indentationTor Lillqvist1-4/+4
Change-Id: I9d4b933e6a1a108427ac6583ff8305b40a620409
2017-04-28loplugin:checkunusedparams in accessibility and avmediaNoel Grandin8-22/+9
Change-Id: I94df9a65578792fb06f3b3259603f70ca1e0b3db Reviewed-on: https://gerrit.libreoffice.org/37059 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28ofz: avoid timeout and return early on failureCaolán McNamara2-5/+8
Change-Id: I083aa07b311fa073ea5eeb1d569b0902e0f9c095
2017-04-28convert to std::vectorCaolán McNamara3-14/+8
Change-Id: I315755d49df5d29c6c7075237b7401f16c89b449
2017-04-28fix indentCaolán McNamara1-57/+55
Change-Id: I75faea4d701f401c5367142e4710ae613c8834be
2017-04-28build boost::locale libraryCaolán McNamara10-0/+294
Change-Id: I40b89a0df483645fc743fb092d3d39ea682c510c Reviewed-on: https://gerrit.libreoffice.org/37060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-28commit: loplugin:checkunusedparams in chart2Noel Grandin38-110/+98
Change-Id: Ia1f42e74365ca1dace93babc132ad67fd09fc99d Reviewed-on: https://gerrit.libreoffice.org/37064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28iOS, fixed build breaker.jan Iversen1-2/+2
Fast fix to build breaker from commit 3a36cf434fb4a967c9ea767cb7ac5f4da0502a0d Removing the parameter from the constructor gave ripple effects to move/copy constructors, so not done for now. Change-Id: I98e060e80946dbfe6586744e4f362ccb358a210d
2017-04-28tdf#105841: Avoid REGRESSION!!!Tor Lillqvist4-67/+248
Let's reinstate the name charade instead. Pitäkää tunkkinne. This reverts commit 5941496601600269296dde3e4ff8b615a8bb45ca. This reverts commit db231633af4667e24281e0be69ab63ad3081fdc3. Change-Id: I7d9890f3bd478bac195c1a7a59ff9822c2c83653
2017-04-28Add group option, group by usage attributeEike Rathke1-9/+59
Change-Id: Ib20d6ca4bad6f15999abdd93b74ccb3e82a664d6
2017-04-28Rename to sort-formats.awk that better fits plansEike Rathke1-0/+0
Change-Id: I4d4092375a040793f8aa408802978c420f33a4f3
2017-04-28clang-tidy readability-simplify-boolean-exprNoel Grandin38-242/+74
Change-Id: Iea7ab64683f0b29794d50d774cc482b54a00e70a Reviewed-on: https://gerrit.libreoffice.org/36450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28now this argument is always trueCaolán McNamara1-4/+4
Change-Id: I1d53ca095829b13818e58c1da1f0ed4c79a11e91
2017-04-28gb_SrsTarget_add_nonlocalizable_file is now unusedCaolán McNamara1-18/+0
Change-Id: Ia525e2a3bdb9a7342fbb0982f637d926c5de9a38
2017-04-28another name for a nonlocalized string is a stringCaolán McNamara5-41/+21
Change-Id: I165d74c59d1cccba295072a3df7b9f54dfb60449
2017-04-28loplugin:unusedfieldsNoel Grandin4-71/+71
Change-Id: I67a0372d6982648717651f736c51e447d0b7d6a2 Reviewed-on: https://gerrit.libreoffice.org/37047 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28Updated coreOlivier Hallot1-0/+0
Project: help 1b57b226d2944bc55f8c28a384bb2c328a720e55 Fix use of F4 in database explorer https://listarchives.libreoffice.org/global/documentation/msg11421.html Change-Id: I04a84c24d854740db3752690fcba0155a4042f11 Reviewed-on: https://gerrit.libreoffice.org/36994 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-04-28probably android build fixCaolán McNamara1-7/+5
Change-Id: I95fe4879fe2e43e5b11165a703066ae1a029b5b1
2017-04-28tdf#107437 Fix display of Start/End Quote window titlesGabor Kelemen4-8/+12
Drop this string surgery nonsense. We translators can surely handle four more words. Change-Id: I44be5fae7cc61dcac960cc5c33c60f0b5d354675 Reviewed-on: https://gerrit.libreoffice.org/37003 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-28loplugin:unusedmethodsNoel Grandin3-66/+5
Change-Id: I8b618d791fd093ea069fdc26ed6c274e172222a4 Reviewed-on: https://gerrit.libreoffice.org/37048 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28fix make internal.cleanNoel Grandin1-1/+1
Change-Id: Ie020a7f0be616fa72b1d4fd2c2874bf61b11336b Reviewed-on: https://gerrit.libreoffice.org/37049 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-28Bin the same comment copy-pasted meaninglesslyTor Lillqvist1-10/+4
Change-Id: I1f6498f037a2ff121ef7db0976329b12e22c2f94
2017-04-28loplugin:checkunusedparams in configmgr and vclNoel Grandin35-205/+144
Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba Reviewed-on: https://gerrit.libreoffice.org/36975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-27tdf#107020: Reintroduce uses of I32S, I64SStephan Bergmann7-145/+151
...that had been removed with 4b788a12380518e31a9064d5839f4880d3f36874 "There should be no need to distinguish between I32S and I64S" (which this commit effectively reverts). I had erroneously assumed that the arguments to I32S and I64S would only be of (signed) integer types, and that it would be irrelevant that they are truncated to sal_Int32 resp. sal_Int64. However, at least oox/source/export/drawingml.cxx called I32S with double values (for which there is an OUString::number overload too), so the resulting strings could be rather different. Change-Id: Ib3887269fad0764740bc9ed3be91f67696a23b55 Reviewed-on: https://gerrit.libreoffice.org/37040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-27tdf#105942 Don't hang when file is protected and compressedXisco Fauli1-1/+1
Change-Id: I762e6e6d457ea3f5a1f1fd706268b832a71ee550 Reviewed-on: https://gerrit.libreoffice.org/36672 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-04-27Sort FormatElement and their children by formatindex valueEike Rathke1-0/+82
Change-Id: Ifa5b4a74de864b2eea982a166f90095344f812ea
2017-04-27Resolves: tdf#106902 swap [es-SV] decimal and group separatorEike Rathke1-2/+168
Made copying and adjusting LC_FORMAT and child elements from es-BO necessary, some difference was in all existing es_* codes so no ref=... possible. Change-Id: I114bed5348ebcaa646a749753cb542752aff58f0
2017-04-27tdf#88555: band-aid fix, using GetPos/find instead of ContainsThorsten Behrens2-12/+12
to find out whether given format still exists. GetPos was replaced by Contains on multiple places in commit 98436c4b53639d86f261ac630c46d32e3c7b8e28 but sometimes after series of undos/redos, vtable of some items in those format arrays becomes corrupt and it makes dynamic_cast (as used by Contains) fail and Writer falls flat on its face. This is just a workaround, no idea about the root cause. Change-Id: I1e02fd932dbac741687c15900841b9b7c778e2d4 Reviewed-on: https://gerrit.libreoffice.org/37038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-27tdf#39468 cleanup source code commentsdennisroczek11-61/+32
* translate German source code comments * remove ascii art * remove bogus source Code comments * remove old StarOffice/Sun internal bug tracker references Change-Id: I443bf2fdba3780c411d69809111daf3aa3a48451 Reviewed-on: https://gerrit.libreoffice.org/36005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-27cut top layer of detecting used bitmap resources in .src/.res filesCaolán McNamara5-23/+3
Change-Id: I476ff9f55c264983419d5410035c1dfe6e07d5a3 Reviewed-on: https://gerrit.libreoffice.org/37035 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-27can move these nonlocalized strings into sourceCaolán McNamara6-1066/+618
if u8 is suported everywhere Change-Id: I0448db49e6f2e5c6cd6806b8da072ba672b6d95a Reviewed-on: https://gerrit.libreoffice.org/37029 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-27tdf#39468 Translate German comments in swJens Carl3-50/+47
Translate German comments and terms in sw/ Change-Id: Ie33ad4496f9aeb5c06612241779fba627a5d2876 Reviewed-on: https://gerrit.libreoffice.org/36926 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-27split nTypeAndId into two fields in ImpContentNoel Grandin1-27/+41
preparatory to making the id part into strong_int Change-Id: Ied96193a6db9d45b24267b51b3014eb923319598 Reviewed-on: https://gerrit.libreoffice.org/37027 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-27writerfilter: SvxFrameDirectionItem::PutValue() wants an UNO shortMiklos Vajna2-5/+5
And not an UNO com.sun.star.text.WritingMode. This fixes the following warnings during DOCX import: warn:legacy.osl:12884:1:writerfilter/source/dmapper/PropertyMap.cxx:1484: Exception in SectionPropertyMap::ApplyProperties_ warn:legacy.osl:12884:1:writerfilter/source/dmapper/PropertyMap.cxx:1496: Exception in SectionPropertyMap::ApplyProperties_ Change-Id: Ib4f392b3e4328311baa5767b5a2079730218fca3 Reviewed-on: https://gerrit.libreoffice.org/37028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-04-27crashtesting: more crashing on exporting fdo31814-3.emf to odgCaolán McNamara1-3/+6
Change-Id: I4cb359b426daed6c5d83c4ed4b85fe87de9d739a
2017-04-27crashtesting: crash on exporting fdo31814-3.emf to odgCaolán McNamara1-1/+1
since commit f9af0abce2c266a53f536a207a62bc691213f6a0 Date: Sat Apr 15 01:44:46 2017 +0200 EMF+ Add initial support for EmfPlusStringFormat Object The EmfPlusStringFormat object specifies text layout, display manipulations, and language identification. With this commit the support for font language and country was added. Also Bold style is applied, for strings which needs that. elsewhere the pattern is to mask with 0xff to restrict to the hardcoded 256 size, so do that here too Change-Id: Iba5bcc3fabe836c963b3eef47a864e87425675c7
2017-04-27Translate German comments (rest of svx/ except svx/source/form/)Johnny_M27-136/+122
Change-Id: Ib0fccc41c71902861f450c6184f57be2c5da0811 Reviewed-on: https://gerrit.libreoffice.org/36804 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-27remove ResourceBasedEventLogger in favor of its base EventLoggerCaolán McNamara9-141/+19
because there are no resources in use anymore Change-Id: I37e4a100aabbf6214533738da3e528ed2f434eae