Age | Commit message (Collapse) | Author |
|
Change-Id: Ia76df719b2f76a993e65e0bf6d55723b1a2f5b93
|
|
Change-Id: I0d89cc99a1d8f7b3c17986b45653dce5e4b436d7
|
|
Change-Id: I15cbfb15054962998a058da1381a84bb667944ef
|
|
Change-Id: I2cc9884b23b49eb3e2afd27e5610bf96998a3c7f
|
|
Change-Id: I3ecb621d124c873556387e3bc5cfd5b9aadd8fc1
|
|
Change-Id: I099c0562bc52f0625ceac202b34b01025a7fd35d
|
|
Change-Id: I04bc103120256614fa76310d3ba0a51c560d9393
|
|
Change-Id: Icd9c6ebc9feb3e7aba28b01729b582a8f49c832a
|
|
Change-Id: I3e9a302a7513eebfeff07402f71fc3dde22e4cc2
|
|
Change-Id: I39a6e2badf0c159e87763e2782bc89f0ee6068ec
|
|
Change-Id: I9134aff4f2e6bff43ebb78c605e0ff521eac6ffc
|
|
Change-Id: I580266d908e30ef076de0517f41a600f4c9372c1
|
|
Change-Id: I8d6df8c6853f0bd2f0b099d14bf0ac246170e7f1
|
|
...detected with a modified trunk Clang with
> Index: lib/Sema/SemaDeclCXX.cpp
> ===================================================================
> --- lib/Sema/SemaDeclCXX.cpp (revision 219190)
> +++ lib/Sema/SemaDeclCXX.cpp (working copy)
> @@ -1917,9 +1917,10 @@
> const Type *T = FD.getType()->getBaseElementTypeUnsafe();
> // FIXME: Destruction of ObjC lifetime types has side-effects.
> if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
> - return !RD->isCompleteDefinition() ||
> - !RD->hasTrivialDefaultConstructor() ||
> - !RD->hasTrivialDestructor();
> + return !RD->hasAttr<WarnUnusedAttr>() &&
> + (!RD->isCompleteDefinition() ||
> + !RD->hasTrivialDefaultConstructor() ||
> + !RD->hasTrivialDestructor());
> return false;
> }
>
> @@ -3517,9 +3518,11 @@
> bool addFieldInitializer(CXXCtorInitializer *Init) {
> AllToInit.push_back(Init);
>
> +#if 0
> // Check whether this initializer makes the field "used".
> if (Init->getInit()->HasSideEffects(S.Context))
> S.UnusedPrivateFields.remove(Init->getAnyMember());
> +#endif
>
> return false;
> }
to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about
initializations with side effects (cf.
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html>
"-Wunused-private-field distracted by side effects").
Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
|
|
Change-Id: I626e3a36426958d7ba1fd320cf8e1a3bf2f3595f
Reviewed-on: https://gerrit.libreoffice.org/11980
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Currently the oox import creates a temp file and leaks it, and there is
no way to clean it up afterwards. Unfortunately it turns out that
SdrModel has no way to access the imported OOXML storage, so add a
really ugly hack to get the embedded media into the SdrMediaObj by
setting both MediaURL and PrivateStream properties (currently oox really
wants to set the properties in alphabetical order too...)
Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2
|
|
1. 'TextCanOverlap' property was stored as false if TickLableSkip
is not equal to one.
2. For OOXML charts TickLableSkip can be between 1 to 999999999.
3. We can not apply zero or less than zero value to TickLableSkip.
( As per specification)
4. In axis model default value for TickLableSkip was zero which is
incorrect.
5. Added unit test to check 'TextCanOverlap' property for chart.
Change-Id: Ib3104b1d932f6e9376c149eabb201c8e9ad23da9
Reviewed-on: https://gerrit.libreoffice.org/11901
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
|
|
from oox::core::Relations.
Change-Id: If2e0109a2ad6598436177b7638cb6d568fb2d3d6
Reviewed-on: https://gerrit.libreoffice.org/11899
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I116e7e8c9046009cfcadc04b5367a6fe25f88d96
|
|
Change-Id: Idbe399648c60e39c61e2be09a77b0648f57d3347
|
|
from ItemFormatMap.
Change-Id: I956b5797e677d22eb71fe801b650db7c982d6d51
Reviewed-on: https://gerrit.libreoffice.org/11854
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script
to change all ...
Change-Id: Ie609bd02a2c5d70109fc6185cf4440480f29d8f5
|
|
There is a missing dependency on one of the generated header files.
Change-Id: Id3fa2ccf2c2a31527b795861afdf557882f56972
|
|
Change-Id: I91333f5290c84c6317b85572824be065da9cf64b
|
|
and automatically seed from time on first use
coverity#1242393 Don't call rand
coverity#1242404 Don't call rand
coverity#1242410 Don't call rand and additionally allow 0xFF as a value
coverity#1242409 Don't call rand
coverity#1242399 Don't call rand
coverity#1242372 Don't call rand
coverity#1242377 Don't call rand
coverity#1242378 Don't call rand
coverity#1242379 Don't call rand
coverity#1242382 Don't call rand
coverity#1242383 Don't call rand
coverity#1242402 Don't call rand
coverity#1242397 Don't call rand
coverity#1242390 Don't call rand
coverity#1242389 Don't call rand
coverity#1242388 Don't call rand
coverity#1242386 Don't call rand
coverity#1242384 Don't call rand
coverity#1242394 Don't call rand
Change-Id: I241feab9cb370e091fd6ccaba2af941eb95bc7cf
|
|
Change-Id: I6e0cc345f6903128ffebe5fb56f6e198ee32da9a
|
|
Change-Id: I284562585c10a3d68b8545df7b6cb3022001660c
|
|
When we import table styles, we apply that as direct formatting, in case
there is no real direct formatting, see lcl_ApplyCellProperties() in the
sw UNO implementation.
We can do the same here: in case there is no other formatting, then
apply the char color from the WPS theme, that will give us the expected
result.
Change-Id: Ic8e6afc09167f7924a11ab0b445351075f16738e
|
|
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11
Time typedef.
Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866
Reviewed-on: https://gerrit.libreoffice.org/11684
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I0bafd2c43d29806eea0ff0cb165e67aece53488f
|
|
Color::getColor() method uses some caching mechanism which
works wrong when the result depend on one of the input parameters.
So avoid caching in these cases.
Change-Id: Ifa9221e21e685715454de86d5cec09ff6c266307
|
|
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows
PolyPolygon typedef.
Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
|
|
Change-Id: I50f537c697f6e73c1fd150f3f03fc65b85ccbeaf
|
|
With this, each rotation = 0 / 90 / 180 / 270 and flip = none /
horizontal / vertical / horizontal+vertical combination (16 cases) are
exported perfectly.
Also, this matches what the (binary) [MS-ODRAW] export does, see
ImplEESdrWriter::ImplWriteShape().
Change-Id: I04030c8c6819c35c06ce97400eb7e2f1f7389a5f
|
|
Change-Id: I2034f862b5e15ffaa2ba370ae0249628677c587d
|
|
With this, each rotation = 0 / 90 / 180 / 270 and flip = none /
horizontal / vertical / horizontal+vertical combination (16 cases) are
imported perfectly.
Also adjust a few testcases -- now that in many cases we only set the
position in oox, some rounding errors went away.
Change-Id: I5567a7d6964775f2caf10a0e539f3eb84d10461e
|
|
- rename GUID to SvGUID so we don't need an #ifdef WIN32
- drop ClsId struct, since it is used interchangeably with GUID and has
the same structure
Change-Id: Idf5c14c82a6861ef585fb57896a9b12cfe40374c
|
|
Change-Id: I545ed112b54fb3d81e67b0f42230811cd48de626
|
|
Do not ignore 'lnRef' element.
Also fix typo to apply 'seCell' properties to the right cell (southeast).
Change-Id: Ia45f7016f358b70e6db06a232c569335ce9d7051
|
|
Regression from e8bdd38882522591723097c028ca7a6927ee70c4
(fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptx,
2014-09-11), there were two problems here:
1) Using the wrong filter when the output is expected to be suitable for
validation.
2) Writing empty custom property values, which is not valid.
Change-Id: Ic18c789c53bd40cc8aa07385cb5fd0d5c7ada6ab
|
|
Change-Id: I778dc43085b6afbb6456cbf53fe8c95b624b75b3
|
|
1. All capital letters were exported as small letters.
2. Problem was 'cap' property was not exported for 'rPr'
in drawingml.
Change-Id: I81bfb418f773aa88118b22550eea2b3ec2833ea9
Reviewed-on: https://gerrit.libreoffice.org/11563
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
|
|
Change-Id: I8165def0b6291bfd7bb109e1cdaeb4198ed696b7
Reviewed-on: https://gerrit.libreoffice.org/11560
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
|
|
Change-Id: Iced083868a84fd9fbb97ad91dfc0acbf5b69b766
Reviewed-on: https://gerrit.libreoffice.org/11559
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
|
|
Change-Id: I2f4db02ede9c15193c21014a297d40a7370a505b
|
|
Change-Id: I0f2821c87c03f8d3df2e60bab9e09ce6545e2b2c
|
|
Change-Id: I0d8072f1194aa837932dcffd6dc6a3761bbdc74e
|
|
For some reason subtitle block was skipped for
layouts. It seems we can enable it for layout too,
it appears well on master slides.
Change-Id: I23ec7d4fcce045099bfca9e94a8c9335beaf7468
|
|
There are master slides / layouts imported from PPTX in which
there is no title or body layout block, but so far Impress
added these by default to the master slides if they were
missing.
Now they are skipped by the importer code.
Change-Id: I256a4e78639ea39d0f87a94e6676422c7dbcde4a
|
|
With setting bClearText to true the default text used inside
LO will be removed.
Before that change the imported text was appended to the end of
the LO default text.
Now it contains only the imported text.
Change-Id: I9f5eb0e20468a35c64130a433367cd3845ac7e3c
|