Commit Graph

10 Commits

Author SHA1 Message Date
Takeshi Abe
0980095619 Replace boost::scoped_array<T> with std::unique_ptr<T[]>
This may reduce some degree of dependency on boost.
Done by running a script like:

git grep -l '#include  *.boost/scoped_array.hpp.' \
 | xargs sed -i -e 's@#include  *.boost/scoped_array.hpp.@#include <memory>@'
git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \
 | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/'

... and then killing duplicate or unnecessary includes,
while changing manually
m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx,
extensions/source/ole/unoconversionutilities.hxx, and
extensions/source/ole/oleobjw.cxx.

Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
Reviewed-on: https://gerrit.libreoffice.org/16289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-17 15:50:45 +00:00
Noel Grandin
7f8f277b94 fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07 11:20:44 +02:00
Tomaž Vajngerl
871b196f7e SVG test: check content of Primitive2DSequence with the XML dumper
Change-Id: I12954cd52cece2d2fe99b7b4ca1e60cee3b430f0
2014-08-16 20:49:20 +02:00
Tomaž Vajngerl
ba91106b95 Change RectWithStylesByGroup to be same as other style tests
Change-Id: Ib7b0d2e8160a938821940645ea6e6471188bcc16
2014-08-02 22:37:11 +02:00
Matúš Kukan
8cb75e905c error: reference to "Primitive2DSequence" is ambiguous
Change-Id: Ic01f84b2603c93985f0b28fc9aced7eeac941b53
2014-07-30 06:46:09 +02:00
Joren De Cuyper
d971c66bac SVG test that sequences are equal
Change-Id: I58178ac9942dc52083dd44565669769761652ada
Reviewed-on: https://gerrit.libreoffice.org/10601
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-07-29 21:25:27 +00:00
Joren De Cuyper
2dbd2cb9a5 Avoid infinite loop when gathering "g" element styles
Same way of how fdo#74743 is fixed 3b7472b284

Change-Id: If6cc8eb6ff89b0081f27ff75a9b60a3e81cff1bd
Reviewed-on: https://gerrit.libreoffice.org/10326
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-07-15 14:28:29 +00:00
Tomaž Vajngerl
8ec26e211a svgio test: no need to create our own ComponentContext
Change-Id: If8e90c949223a0f11c6b8c6a8ac1cd08ce95a74b
2014-04-16 10:51:09 +02:00
Tomaž Vajngerl
7789041708 svgio: compilation error - ambiguous parameter int / sal_Int32
Change-Id: I10b247bce555d244d21d031bdaefb0f60d9ed0ca
2014-04-16 10:08:17 +02:00
Tomaž Vajngerl
8c571e5f82 svgio: introduce svg import tests
Change-Id: Id69f659a9e4b0332970e75b1d0a7d820c8b2c998
2014-04-16 09:52:27 +02:00