summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-28probably android build fixCaolán McNamara
Change-Id: I95fe4879fe2e43e5b11165a703066ae1a029b5b1
2017-04-28tdf#107437 Fix display of Start/End Quote window titlesGabor Kelemen
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 Grandin
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 Grandin
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 Lillqvist
Change-Id: I1f6498f037a2ff121ef7db0976329b12e22c2f94
2017-04-28loplugin:checkunusedparams in configmgr and vclNoel Grandin
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 Bergmann
...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 Fauli
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 Rathke
Change-Id: Ifa5b4a74de864b2eea982a166f90095344f812ea
2017-04-27Resolves: tdf#106902 swap [es-SV] decimal and group separatorEike Rathke
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 Behrens
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 commentsdennisroczek
* 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 McNamara
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 McNamara
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 Carl
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 Grandin
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 Vajna
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 McNamara
Change-Id: I4cb359b426daed6c5d83c4ed4b85fe87de9d739a
2017-04-27crashtesting: crash on exporting fdo31814-3.emf to odgCaolán McNamara
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_M
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 McNamara
because there are no resources in use anymore Change-Id: I37e4a100aabbf6214533738da3e528ed2f434eae
2017-04-27drop unused comphelper::EventLogger::logpCaolán McNamara
Change-Id: I833210f036356c09d6c2f9f72dde7012064b01ef
2017-04-27drop writeonly unused structCaolán McNamara
Change-Id: I6a7d58899991109264d86059a16b4a3a540f1491
2017-04-27the only use of this argument is sdbcl which is a deleted resource fileCaolán McNamara
Change-Id: I31c140dcab9a291c4ede62e56d296a224dcd47c8
2017-04-27un-default argumentCaolán McNamara
Change-Id: I5d60998b4c30f58ee9c734b37d3f97118db8d7cf
2017-04-27sdbcl is goneCaolán McNamara
Change-Id: Id9c7106d2674a661b16b7772f866b3d103bae327
2017-04-27Resolves: tdf#107241 don't let floating function description grow infinitelyCaolán McNamara
Change-Id: Ief87c15c637d725d25416b64739fb3f5f07cded4
2017-04-27sal: cppunittester: verify that CPPUNIT_TEST_NAME contains a testMichael Stahl
Fail the test if CPPUNIT_TEST_NAME does not contain at least one existing test, which is much better than silently reporting OK(0). Change-Id: If2137764b24aa52dc35fe2368ee8fe38cb7dbece
2017-04-27Resolves: tdf#107411 LibreOffice hangs at RTF import timeCaolán McNamara
regression from... commit b993942622897fc64a1f7462189fa0463eb30e1c Author: Caolán McNamara <caolanm@redhat.com> Date: Sat Apr 1 16:43:04 2017 +0100 ubsan: use WrapTextMode_MAKE_FIXED_SIZE instead of -1 as unset flag cause WrapTextMode_MAKE_FIXED_SIZE is >= 0 Change-Id: I6b5adbcc38cc841c5df9a0af9acdf634d3c6c757
2017-04-27tdf#47243 tdf#39327 tdf#103639 Proper scaling of SetPageTransformBartosz Kosiorek
The EmfPlusSetPageTransform record specifies scaling factors and units for converting page space coordinates to device space coordinates. In previous implementation I made scaling after translating page scaling. For some images it was working correctly (if there wasn't translating). WIth this commit I fixed this issue. Change-Id: I1e9e78ecdab663328f86a960d8547ad0a7fc1314 Reviewed-on: https://gerrit.libreoffice.org/37010 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-04-27Access2Base - Optimize default value in field classJean-Pierre Ledure
Buffer default value to optimize multiple records insertions Change-Id: Ia339e8f4b4d00419978503d6351b331a0b987826
2017-04-27explicitly defining __RSC is no longer necessaryNoel Grandin
since commit 6b448d3634f26224e480c0f30c617eacd7b4e3ab "make __RSC a builtin define for the RSC compiler" Change-Id: I99af239993c3217bf528f5595def0c2de337f01b Reviewed-on: https://gerrit.libreoffice.org/37025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-27sdext: fix loplugin:stringconcat warningMiklos Vajna
Change-Id: I1e9aa0826d8692819fb05d2f572cf3c4e976fe00
2017-04-27comphelper: fix loplugin:unreffun warningMiklos Vajna
Change-Id: Ie3d398568dbb4e237b8d03349c0286f2776e7cdd
2017-04-27tdf#107204: Make sure we always do Unicode BidiKhaled Hosny
Writer seems to have an “optimization” that only applies bidi algorithm if the text direction is nor LTR and there is some characters that we classify as complex script. This is a very simplistic optimization as evidenced by the bug above. We certainly don't want to skip bidi the text differently based on the default direction (whatever that means), and not all RTL scripts are complex ones, even if they are we might be behind Unicode in our script classification. Just trust that bidi algorithm does the right thing and don’t do premature optimization. If this turns out to be a real performance issue, we will need to find a better optimization. Change-Id: Ic0423b61d54de937bded95b369dab50e8fdca0df Reviewed-on: https://gerrit.libreoffice.org/36704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-04-27sw: add test that SwXTextCursor is disposed if header is deletedMichael Stahl
This test failed for 2 reasons: 1) since somewhere between LO 5.0 and 5.1, the PaMCorrAbs sent a SwMsgPoolItem but SwUnoCursorPointer checked for a LegacyModifyHint (fixed in commit a029a479429d334875b73e2fc4e34b314a1ad369) 2) the SwXHeadFootText being registered at the header format prevented its deletion (fixed in preceding commit) Change-Id: I1d36bc2b9ca222b1b68fda94ded65451a677214a
2017-04-27sw: fix always-true condition in lcl_DelHFFormat ...Michael Stahl
... that prevents headers from being deleted if they have a client. (regression from d4267231754c1e6b03c7723a6fecc46750e7c780) Change-Id: I71f52f8806e59c97b81aa14144c700c14c5527b0
2017-04-27Add ICU ticket number for this patchEike Rathke
https://ssl.icu-project.org/trac/ticket/13176 Change-Id: I1bf7a0787f46186895e7ee9144d5f219ea59e2df
2017-04-27Add ICU ticket number for this patchEike Rathke
https://ssl.icu-project.org/trac/ticket/13175 Change-Id: Ib7756f3c41d2395f65d898e39808616c04ee58ee
2017-04-27another name for a nonlocalized string is a stringCaolán McNamara
Change-Id: Ic4ff92720edd1c10dd6d5eff026e79cb02990005
2017-04-27fwk_services.src doesn't existCaolán McNamara
since 748ed65ffba9d69ed333fd1347c30dd7a3a944b8 Change-Id: Ief2efad17b3f485aeb975257e120ce20e67fb5b8
2017-04-27can detangle the sdext graphic resource nowCaolán McNamara
Change-Id: I2992b859bbebfa4bfae3ea5bfe76e8aa62193f69
2017-04-27aSearchPath is write onlyCaolán McNamara
Change-Id: I2dd8c4b9db53ed2c575500d2b00e90d5a99ac6e4
2017-04-27aSysSearchPath is write onlyCaolán McNamara
Change-Id: Ic88f12c1e6cb379150cb9521a9468244d6ce0cc5
2017-04-27no bitmaps in .src files anymoreCaolán McNamara
Change-Id: I0228cae8590366be5d5f0d431cf655942bbb891c
2017-04-27last private:resource ... bitmapex user is goneCaolán McNamara
so drop private:resource ... bitmapex example and update docs Change-Id: I244c575573cffda5eb8ca52afd2f4a04a9b18f14
2017-04-27ImageList python thing unused since WebWizard dropCaolán McNamara
Change-Id: Id4961341def8cc4c242736580154411b5b137885
2017-04-27remove wizards bitmaps from .src filesCaolán McNamara
Change-Id: I4e334ac88e1e060bc07af9b174b9b8fb1401fc80
2017-04-27loadFromResource is now unusedCaolán McNamara
Change-Id: Ibea3defdf8d2642c4ba523db7f4fc8fbc2473488
2017-04-27remove sw bitmaps from .src filesCaolán McNamara
Change-Id: I9ccd69662f9d3a77d1921b3433b0e2f541960a90 Reviewed-on: https://gerrit.libreoffice.org/37020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>