Commit Graph

403924 Commits

Author SHA1 Message Date
Thorsten Behrens
dc003d59ea gpg4libre: fix gpgme build dependencies
Change-Id: If71b144f008e35ee248421d922ab2a1a4463d093
Reviewed-on: https://gerrit.libreoffice.org/34361
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-17 09:58:14 +00:00
Thorsten Behrens
f37fcda0e9 gpg4libre: fix build for older autoconf/automake versions
- serial-tests fix from Richard Jones' libguestfs (lgplv2+)
  (needed for automake < 1.12)
- m4_esyscmd fix from slurm project (gplv2+), needed for
  autoconf < 2.62 or so
- m4_argn from m4 sugar (gplv3+ with autoconf exceptions)
- AC_CHECK_FUNCS does not like nested macros, so outline dependend
  AC_CHECK_HEADERS
- only build c and c++ bindings for gpgme, we don't need anything
  else internally.

Change-Id: Ic65ca92119efda585ebc9acbfb7c6c2ac2585451
Reviewed-on: https://gerrit.libreoffice.org/34349
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-17 09:19:58 +00:00
Stephan Bergmann
60b1bbae54 Missing include
Change-Id: I8d334b7d46c15e9e39d28ca39361d701596249b6
2017-02-17 09:40:51 +01:00
Aron Budea
6e3a84023b tdf#106001: Treat CharScaleWidth outliers as 100 in DOCX import
Spec limit is [1..600], sometimes documents contain 0,
which, similar to other values outside the limit should be
treated as 100.

Change-Id: I04aec25b638762392de3f9881cd72588f2753e71
Reviewed-on: https://gerrit.libreoffice.org/34341
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-02-17 08:32:50 +00:00
Noel Grandin
fa1ac3381d fix windows build
after commit dc21a49ea3
    "convert SbxDecimal::CmpResult to scoped enum"

Change-Id: I874976a30a57589cabd37f659a48a81933d867a7
2017-02-17 10:16:11 +02:00
Noel Grandin
48f9640602 isAssignmentOp is not available on older clang
Change-Id: I1ee7a8266a2ad0e14a28fab7aa0095b15647d5b0
2017-02-17 10:03:12 +02:00
Noel Grandin
1400cec164 remove unused formula ErrorCode enumerators
Change-Id: I0d81b43ba4e0a8734074651228743acaeae7aa97
2017-02-17 09:56:19 +02:00
Noel Grandin
be021ba04d convert StackMode to scoped enum
and drop unused AMBIGUOUS enumerator

Change-Id: I71954d75a64928061c0e520beb47f979c53ee5a8
2017-02-17 09:56:19 +02:00
Noel Grandin
ce92b5da97 drop enum NormalAxis
since we only ever use the Z enumerator

Change-Id: Ia162a6be650704649f5232fff0fa229c7b346450
2017-02-17 09:56:19 +02:00
Noel Grandin
1ac9f8ddd7 convert PropertyType to scoped enum
and drop unused enumerators

Change-Id: I61d2a46ed84ce4163757a2da58162c72b1b0950f
2017-02-17 09:56:19 +02:00
Noel Grandin
8fc4aecde3 convert ValueParser::State to scoped enum
Change-Id: I20c8217576fb6993107f1e45429adc5660d38da8
2017-02-17 09:56:19 +02:00
Noel Grandin
2c06083c75 remove unused NONE from TAscendingOrder enum
Change-Id: I31c793df40b2a687b4a6c84854f34aba72ac0494
2017-02-17 09:56:19 +02:00
Noel Grandin
72356f947b teach loplugin unusedenumconstants about CXXOperatorCallExpr
fixes some false+ in the write-only analysis

Change-Id: Ie7905c05c8012820c640064d451b33badb04c5fc
2017-02-17 09:35:02 +02:00
Noel Grandin
80dd757500 convert GraphicObjectType to scoped enum
and drop unused FILL_PROPERTIES enumerator

Change-Id: I302d9d1d997c4fc491f7950b220060740f831539
2017-02-17 07:57:52 +02:00
Noel Grandin
3ed6cb5748 convert AccessibleBase::EventType to scoped enum
and drop unused enumerators

Change-Id: I1ce08b16d587edcaee214b40798fe53fa3fc7923
2017-02-17 07:57:52 +02:00
Noel Grandin
802a76d4a9 drop TimeBasedMode enum
since we only ever use the AUTOMATIC enumerator

Change-Id: I1370bf30ea31d0631e56524638ee843f18583933
2017-02-17 07:57:52 +02:00
Noel Grandin
58f75fb66a drop ModulationMode enum
since we only ever use the MODULE_NONE enumerator

Change-Id: Icd075bb01b5938dbd75b901521d084ddd6469963
2017-02-17 07:57:52 +02:00
Noel Grandin
51d474abdb drop cairocanvas::ColorType enum
since we only use the one enumerator value

Change-Id: Ifec39f4845348c753a6207795c62b27a7af1bbcd
2017-02-17 07:57:52 +02:00
Noel Grandin
dc21a49ea3 convert SbxDecimal::CmpResult to scoped enum
Change-Id: Id2d887c3ce4316a223497ef6790ca326983c4817
2017-02-17 07:57:52 +02:00
Noel Grandin
4ea27cf64f convert INVOKETYPE to scoped enum
and drop unused SetProp enumerator

Change-Id: Ic8a71991f6a4e08d0189d2eb93580b0c33204d1b
2017-02-17 07:57:52 +02:00
Noel Grandin
792886d34b convert basctl::Layout::SplittedSide::Side to scoped enum
and drop unused enumerators

Change-Id: I7c8338423eddb64bf4d4138d2613dd393408c9e3
2017-02-17 07:57:52 +02:00
Noel Grandin
210db2bf9e convert BrowseMode to o3tl::typed_flags
Change-Id: Id76339f73b3d4acd4908fd66c4c745c5b2b57c2f
2017-02-17 07:57:52 +02:00
Noel Grandin
14fb8f7960 convert ObjectMode to scoped enum
and drop unused Method enumerator

Change-Id: I5ba25fbeaf67280f748acf8d84ab903a4c71e40b
2017-02-17 07:57:52 +02:00
Noel Grandin
f1421a3e12 convert SbxNameType to scoped enum
and drop unused enumerators

Change-Id: I2b47828b2146fcda335f1dc1c1f61a1139abbe19
2017-02-17 07:52:09 +02:00
Noel Grandin
fb4bf69399 remove unused KeywordsOnly from IdentifierTranslationMode
Change-Id: I7262e618a14fa9e025d269b560da752e3200309d
2017-02-17 07:52:09 +02:00
Noel Grandin
1920061bb2 remove unused None from ErrorCode
Change-Id: Iab5bf1a34fa07c851067fe30df875e821583038b
2017-02-17 07:52:09 +02:00
Noel Grandin
d386abfb09 remove unused enumerators from SQLNodeType
Change-Id: I0e8a3c5b63a00befa36c7edfbec0acd60bd3dc03
2017-02-17 07:52:09 +02:00
Noel Grandin
691e19ec65 remove unused enumerators from StandardSQLState
Change-Id: Id17c6c0cc41496f494117e781878b15ba2bc0518
2017-02-17 07:52:09 +02:00
Tamás Zolnai
0866178f50 ChartDumpTest: Avoid random failures on windows machines
ChartWallTest used to be the most instable so don't
check position and size in this case.
AxisLabelTest also failing some times, so use a bigger
delta for it.

Change-Id: I230b7e0f527bae5661af1376486a9780e475f952
Reviewed-on: https://gerrit.libreoffice.org/34348
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-02-17 00:48:54 +00:00
Tamás Zolnai
9077f1f110 ChartDumpTest: Test line and scatter charts
Change-Id: I2b1a928d8487a134c0a266c5d7453690d19fde13
Reviewed-on: https://gerrit.libreoffice.org/34346
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-02-16 22:47:20 +00:00
Michael Stahl
d1a8ca4951 sw: use the stupid line-ends for WNT
Change-Id: Ie054d48c7dc9220d25cd9282d1b15a8a695a516f
2017-02-16 23:43:51 +01:00
Lukas Röllin
92387df38c German comment translations
Change-Id: Ib6023348c9148671762229066e1dc5c2a9b7dcd8
Reviewed-on: https://gerrit.libreoffice.org/34317
Reviewed-by: Johnny_M <klasse@partyheld.de>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-02-16 21:59:24 +00:00
Michael Stahl
d4620d535b i#92948 sw: WW8 import: fix table in Apo in header
The document contains a table inside of a frame anchored in the header.

In WW8TabDesc::WW8TabDesc() the update to nOrigPos makes a mess of
things because the new nOrigPos value contains the value of nCpOfs (93)
already, so later on when SwWW8ImplReader::TestApo() calls
WW8PLCFxDesc::Save() / WW8PLCFxDesc::Restore(), the call to SeekPos()
positions it on CP 325 instead of 232 and the subsequent call to
GetSprms() finds nothing on the wrong position; thus TestApo() concludes
that the paragraph has different Apo properties than the previous one
and a new fly frame is created.

(regression from 4bd341e2c8)

Change-Id: I697c4526c7c3a12119947ff5659c11ea9ee7fff8
2017-02-16 22:42:49 +01:00
Katarina Behrens
4178f55bce Translate some German comments in sc
and delete some nonsense ones

Change-Id: I7c9f39e1ce5a6ac67e0e10c0a99b59c3aea3436f
2017-02-16 21:43:38 +01:00
Tamás Zolnai
becde82a91 ChartDumpTest: Convert failing tests' documents from ods to odp
Change-Id: Iac7bfd3d22e2186b90c525a6b5bc2a1605ae9aa3
Reviewed-on: https://gerrit.libreoffice.org/34338
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-02-16 19:25:20 +00:00
giacco
c995531d8a tdf#89387 improve performance for some matrix operations
add method in scmatrix to get Gcd and lcm
modified function scinterpreter::ScGcd() and scinterpreter::ScLcm()
now should be ok

Change-Id: I1e41fa5707bc4b637a986f2fc0a2358ac0121af1
Reviewed-on: https://gerrit.libreoffice.org/34110
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2017-02-16 17:28:48 +00:00
Stephan Bergmann
e16644fa1c external/mysqlcppconn: Silence -Wdynamic-exception-spec errors
...with Clang in C++17 mode

Change-Id: If51c0788439688f6fbd77c1a05cb3295ac6e8cb4
2017-02-16 18:11:24 +01:00
Stephan Bergmann
14ed889c45 external/libcmis: Silence -Wdynamic-exception-spec errors
...with Clang in C++17 mode

Change-Id: I50a0568c13e3e7a2d37ebd739d587985b2f9bc8a
2017-02-16 18:10:12 +01:00
Stephan Bergmann
be06700309 Silence loplugin:redundantcast false warning
...that is curiously only reported when building with clang -std=gnu++17:

> sc/qa/unit/ucalc_condformat.cxx:185:80: error: redundant const_cast from 'ScConditionalFormat *' to 'const ScConditionalFormat *', result is implictly cast to 'const ScConditionalFormat *const' [loplugin:redundantcast]
>     CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong conditional format instance.", pCheck, const_cast<const ScConditionalFormat*>(pFormat));
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:230:32: note: expanded from macro 'CPPUNIT_ASSERT_EQUAL_MESSAGE'
>                               (actual),                \
>                               ~^~~~~~~
> 1 error generated.
> make[1]: *** [solenv/gbuild/LinkTarget.mk:270: workdir/CxxObject/sc/qa/unit/ucalc_condformat.o] Error 1

Change-Id: If2e8577bad4ec7454d584eb59106734d47f876ad
2017-02-16 17:56:08 +01:00
Stephan Bergmann
440720e14d loplugin:redundantcast: Avoid double warnings on some const_cast
Change-Id: I1e6140fef55054899dd32465726e804fc6006394
2017-02-16 17:43:23 +01:00
Stephan Bergmann
6d3db33328 Capture loplugin:redundantcast status-quo wrt const_cast
...including some double-warnings that'll get cleaned up shortly

Change-Id: I14e9796f2846a6bb61e4c93dfb23cba6488ea2e6
2017-02-16 17:36:21 +01:00
David Tardon
463f764aa0 enable the other tests
Change-Id: I68a5435348a6a6362bc946c7eca18e29bd69724a
2017-02-16 17:12:13 +01:00
David Tardon
4141483415 don't run terminate()
AFAICS no other import test is doing it either.

Change-Id: I8cbdc27fe60102067c6d09280b99a032ac44ba10
2017-02-16 17:10:05 +01:00
David Tardon
63c7f2b81e fix copypasta
Change-Id: Id3e33aec0a1c027d350408abb86a6a99da74ebb4
2017-02-16 17:10:04 +01:00
David Tardon
0f1a863c75 rename to match text and spreadsheet tests
Change-Id: I614326cfe8ade8ea07822479cbc656db8e51c1b7
2017-02-16 17:10:04 +01:00
David Tardon
fba9c59fec fix factory URL
Change-Id: I476b89d70510e786b116ee11ddd68916683945b8
2017-02-16 17:10:04 +01:00
Caolán McNamara
e0ecfb5055 nSuppressed is 0 in all existing patterns
Change-Id: If1a85e157840753b48f830ba4cddf5708189575b
2017-02-16 15:57:06 +00:00
Caolán McNamara
d698f823c3 unwind one level of RID_SC_FUNCTION_DESCRIPTIONS[1|2]
Change-Id: I9f812da7191246e236c1a83f0bf3d8ea3307b580
2017-02-16 15:57:06 +00:00
Caolán McNamara
53ea5548ff miscdlgs.hrc is just one line that includes another header
Change-Id: I9d36c03d35c4862c131acee5d4d8a143fdd58dad
2017-02-16 15:57:06 +00:00
Caolán McNamara
2882fcdce7 split sc.hrc into definitely resources and maybe slots
Change-Id: Ic5a4ab631735cf8ef8f39424c7470e47f2f11c2d
2017-02-16 15:57:06 +00:00