Caolán McNamara
cf6f3ad82b
unwind RID_SVXIMGLIST_FMEXPL ImageList
...
Change-Id: If9d733c5242e2f2b9947b251cfe832d1c10bd4bd
Reviewed-on: https://gerrit.libreoffice.org/32350
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2016-12-22 18:30:05 +00:00
Caolán McNamara
429902e38b
drop imglst
...
Change-Id: Iff88349acf3fc0f474cff0a882346a6d8496aec1
2016-12-22 18:18:32 +00:00
Caolán McNamara
90152f771d
Updated core
...
Project: help b46832dd2c7738ccb0bbd285792b113cc869cecb
drop imglst
Change-Id: I6a9caacfb23c7610bf531e7a8b2719d6ebae3bf0
2016-12-22 18:18:13 +00:00
Caolán McNamara
54993cbab5
scrub imglst from svg metadata
...
Change-Id: I59b397344cb89a27511adfe108c46a3d4e0957aa
2016-12-22 17:54:42 +00:00
Caolán McNamara
4a780e9e03
RID_SVXBMP->RID_EXTBMP
...
Change-Id: I19e5c60ea8b42223322da2a1e343b7c4c1c59928
2016-12-22 15:59:01 +00:00
Caolán McNamara
2085d8203b
avoid crash in 130+ odt export tests
...
e.g. fdo44181-1.ott to odt
Change-Id: I23403415378ddf50ff007fb4b5d88b4009668bf6
2016-12-22 15:42:17 +00:00
Caolán McNamara
89d067775a
unwind RID_SVXIMGLIST_RPTEXPL ImageList
...
Change-Id: I395dfb5e54f3196f59b5079c580714f57c992f2d
2016-12-22 15:00:03 +00:00
Miklos Vajna
35a067f196
vcl: fix remaining loplugin:cppunitassertequals warnings
...
Change-Id: Ic499ebbaeb25a08b01cd1317ab3055a374444a4f
Reviewed-on: https://gerrit.libreoffice.org/32329
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
Tested-by: Jenkins <ci@libreoffice.org >
2016-12-22 14:37:22 +00:00
Stephan Bergmann
9c969c864f
Dispose XRowSet when done
...
Change-Id: I143591203e7566dc822c88a081c780d9ae013c43
2016-12-22 15:33:33 +01:00
Caolán McNamara
1f799a9495
Resolves: ofz#312 ignore leaks from InitVCL
...
because we can't call DeInitVCL
so try this
Change-Id: I9dec85551b30a8607c7b34e020e0d374c14b7741
2016-12-22 13:51:18 +00:00
Caolán McNamara
7485fc2a14
Resolves: ofz#313 cbBmiSrc > getDIBV5HeaderSize
...
Change-Id: I67fb67dc0a4cb609b8f1391c1eb6dd395755a933
2016-12-22 13:35:36 +00:00
Caolán McNamara
88dad8fe1a
Resolves: tdf#104687 gtk2 paste cell text under a11y is fatal
...
Change-Id: Ia26ecf381e491b5591e05e0051b7162eb1d4bb56
2016-12-22 13:19:18 +00:00
Caolán McNamara
2fb74b1ae9
build hunspell with _GLIBCXX_DEBUG
...
Change-Id: Ida2ce221f1e35afd946545c2a36b72dd2386e7dd
2016-12-22 13:03:46 +00:00
Caolán McNamara
903dd3fe07
Resolves: ofz#311 fix leak in old fontconfig we're using
...
I guess we should bump the version of this
Change-Id: I4e0b16fe8483f7c8494bb6ca6c5f87cd3420d721
2016-12-22 11:25:45 +00:00
Bjoern Michaelsen
404e4f55ab
inline some trivial functions
...
Change-Id: I327dbc236db9462b3cb3d24e2c6abca1ef4cddf4
Reviewed-on: https://gerrit.libreoffice.org/32149
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com >
2016-12-22 11:19:11 +00:00
Caolán McNamara
0dfc6f70ab
valgrind: stick 0 at end of successfully read data
...
Change-Id: Id79f68c9095ab313ac05d2c8b55df71788df81d3
2016-12-22 11:09:36 +00:00
Caolán McNamara
b08e481663
Resolves: ofz#310: Sanitize 1 bit bitmap palette indexes too
...
Change-Id: Ied2b71eb1c9088bbbff5fed97f7a04b43f4b4827
2016-12-22 10:51:39 +00:00
Caolán McNamara
2ac9ea00c0
bodge fix build
...
Change-Id: I5ef90ad7bf39618cc65641ffa85d056adc48d555
2016-12-22 10:28:32 +00:00
Stephan Bergmann
5610381dde
Dispose component when done
...
Change-Id: I3ea2004556b01ba992215b9142b9c8a6aabb63c0
2016-12-22 10:56:45 +01:00
Stephan Bergmann
da42fabff4
Dispose document when done
...
Change-Id: I73a1cb1c206a2f55ec0c8948fca29b3976a51e75
2016-12-22 10:50:07 +01:00
Adolfo Jayme Barrientos
a02018a9ae
Take advantage of Unicode, people
...
As a translator, I’ve always found a bit ridiculous that LibreOffice
provides me with separate strings for opening and closing quotation
marks, but the English version doesn’t actually take advantage of it.
It seems that, because of this, many translators haven’t taken advantage
of the separate strings. Let’s fix that.
Change-Id: I125fcf311916dfdb056e5a46e081fa9d0305db25
2016-12-22 03:27:01 -06:00
Stephan Bergmann
3aaf523d68
Dispose Window when done
...
Change-Id: I6b67d12174c3caa0a4bf230d87421f5768a331f8
2016-12-22 10:22:21 +01:00
Caolán McNamara
f05aa32b58
some apparently leftover icons, move them anyway
...
Change-Id: Ie051dfe7c124acab7fb81de80e97715fdd8b59a5
2016-12-22 09:01:57 +00:00
Caolán McNamara
d7fd3ae7dd
move na stragglers to res
...
Change-Id: I56359bd86a48deb7c11264c65445196fcf454ee7
2016-12-22 09:01:57 +00:00
Caolán McNamara
76dfd119df
unwind RID_IMAGELIST_NAVCONT ImageList
...
Change-Id: I5e057ce9df205ca2431e7a7a455b00fcec6123db
2016-12-22 09:01:57 +00:00
Caolán McNamara
a0c1e7bc8e
should be sd icon, not sc
...
Change-Id: Ib12d6b821e27cedf324e16c548254099b100fd3e
2016-12-22 09:01:56 +00:00
Stephan Bergmann
1dc43e24b3
Generalize vector/deque ctor checks to work with MSVCRT
...
Change-Id: I2d493a36b8c2e3abe69964c04b46f08d67ef8a48
2016-12-22 09:23:19 +01:00
Stephan Bergmann
4a591d74a7
Some more bool-like types for Windows/clang-cl
...
"TW_BOOL" seen e.g. in extensions/source/scanner/scanwin.cxx
"boolean" seen e.g. in extensions/source/activex/SOActionsApproval.h
Change-Id: I78281cd4f92c3e0c0d885cc2466665a06f5bcd85
2016-12-22 09:19:00 +01:00
Stephan Bergmann
c74688dfd4
That whitelisted code is already gone again
...
Change-Id: I1fa04b51823ac9707f0dd3d7c8209c69e917ef28
2016-12-22 08:58:09 +01:00
Stephan Bergmann
595ff0c6ea
Also don't warn for plain C code
...
...as needed by clang-cl for
bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
Change-Id: I862afb6b549015d951a898ee415370540ffab1f6
2016-12-22 08:54:04 +01:00
Justin Luth
9c2b0c55cd
fix tinderbox: ooxmlimport # of paragraphs assert
...
Test name: testTdf75573_lostTable::Import
equality assertion failed
- Expected: 6
- Actual : 7
- # of paragraphs
Change-Id: I90791785dab35146e58de4f6a38cd86164f422e0
Reviewed-on: https://gerrit.libreoffice.org/32327
Reviewed-by: Justin Luth <justin_luth@sil.org >
Tested-by: Justin Luth <justin_luth@sil.org >
2016-12-22 07:42:40 +00:00
Justin Luth
cc07f1c044
fix tinderbox int to sal_Int32 conversion failure
...
note: template argument deduction/substitution failed:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx:737:186:
note: deduced conflicting types for parameter
‘const T’ (‘int’ and ‘sal_Int32 {aka long int}’)
CPPUNIT_ASSERT_EQUAL_MESSAGE("# of frames/shapes", 0, xDraws->getCount() );
Change-Id: I96d074a420ac16d9c5e3a3d200372289366039e9
Reviewed-on: https://gerrit.libreoffice.org/32325
Reviewed-by: Justin Luth <justin_luth@sil.org >
Tested-by: Justin Luth <justin_luth@sil.org >
2016-12-22 07:22:30 +00:00
Tor Lillqvist
b1c1458760
Revert "[API CHANGE] createSecurityContext() was always called with an empty string"
...
I got cold feet. I don't want to have to revert this many years later
instead, when some obscure 3rd-party software stops working.
This reverts commit e1ce7bad62
.
2016-12-22 08:48:16 +02:00
Noel Grandin
cc15806b52
convert BasePrimitive2D::get2DDecomposition to use a visitor
...
which lets us avoid constructing the decomposition when we are only
interesting in the bounding box, e.g. for hit testing
Change-Id: Icd8d430b75d207063f1db70e5a0822d5d82a7d00
Reviewed-on: https://gerrit.libreoffice.org/30835
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk >
2016-12-22 06:44:08 +00:00
Noel Grandin
41f7878ccb
convert BmpFilter to scoped enum
...
Change-Id: I22c5b49f108d4ce103dea5098a2a0dc9d6bc854c
Reviewed-on: https://gerrit.libreoffice.org/32292
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2016-12-22 06:43:35 +00:00
Noel Grandin
7444355f1d
convert VclButtonBoxStyle to scoped enum
...
Change-Id: If3d02c9be54a509f85214acbf4a1e6cfd8955dc4
Reviewed-on: https://gerrit.libreoffice.org/32291
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2016-12-22 06:43:22 +00:00
Noel Grandin
21907d647c
convert VclSizeGroupMode to scoped enum
...
Change-Id: Id731fb3d5f9eb5ddaa3af41b010bff340f1077ce
Reviewed-on: https://gerrit.libreoffice.org/32290
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2016-12-22 06:43:06 +00:00
Noel Grandin
29fa61837f
convert GetDefaultFontFlags to scoped enum
...
Change-Id: I048aa989f5a90a5e2fb51e33eb9c1dafda3fc7f6
Reviewed-on: https://gerrit.libreoffice.org/32284
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk >
2016-12-22 06:42:53 +00:00
Justin Luth
34324bff12
tdf#75573 - relocate code: alternate stream already started
...
moving this keeps the original fix and prevents losing a table
in this unit test
fixes regression commit ecea3431ca
Change-Id: I5e94760649020ddf1c468d52b91aaf0521bbfdda
Reviewed-on: https://gerrit.libreoffice.org/32269
Reviewed-by: Justin Luth <justin_luth@sil.org >
Tested-by: Justin Luth <justin_luth@sil.org >
2016-12-22 05:16:41 +00:00
Justin Luth
e37563c304
tdf#104710 bRemove: only prevent w/BREAK_TYPE for defined Sections
...
fixes regression from fix for bug 103975 which prevented removal of
empty paragraphs if there was a page/column break. This patch adds
the requirement that there is also a defined SectionBreak.
I did a bad thing with unit test rhbz988516 (which was re-used as
the unit test for bug 103975). I didn't first check in MSWord
to see how many pages it really ought to have, and when it started
round-tripping with 3 pages I was happy. Well, the proper page count
according to MSO is 2 (a hard page/break and Section/newPage combine
to form a single pagebreak). Undoing the regression fixes that too.
The regression was commit 7b250d5698
Change-Id: I15e9df2d260954f02a9e183d9f48c1d267494b49
Reviewed-on: https://gerrit.libreoffice.org/32236
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
Reviewed-by: Justin Luth <justin_luth@sil.org >
2016-12-22 05:08:41 +00:00
Markus Mohrhard
c06be281e7
uitest: convert random number manual test to automated testing
...
http://manual-test.libreoffice.org/manage/case/143/
Change-Id: Iff337668834cc729398a79719701627689b56dfd
2016-12-22 01:17:44 +01:00
Markus Mohrhard
ad5416b663
uitest: convert cell recalculation manual test to automated testing
...
http://manual-test.libreoffice.org/manage/case/151/
Change-Id: I6b4e857eb949b29b03817058f8fb3a93ace13309
2016-12-22 01:17:44 +01:00
Markus Mohrhard
c3b36b460e
uitest: add reference to moztrap
...
Change-Id: I5213a5a5356af8d80787dc023ac6eca64c456ff9
2016-12-22 01:17:44 +01:00
Markus Mohrhard
daca12903b
uitest: convert transpose manual test to automated test
...
http://manual-test.libreoffice.org/manage/case/187/
Change-Id: Ia15514127c91ad9391329e96ad23e72b39f9b5f0
2016-12-22 01:17:44 +01:00
Markus Mohrhard
e69d4c2f92
uitest: convert validation manual test to automated test
...
http://manual-test.libreoffice.org/manage/case/191/
Change-Id: I5aa3dfd87e3de66f12b2a73a8c67cb01cbb56244
2016-12-22 01:17:44 +01:00
Markus Mohrhard
ffd3a78206
uitest: add a way to execute blocking actions
...
Change-Id: I312a835fd8de82d5f31e6ba09105b22587c43513
2016-12-22 01:17:44 +01:00
Markus Mohrhard
02db166d5f
uitest: convert next manual calc test to an automatic one
...
Converts http://manual-test.libreoffice.org/manage/case/190/
Change-Id: I72fa202c55578f1163f0184fbedd8e470cee0ed7
2016-12-22 01:17:44 +01:00
Markus Mohrhard
92654aafae
uitest: add method to get first component
...
Note that this method should be improved to allow selecting a specific
component. However for now this works will all tests that start only one
document.
Change-Id: Iaba47b3dc5996abbfc3fca54dfefa48df5a603d8
2016-12-22 01:17:44 +01:00
Markus Mohrhard
8c286ace81
uitest: add helper method to get XCell from UNO
...
Change-Id: I1600a1e5d79b100a6469d9fa52c67e9e374258a2
2016-12-22 01:17:44 +01:00
Markus Mohrhard
0257f7638b
no need to catch exceptions in cppunit tests
...
The framework already catches exceptions and will fail the test.
Change-Id: I8adfb5033fe11f6fefb1799c044b0a5a0acf2cbb
2016-12-22 01:17:44 +01:00