summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-04prevent memory leakMarkus Mohrhard
Found by Lsan. Returning this or a heap allocated object asks for trouble. Let the caller handle it and return null instead of this. Change-Id: I7586e103bef5a8c2727adfe214b052d6962d4467 Reviewed-on: https://gerrit.libreoffice.org/10716 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-04suppress legacy locales, fdo#44112 relatedEike Rathke
With MsLangId::isLegacy() locales can be suppressed in language lists and are not offered unless actually used at the current position of the document. Language attribution now handles adding a language/locale to the list on the fly. For example, Serbian (Latin or Cyrillic) for "Serbia and Montenegro" are legacy locales, the confederation doesn't exist anymore. A further candidate would be pap-AN as the Netherlands Antilles ceased to exist, see fdo#44112. Suppressing "Serbian Cyrillic (Serbia and Montenegro)" also has the nice benefit of narrowing the language list box width a little ... Change-Id: Id05cce328622465016901524b759369c18bc4dbd
2014-08-04avoid buffer overflow by using wrong bufferMarkus Mohrhard
Found by Asan. (regression from CWS mba34issues01) Change-Id: Ia7159c9bed9d7f823448acd02e18568a5f3f2093 Reviewed-on: https://gerrit.libreoffice.org/10717 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-04Delete RID_XMLSECTP_MACROWARN dialogPalenik Mihály
I deleted unused RID_XMLSECTP_MACROWARN and MacroWarning class. Change-Id: Iaf0a99eae53b08a8a8869696ba19ae2023ede52a Reviewed-on: https://gerrit.libreoffice.org/10718 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04fdo#82035 fix loader pathsDavid Tardon
Change-Id: Ibecd7a89491b487bec54e8a86edbb1b133cdb8f0
2014-08-04Convert DLG_PARAMETERS to .uiPalenik Mihály
Conflicts: dbaccess/UIConfig_dbaccess.mk Change-Id: Ib9e1c986e2f58b0095e69890664764d1cf8badb0
2014-08-04java: remove some unused import statementsNoel Grandin
Change-Id: Id6342be66221c81b05aee9af519c800e51a286b3
2014-08-04java: remove some unused variablesNoel Grandin
Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
2014-08-04java: remove some casting in lib.TestParameters#getMSFNoel Grandin
where the return value is always cast to XMultiServiceFactory, so just do the cast in the method and avoid noise at the call sites. Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
2014-08-04java: remove some unused variablesNoel Grandin
Change-Id: I937e5f69f3cd7d162e965346369d3c3df70a5034
2014-08-04java: removed unused importsNoel Grandin
Change-Id: I3e3d15719cd1bc4fe4f0dec2c21a3414bde6a808
2014-08-04fix spelling compilant -> compliantNoel Grandin
Change-Id: I5a469226a576906f0dd860c008d2e3fab1659ff7
2014-08-04fix spelling sinse -> sinceNoel Grandin
Change-Id: Ia2e52c2decd350bf2e5e513a66bb952104e7a6a8
2014-08-04Updated coreOlivier Hallot
Project: help 135498091966f63d582929446a084b41d3ffd4da Partial fix for fdo#80338: help for calc statistics Entry page for Calc Data statistics. This is work in progress and the help content should be completed with the correct information. Change-Id: I34f67a2b10d76bb1da6a9b9f4e24d4242396cbe4 Reviewed-on: https://gerrit.libreoffice.org/10703 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04fdo#75757: remove inheritance to std::vectorTakeshi Abe
Change-Id: Ia2f03e08199f23fd1b226db2c7e0bfade07bf0f0 Reviewed-on: https://gerrit.libreoffice.org/10719 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04Convert RID_DLG_DEPENDENCIES to .uiPalenik Mihály
Change-Id: I45779ac7dd88608e0f46b468cc51641b386e8a1a Reviewed-on: https://gerrit.libreoffice.org/10712 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04Convert RID_SVXDLG_ASSIGNCOMPONENT to .uiPalenik Mihály
Change-Id: Id38ee64e22684905c1a0809d3649e54e893580e1 Reviewed-on: https://gerrit.libreoffice.org/10710 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04PAGE_MYSQL_NATIVE and PAGE_DBWIZARD_MYSQL_NATIVE conversion to .uiSzymon Kłos
Change-Id: I5daec87637f1b3ad528c1f966a148adec7fae166 Reviewed-on: https://gerrit.libreoffice.org/10706 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04simplify some java static initializersNoel Grandin
Change-Id: Ic767b655297bfb5fcfb5cd7878d7131a9cb6b2f1
2014-08-04Consistency around SdrMetricItem in svx/sdtditm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib0234883d441be668700df5ccd0e855973dc5426
2014-08-04Presumably no point in automatically disabling avmedia for iOS either thenTor Lillqvist
(Re: 7f36e996a07ed7f39a33fffb2d2c523adf00eefc) Change-Id: I115bb35cd4c469661b5a8e3af378618b718f2a29
2014-08-04fdo#80986: disable highlight DOCX importZolnai Tamás
Highlight support is not implemented fully, so it seems better to disable DOCX import of it until it is finished. Highlight can't be modified on the UI and is not saved to ODT/DOC (regression). Regression from: 8b949134441056a1455d67ddfdd7e0bc5f2ee682 Change-Id: I94891769766ae90017e8afa70e65d080d5270202
2014-08-04fdo#78301 : Size of word-arts change during import.Umesh Kadam
- Do not resize the fallback geometry for Word-Arts(VML), since the overlay geometry is constructed using the properties of the fallback geometry. - The resize autoshape to fit text attr of FontWork/Word-Art should always be false for the fallback geometry(the SdrObject). Change-Id: If8badb382c525875a07a0a9e6268cec036739001 Reviewed-on: https://gerrit.libreoffice.org/10486 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-08-03cosmetic clean-upMarkus Mohrhard
Change-Id: I7b34e021c9f193643c89f20dc1ba42aad8e065d6 Reviewed-on: https://gerrit.libreoffice.org/10715 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-03LOAndroid3: set part 0 by default, log document sizeTomaž Vajngerl
Change-Id: I5517ff43c17637730639351f84df15a719aeb0a3
2014-08-03LOAndroid3: include in native-code.py some more needed librariesTomaž Vajngerl
Change-Id: I74a2ff491c9328acd59a05ec3f83ed037847a1d6
2014-08-03LOAndroid3: correctly calculate which tiles to drawTomaž Vajngerl
Change-Id: I195a318c8ce86cfcb12f724e04c115e0de444345
2014-08-03LOAndroid3: add draw to native-codeTomaž Vajngerl
Change-Id: I215d99c0161a9b9c9df3f8ef362514e161b31acf
2014-08-03put ReadThroughComponent to anon. namespace to avoid redefinitionTomaž Vajngerl
Change-Id: Idcc97e067b0f389a5d9e01013ab2fc20d2dd4ccd
2014-08-03build avmedia for AndroidTomaž Vajngerl
Change-Id: I0137bb7ce6337ca852af513565cc19dad3c8dc8b
2014-08-03LOAndroid3: add calc to native-code to include the necessary libsTomaž Vajngerl
Change-Id: I59eeadfe5417d2a574d672ff3f039bc125abbdbe
2014-08-03LOAndroid3: Fix mTileWidth / mTileHeight initializationTomaž Vajngerl
Change-Id: If2af5afa3abff6da45e726dd8c28216e6f939caf
2014-08-03LOAndroid3: don't update viewport if scrolled by (0,0)Tomaž Vajngerl
Change-Id: I299ebf08d77c7f2a35ed551dfcdf17fa8d0a8d79
2014-08-03LOAndroid3: log and handle error after document loadTomaž Vajngerl
Change-Id: I0486a6530565919588dae8411e10d7e8e27020be
2014-08-03LOAndroid3: extract some repeated access to local variablesTomaž Vajngerl
Change-Id: I1bf6f23247da73eeccde569f220095d0e1716d0a
2014-08-03LOAndroid3: add additional mime types that open LO viewerTomaž Vajngerl
Change-Id: Ia2a41f0f483fe15ae3938140b63f3215b692014a
2014-08-03JNI: getErrorNative should be getError nowTomaž Vajngerl
Change-Id: If448e748f40cd8a41977129c576f6c5eac7b5727
2014-08-03LODroid3: move GeckoSoftwareLayerClient into GeckoLayerClientTomaž Vajngerl
Change-Id: Ic0186be09fcca52f10ab67957db54efc9c72267c
2014-08-03LOAndroid3: clean-up codeTomaž Vajngerl
Change-Id: I18aa63baff99e29ed343ce9092cc5ea73cc097d7
2014-08-03LOAndroid3: change MockTileProvider to accept filenameTomaž Vajngerl
Change-Id: I48a4739d67c2951ddb7966f0ad10e2f4fd2a76ca
2014-08-03LOAndroid3: use LinkedBlockingQueue - block until there are eventTomaž Vajngerl
Change-Id: Ia375c28d5adde5a6b2927e9b46105cfccd0b0f10
2014-08-03writerfilter: Switch according to first letter in getListValue().Jan Holesovsky
This hopefully makes it more bearable for MSVC, and also breaks down the large data nicely. Change-Id: Ic3028eb78a5dcca4393738d428b6cf03a3ddbaeb
2014-08-03writerfilter: Kill ListValueMap(s) & their construction.Jan Holesovsky
ListValueMaps were completely useless; it is always just few values that used to be in the unordered_map, so doing just a normal comparison couldn't be too much worse than all the hash construction etc. This saves >300k of the libwriterfilter.so size (striped). If this proves to be less performing than what we used to have (which I doubt), now when we generate the code using Python, it would be a piece of cake to construct some deterministic finite automaton in each switch's case to accept the value names, and return the values. Change-Id: I95d0470b73ade1fbf5c9de2299c4adcc59286bc3
2014-08-03Access2Base - addition of OrderBy and OrderByOnJean-Pierre Ledure
The properties OrderBy and OrderByOn have been added to the Form and SubForm objects. The ordering sequence defined by OrderBy is effectively applied when OrderByOn is set to True. Change-Id: I7780e4761f3825f1c678d6ffb38149c5973146e7 Reviewed-on: https://gerrit.libreoffice.org/10697 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-08-03mark numbers as untranslatableStanislav Horacek
Change-Id: I644f0df042dcf414b85514d5edb05cecc8f1537a Reviewed-on: https://gerrit.libreoffice.org/10711 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2014-08-03Fix showing calc/draw types in some file pickersMaxim Monastirsky
Having the same UIName for several filters, causes some file pickers (gtk & generic) to drop the whole group. Change-Id: I6d18a751cb77a6a83e8e2a46338e41b7c72180ff
2014-08-03Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I9d8d7aabc111d3700fc121277c49eb0f48dc7e44
2014-08-03redundant <list> around <choice>Miklos Vajna
<list> would mean that multiple values from <choice> would be allowed as value (separated with whitespace), but this isn't actually true here. Not to mention that our parser completely ignores <list>. Change-Id: I43275c588d885429f5ea53c2f950a0011c2bb1bc
2014-08-03Fix calc_MS_Works_Document extensionsMaxim Monastirsky
Change-Id: Icbf087464997561b09c7b43c2269eea2c8c603bb
2014-08-03Revert "writerfilter: Kill ListValueMap(s) & their construction."David Tardon
Apparently there can be much more than "just a few values" in some cases (186 in OOXMLFactory_dml_shapeGeometry::getListValue) and MSVC compiler cannot handle if statement that deeply nested. This reverts commit 7aa7047eb48e81bc0b32448ff0487c993fe9a4db. Change-Id: I2b4d166e73ce1e616fea81fcfcfc9915c5784d30