summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-04filter: svg: avoid undefined variablesHenry Castro
Change-Id: Ibc3b678decfb36f5ac5779edb43aef1657507df2 Reviewed-on: https://gerrit.libreoffice.org/24627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-05-04Better fix for Windows-only codeStephan Bergmann
Change-Id: I8437ec66b615754d71c726f715a6beeb4a0f7dda
2016-05-04Missing includesStephan Bergmann
Change-Id: Ic0618ff8a8f01937a467e4ba5184fe68f14cd24b
2016-05-04Fix Windows-only code, part 8Stephan Bergmann
Change-Id: I875c4f4382221baaaedcdfe9513ed75706e8517b
2016-05-04Fix Windows-only code, part 7Stephan Bergmann
Change-Id: Idf118bee77b55004897ae085e124b9cec2ba4237
2016-05-04genLang .tree files got "help_section"jan Iversen
Added text type to .tree files fixed line wrap problem when saving to .pot Change-Id: I551521bb81e21724edf8f3bfa8aba1516ca7e879
2016-05-04No need to explicitly delete ctor the compiler wouldn't implicitly declareStephan Bergmann
Change-Id: Idd0e764765bd76e1f6a2d8ec6e18ebac27b91ec6
2016-05-04tdf#62525 vcl: use cow_wrapper for wallXisco Fauli
Change-Id: Iaf0b288a4c40f1e471a0a59b6baf17c317810d23 Reviewed-on: https://gerrit.libreoffice.org/24575 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-05-04Fix Windows-only code, part 6Stephan Bergmann
Change-Id: Ib9a311dd199db81b0be46a7c32c49a10e1b866e7
2016-05-04tdf#62525 vcl: use cow_wrapper for mapmodXisco Fauli
Change-Id: I25ddaeb051f171388bb490a23bf03dbaf0add281 Reviewed-on: https://gerrit.libreoffice.org/24438 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-05-04-Werror=maybe-uninitializedThorsten Behrens
Change-Id: Id516aa921d13ff5c0085fb9cf76fefd56acb31ad
2016-05-04Fix Windows-only code, part 5Stephan Bergmann
Change-Id: I1e51996d1035624b373dc5d27a7528f8351e0934
2016-05-04Resolves: tdf#94146 a11y crash, obtain formula using the correct pointerEike Rathke
Fallout from IAccessible2 integration. Of the union, wrong string pointer instead of formula cell pointer was used. Change-Id: I1afaf0ffff14a770ab52e8cbf880708bd66b3ef2
2016-05-04Fix Windows-only code, part 4Stephan Bergmann
Change-Id: Idf3f8c24a61973068f5354873d25dc2317fbb732
2016-05-04Fix Windows-only code, part 3Stephan Bergmann
Change-Id: I1a87cb1b8c5b5603c4043cd2d5de37a336ad88b6
2016-05-04genlang keygen with newline changedjan Iversen
when generating the keyid for text, all newlines \n must be converted to 0x0A Change-Id: I626776e94a6573d044522990a7f9ccc3d52b825b
2016-05-04genlang correct xcu filterjan Iversen
modified algorithm for adding "." Change-Id: Ibaa59cf5faa7bf211ead222dbb2e5a391929d679
2016-05-04Fix Windows-only code, part 2Stephan Bergmann
Change-Id: I5e860cd88e851b7bce5fa503108ffe61a36c0817
2016-05-04Fix Windows-only codeStephan Bergmann
Change-Id: Iaf6d668f65e31c60dba8140d789f6578ef461264
2016-05-04sal_Bool -> boolStephan Bergmann
Change-Id: I770a8507cdc1ee56456642b1f878381d6cf9d0b3
2016-05-04Remove unnecessary ScUnoHelpFunctions::SetBoolInAnyStephan Bergmann
Change-Id: I4814618758bbb2fe1ed3fbf279b0bbbb370d5cef
2016-05-04use Any constructor instead of temporariesNoel Grandin
Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
2016-05-04Underline should be a split buttonMaxim Monastirsky
Change-Id: I072293e7939d3d9f9349f40aec58729c3731d972
2016-05-04tdf#42949: clean up includes in include/oox/dump with iwyuJorenz Paragas
Additionally, include cmath instead of math.h in dumperbase.hxx. Change-Id: I0ee7158c86bdf266c783340bcf891aff44399066 Reviewed-on: https://gerrit.libreoffice.org/24632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-04tdf#97831 follow up : use ScInterpreter::ReverseStack()Winfried Donkers
Change-Id: Ic72a71ab4f90680f1e3496d68441151a36b8f41e Reviewed-on: https://gerrit.libreoffice.org/24630 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-04loplugin:staticmethodsStephan Bergmann
Change-Id: I4b9dc149f5b2a18df0cab91e7706be14d584cf8f
2016-05-04tdf#94260 Convert pixel to 1/100 mmRosemary Sebastian
The scaling factor 0.28 is chosen as per https://www.w3.org/TR/2001/REC-xsl-20011015/slice5.html#pixels Change-Id: I8dc7846699fbb2aa6e2a181a041b66d3cc33b8e5 Reviewed-on: https://gerrit.libreoffice.org/24547 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2016-05-04While at it, delete Any functions on sal_Bool*Stephan Bergmann
(at least for LIBO_INTERNAL_ONLY), to help further reduce the occurrences of sal_Bool across the code base Change-Id: I70654a0cb56655984c717b7b894f26c9ab47536e
2016-05-04underline popup control possible to use outside sidebarSzymon Kłos
Change-Id: I48097007c7dc0439b33233939c1d73902dfeb679 Reviewed-on: https://gerrit.libreoffice.org/24491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-05-04notebookbar: rearranged layoutSzymon Kłos
+ only 2 lines of icons + large icons Change-Id: Ibabab3ce4893d457df4b957ad78886dbb8626c64 Reviewed-on: https://gerrit.libreoffice.org/24625 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-05-04Rewrite fix for tdf#99353 in way that doesn't trigger loplugin:passstuffbyrefStephan Bergmann
c4acf692e858530b8353dd65876501eb38ce9bab "loplugin:passstuffbyref" had accidentally reverted 390ddd3bde617388e481b6747aa7bbea17d5ddf1 "tdf#99353 take the footgun away from FilterCache". Many thanks to Matteo Casalin for spotting it. Change-Id: I572b940cf215d6e83cac56fd8d2ac2f24b659579
2016-05-04loplugin:implicitboolconversionStephan Bergmann
Change-Id: I80f7967c5d537d1318890687631c0ceebef75fae
2016-05-04CPPUNIT_ASSERT(a == b) -> CPPUNIT_ASSERT_EQUAL(b, a)Miklos Vajna
Change-Id: I84dcd5ccc48d46f4aaa1ad33b341bfe7542757a3 Reviewed-on: https://gerrit.libreoffice.org/24631 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-05-04Correct value types for the respective function objects.Kohei Yoshida
Change-Id: I88771e976fe2a40fd4734b57dcf1728162ba559a Reviewed-on: https://gerrit.libreoffice.org/24629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-05-04Replace namespace ScErrorCodes with formula...Kohei Yoshida
and remove that 'using namespace' statement in the header... Change-Id: I2f994af5088ce6d1ffe92c8d36285a4f6fdd2248 Reviewed-on: https://gerrit.libreoffice.org/24628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-05-04update creditsChristian Lohmaier
Change-Id: Icb4a443dba8eb22e49fe622ed5ef7c84fabc901b
2016-05-04tdf#82160 Reset mouse pointer if doc loading failedMaxim Monastirsky
Change-Id: Ib05226345c4b83d9190839de5cc04068ce1879d8
2016-05-04LoadEnv::getTargetComponent() is supposed to return nothingMaxim Monastirsky
... if loading the document failed. Make sure that's the case also when the frame containing BackingComp was about to be recycled. Can be tested by trying to open password-protected odt, but canceling the password prompt. Change-Id: I733357b3a961fd88db010dd8eb89e01f0cad10fa
2016-05-03Enable Any functions on sal_uInt16 for LIBO_INTERNAL_ONLYStephan Bergmann
...where sal_uInt16 no longer clashes with sal_Unicode after e16fa715c43dcdf836ce8c400b6d54eae87b627d "Handle wchar_t as native C++11 type on windows". This allows to consistently use Any ctor instead of makeAny, regardless of argument type, in LIBO_INTERNAL_ONLY code. Change-Id: I9acdcc48be71a90d17013959c8275454e8fa01a0 Reviewed-on: https://gerrit.libreoffice.org/24620 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-03NameToken with Sheet instead of boolean GlobalEike Rathke
... to transport an actual sheet number for other-sheet-local names within names when importing OOXML. Change-Id: I00f2ffe07271c1c2a8ce9e10514e10872396f566
2016-05-03tdf#99383 vcl: don't dispatch events from SolarMutexReleaserMichael Stahl
Having SolarMutexReleaser effectively do Reschedule() on WNT and not on other platforms doesn't seem such a good idea. Let's try to restrict it so that it still calls ImplSalYieldMutexAcquireWithWait() but no longer dispatches messages, timers and idles. (regression from 482c52e91fe41a52e68827e9bf64a9736427d517) Change-Id: I52a2c88e9c2473e35909bf270b9e3ae7acbe0d17
2016-05-03bump openssl to 1.0.2hChristian Lohmaier
Change-Id: I1e7c090ff58dc296641a1ce00a2ca4189e9e4156 Reviewed-on: https://gerrit.libreoffice.org/24617 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-05-03tdf#42949: clean up includes in include/oox/drawingml with iwyuJorenz Paragas
Add includes in other files to fix compiler errors. Change-Id: I566e2e081094cb074d20afbe7ceee49f759c725b Reviewed-on: https://gerrit.libreoffice.org/24510 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-03C++11: disable ctors with delete in include/Jochen Nitschke
replace the old declare and don't implement pattern with C++11 delete keyword no need to hide this design choice behind access restrictions Change-Id: I7e8430a07189aa48514a4613c3a8c2950b230f49 Reviewed-on: https://gerrit.libreoffice.org/24495 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-03Trivially improve sal/types.h code indentationStephan Bergmann
...to trigger rebuilding of PCH on Windows after e16fa715c43dcdf836ce8c400b6d54eae87b627d "Handle wchar_t as native C++11 type on windows" Change-Id: Ia1cafb8a2f207f34b6fb1cb53fbaf23d90e6b296
2016-05-03Handle wchar_t as native C++11 type on windowsDavid Ostrovsky
The option /Zc:wchar_t- prevented to use wchar_t as a built-in type according to the C++ standard. In Visual C++ 6.0 and earlier, wchar_t was not implemented as a built-in type, but was declared in wchar.h as a typedef for unsigned short. Now, years later after the end of life this outdated toolchain, there is no reason not to use native type. The only issue could be the ABI compatibility. But on a quick look at least, it looks like none of the mangled C++ symbols in the stable URE interface actually depend on wchar_t. We forgot to get rid of /Zc:wchar_t- in 5.1. Do that for LibreOffice 5.2, though. Change-Id: I8d6b380660859efa44c83c830734978d31d756a0 Reviewed-on: https://gerrit.libreoffice.org/22589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-03IFS/SWITCH propagate error only for active paths, tdf#97831 follow-upEike Rathke
Change-Id: Ief07f0d582e2f283a3ede88a7d202e8cff0e14bf
2016-05-03Clean up makeAny functionsStephan Bergmann
Let the templated makeAny(v) just call Any(v), so that any special handling of argument types needs to be only done for the Any ctor, not also for makeAny (both the original makeAny implementation and the Any ctor implementation internally use cppu::getTypeFavourUnsigned to determine the UNO type, so this does not cause any difference in behavior): * The specialization of makeAny for bool can be dropped. * The overload of makeAny for OUStringConcat is replaced with an overloaded Any ctor, so that Any(s + "foo") works now, too. Curiously, only the Any ctor had been deleted for a sal_uInt16 argument (which can conflict with sal_Unicode), but not makeAny. So introduce a specialization of makeAny for sal_uInt16, so that that continues to work. (For backwards compatiblity in the non-LIBO_INTERNAL_ONLY case; and in the LIBO_INIERNAL_ONLY case we're moving away from the sal_uInt16/sal_Unicode clash anyway thanks to C++11 char16_t, so it is arguably better to allow makeAny for sal_uIn16 than to prohibit it.) Change-Id: I7803703769730024863bb4e5b1b3416b81bd8960
2016-05-03tdf#97831 [part] Add Excel 2016 functions to CalcWinfried Donkers
Functions IFS and SWITCH. Change-Id: Ic43d42a933bcac883e9aa2213dd4ddeddf45abf0 Reviewed-on: https://gerrit.libreoffice.org/24424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-03-Werror,-Wpessimizing-moveStephan Bergmann
Change-Id: Ic20ae0c0534220a2613b73a2bd2e1aa277aecce9