Commit graph

449157 commits

Author SHA1 Message Date
Stephan Bergmann
da21c67565 Adapt to hardened_runtime.xcent
...generated since 88453fd13a "Enable debugging of
a hardened process on macOS"

Change-Id: I061b3673855d6e44f0fbf805f8cda1a9ee6f2196
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93431
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-04 22:49:05 +02:00
Vasily Melenchuk
db3d90abd3 sw: moved setting shape name to earlier stage
During setting of some shape properties undo/redo code is called.
Undo/redo code should know about shape and style name.

Change-Id: I5240c450d0c739a245e32e9ca6f34518f35ddda5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93214
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-05-04 22:48:12 +02:00
Vasily Melenchuk
0bb9197653 tdf#116883: sw: unittest for lists with complex level format
Change-Id: I12a9cc1d08525536182227f26e5c44c7b8a4b319
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93125
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-05-04 22:47:36 +02:00
Luboš Luňák
16ab4c5cc8 remove old Skia text render methods that do not use Skia directly
The cairo-based method on Unix and manual glyph handling way taken
from GL on Windows should be longer be needed, now that using Skia
itself for text rendering seems to work fine.

This reverts more or less reverts the following commits:
b1d3ef798a
5ac9a62f3a
6199598270
6f5c85daa0
ad3580df08
f109a1ac6f
59205c742c

Change-Id: Ib28b2469c7d6471c227bb2aa08d5485bb24c2fe1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93428
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-05-04 21:46:46 +02:00
Gülşah Köse
603df08a1e tdf#131175 Import data label solid fill and color.
Change-Id: I8a3ef6e60d4f2a13310bb9a8fc4eb873df3f9b4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93407
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2020-05-04 21:04:39 +02:00
Andreas Heinisch
e7f3731b8d tdf#64690 - Extend selection on find/replace
In the Basic code window, extend the selection on the last paragraph
during the search/replace process in order to consider newly inserted
text portions.

Change-Id: I27ad998709ac25cffbef4a354c87d422f97e1b51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93432
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-04 20:48:44 +02:00
Noel Grandin
02323e893a fix leak in comphelper::TestHash
by shutting down NSS at end of test

Change-Id: I63694e9bc54e8c142592005be353af7ed95d444d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93427
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-04 20:13:12 +02:00
Mike Kaganski
72795f68df StackBlur filter: Don't create threads for small bitmap
This makes the last (or the only) strip to run im main thread, thus
removing threading overhead for small (width/height <= 16) objects.

Change-Id: I6da050a62b00a013838f16eb94a32e2639d93aec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93423
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-04 19:04:20 +02:00
Stephan Bergmann
986a762574 Missing gengal vclplug dependencies for macOS and Windows
Building e.g. Gallery_backgrounds from scratch failed there with

  no suitable windowing system found, exiting.

Change-Id: Icf2dd26441554e573914f371d0d5eb21e99f5f0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93429
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-04 18:46:33 +02:00
Xisco Fauli
0eac1549c9 related: tdf#130108: sc: Add unittest
The issue per se can't be tested in ScExportTest
because it's not happening when using the commandline, but the gui.
See: https://bugs.documentfoundation.org/show_bug.cgi?id=130108#c13
Still, there is no existing test for x:dxfs elements so I think
this test is still useful

Change-Id: I5fc650aedfa06416732941367b31cc18199e2cc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93411
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-04 18:16:46 +02:00
László Németh
81ce88aa80 tdf#132514 DOCX import: fix lost table style with footer
Table paragraphs collected for table style processing
were mixed when both body text and footer contain tables,
i.e. clearing paragraph vector at processing the first table
resulted missing paragraph vector and table style processing
for the other one.

Now tables in footer, also nested tables collect their
paragraphs in separated table paragraph vectors.

Regression from commit 6c5da2cd7a
(tdf#119054 DOCX: fix not table style based bottom margin).

Change-Id: Ib8568d8379cfb7da869120cdc7fe12895252d661
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93415
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-05-04 17:55:28 +02:00
Caolán McNamara
224c155d89 make Search family and mask explicit for SfxNewStyleDlg
Change-Id: Ib3e5765d37474188d6505f1d9965969ee6c24f0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93358
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-04 17:47:49 +02:00
Caolán McNamara
9ca3a372a4 default CreateIterator mask to SfxStyleSearchBits::All
Change-Id: Ie79eff57646853613e8c6060adbce92dd388df5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93357
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-04 17:47:32 +02:00
Caolán McNamara
fe70f736de no need to save and restore the SaveMask if we don't change it
Change-Id: I4cc4c68fee1e38fd5fc7b20685e722d51fc791a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93356
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-04 17:47:13 +02:00
Caolán McNamara
322d8e516b for these we know what the SearchFamily and GetSearchMask are already
Change-Id: If12f144bb4e9d02a5caafc5ea64dd1dc7b8b5709
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93355
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-04 17:46:20 +02:00
Michael Stahl
49f26e7dae tdf#132187 sw: fix creation of frames on end node in CopyWithFlyInFly()
The problem is that the rInsPos node is included in the range passed to
MakeFrames(), but it already has a frame, so now it has 2 and that
means the next call to MakeFrames() in this position will create all the
frames twice.

This is tricky because while in practice there is currently only one
layout in theory there could be multiple, and then it could happen that
RecreateStartTextFrames() will destroy the node's frame in one layout
but not the other, while MakeFrames() always works on all layouts.

Fix this by checking if all the existing frames survive
RecreateStartTextFrames() and if it's not the case (like in tdf#130685)
explicitly delete all the frames and including the node in MakeFrames().

(regression from 166b5010b4)

Change-Id: I1bba11da053fe1c6359b2f76f3a352e44c6a2a1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93416
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-05-04 16:38:50 +02:00
LibreOfficiant
f6ac5e863c Update git submodules
* Update helpcontent2 from branch 'master'
  to 115422426e5c514b05d8f64afa27141bb9ef1ae0
  - tdf#131416 Basic Subroutines help pages
    
    - Function, Property & Sub statements
    - Public, Private are keywords, Global removed from diagrams:
      -  Global=Public as Basic libraries remain in memory
    - Basic toc & index
    
    Change-Id: If107f4d148b4da399dd03d1b18ea3da5454bb9ac
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92784
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-04 16:16:43 +02:00
LibreOfficiant
31a09e639f Update git submodules
* Update helpcontent2 from branch 'master'
  to b2f0c674155a29174fca5acfa0c4036c3320fc6c
  - tdf#131416 Basic help pages
    
    - Redim
    - Type
    
    Change-Id: I473c7d9469705ddde52e51cd6d2695c87bb5781d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93369
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-04 15:54:51 +02:00
Luboš Luňák
9dc7b88f5d remove checkboxes for enabling OpenGL
The expert options still stay, but the checkboxes are a bit confusing
when also the Skia checkbox is there, Skia is for now the default,
and if Skia drawing goes well then the OpenGL drawing method can
be slowly phased out.

Change-Id: Iaea7e471f27010291abedb644d4728189345e3b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93408
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-05-04 15:53:59 +02:00
Stephan Bergmann
2a9ea3c978 Adapt test code to Clang 11 trunk change
...<https://github.com/llvm/llvm-project/commit/
159a9f7e76307734bcdcae3357640e42e0733194> "[AST] Print a<b<c>> without extra
spaces in C++11 or later."

Change-Id: Ic8a2ab1ee9082e150cf0ebe1f6538a1a1deb7853
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93409
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-04 14:33:00 +02:00
Tomaž Vajngerl
dba50d5e6c SdrPdfImport: use convertPointToMm100 for all unit conversion
Change-Id: I78b3512cc0b9aea1fa4e9a810ec71eadd00b7635
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93391
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 12:33:33 +02:00
Fatih
305dab19f8 Use pragma once instead of include guards
Change-Id: Ife31f595e7b704903f65eb8ba327da12a8fcf4d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92786
Tested-by: Jenkins
Reviewed-by: Yusuf Keten <ketenyusuf@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-05-04 12:33:08 +02:00
Stephan Bergmann
a05ad2aab7 Remove what looks like debug printf
...left over presumably accidentally by bb459008de
"vcl: add DetectorTools + tests, refactor array string matching", but which
causes heap-buffer-overflow during CppunitTest_vcl_filters_test when printing an
apparently not null-terminated string, see
<https://ci.libreoffice.org/job/lo_ubsan/1614/>:

> ==12896==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61d0000e5480 at pc 0x000000454f7f bp 0x7fffaff10200 sp 0x7fffaff0f9b0
> READ of size 2049 at 0x61d0000e5480 thread T0
>     #0 0x454f7e in printf_common(void*, char const*, __va_list_tag*) /home/tdf/lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors_format.inc:547
>     #1 0x45568b in vprintf /home/tdf/lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1631
>     #2 0x45575e in printf /home/tdf/lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1689
>     #3 0x2b0e63a119ca in vcl::checkArrayForMatchingStrings(char const*, int, std::__debug::vector<rtl::OString, std::allocator<rtl::OString> > const&) /vcl/inc/graphic/DetectorTools.hxx:57:9
>     #4 0x2b0e63a1ad0a in vcl::GraphicFormatDetector::checkXBM() /vcl/source/filter/GraphicFormatDetector.cxx:426:9
[...]
> 0x61d0000e5480 is located 0 bytes to the right of 2048-byte region [0x61d0000e4c80,0x61d0000e5480)
> allocated by thread T0 here:
>     #0 0x4f5648 in operator new[](unsigned long) /home/tdf/lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/asan_new_delete.cc:108
>     #1 0x2b0e63a1a839 in vcl::GraphicFormatDetector::checkXBM() /vcl/source/filter/GraphicFormatDetector.cxx:419:42
>     #2 0x2b0e639685b8 in ImpPeekGraphicFormat(SvStream&, rtl::OUString&, bool) /vcl/source/filter/graphicfilter.cxx:394:23
>     #3 0x2b0e639693b0 in GraphicFilter::ImpTestOrFindFormat(rtl::OUString const&, SvStream&, unsigned short&) /vcl/source/filter/graphicfilter.cxx:455:13
>     #4 0x2b0e63970153 in GraphicFilter::ImportGraphic(Graphic&, rtl::OUString const&, SvStream&, unsigned short, unsigned short*, GraphicFilterImportFlags, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const*, WmfExternal const*) /vcl/source/filter/graphicfilter.cxx:1437:19

Change-Id: I8d88a417083c14e4f1a9a78f9e1354390283d83c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93403
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-04 11:54:16 +02:00
Miklos Vajna
800085d4fb sw reqif-xhtml import, embedded objects: handle Ole10Native stream
This is the import side of commit
1392fd6a7e (sw reqif-xhtml export,
embedded objects: handle Ole10Native stream, 2020-04-30).

Change-Id: Ib98620f06c471a58e75b0e6c0230d37820dbc928
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93402
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-05-04 11:27:54 +02:00
Samuel Mehrbrodt
f3fc0116ff tdf#79082 Add test for correctly importing tab stops from ppt
Change-Id: Iafccbe50e6e00e3a4c5155dabf898c12e8b8176c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93397
Tested-by: Jenkins
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-04 10:35:23 +02:00
Piet van Oostrum
070f44e3b2 tdf#79082 Correctly import PPT tabs
Change-Id: I7ac5ccb356501983da645f0a6037b5292ce8b5b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/20207
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Jenkins
2020-05-04 10:34:30 +02:00
Miklos Vajna
934fd1c617 sw: prefix members of SwAutoCorrDoc, SwDontExpandItem, SwHyphArgs and ...
... SwUndoDrawUnGroupConnectToLayout

See tdf#94879 for motivation.

Change-Id: Ic3c3d9775fdb54ca59321166ea86fc0bdc4fa18f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93396
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-05-04 09:55:46 +02:00
Gabor Kelemen
835b864374 tdf#131366 Update graphite to 1.3.14
Change-Id: If7abe97a6b8b9a5c8738db9bce1aec7bf1507ba5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93095
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-05-04 09:32:54 +02:00
Tomaž Vajngerl
029194643d drawinglayer: extract constant in renderWrongSpellPrimitive2D
Change-Id: I131e2d5620d027f32dc2929cd12fedb168e30e9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93390
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:43:35 +02:00
Tomaž Vajngerl
2f844056c3 drawinglayer: flatten renderWrongSpellPrimitive2D
Change-Id: I93ff19f9f54b6f14c660af554d697b9ba525f81c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93389
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:43:21 +02:00
Tomaž Vajngerl
e4f72f8466 remove helperwrongspellrenderer.{cxx,hxx} from clang-format blacklist
Change-Id: Ib0b1f389189012ab27dd061481737ac6a6a1a84e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93388
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:43:03 +02:00
Tomaž Vajngerl
a57a6d145f pragma once in helperwrongspellrenderer.hxx
Change-Id: I25aac069b9212824fee50240a1b6682bf7e6f0f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93387
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:42:46 +02:00
Tomaž Vajngerl
e360fb8a31 organize includes in vclpixelprocessor2d.cxx
Change-Id: I1590e437946aaa4bd3a8b6a2c47d2ee17d2060a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93386
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:42:10 +02:00
Tomaž Vajngerl
94d5587e01 organize includes in vclprocessor2d.cxx
Change-Id: I1117eb86823762882d463c6e4d3b295efaa3151c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93365
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:41:55 +02:00
Tomaž Vajngerl
8e63a3623a dl: replace OSL_ENSURE with SAL_WARN_IF in impBufferDevice
Change-Id: I457b9310109157da03b6c310783651f5232d2054
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93364
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:41:20 +02:00
Tomaž Vajngerl
f256d5d5cb drawinglayer: remove aBuffer typedef in VDevBuffer
Also use back() method on vector instead of end() - 1

Change-Id: I944691d097f82b1651cff87a7bb0d7c457ece27a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93363
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:41:05 +02:00
Tomaž Vajngerl
e5889bb63a remove vclhelperbufferdevice.{cxx,hxx} from clang-format blacklist
Change-Id: I0ab6572ab700756322f96b982f7faeb6d8dc9fb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93362
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:40:50 +02:00
Tomaž Vajngerl
1a86c041cd pragma once in vclhelperbufferdevice.hxx
Change-Id: I12e53849fa23496799ba5e45fc0077cb9b54048c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93361
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-04 08:40:17 +02:00
Andrea Gelmini
b6caf887c6 Fix typo
Change-Id: Ic084ebbc04731b362bac0cf51e4b2bbdf5ef0526
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93208
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-05-04 07:18:39 +02:00
Andrea Gelmini
a162f0f036 Fix typos
Change-Id: I63ae6adec1967bcf888538437e5e88f0acdea66e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93392
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2020-05-04 07:01:22 +02:00
Olivier Hallot
b58b06fdc5 Update git submodules
* Update helpcontent2 from branch 'master'
  to 45490e779509af867ed9da186f834cc868d518db
  - tdf#132630 Hide Whitespace -> Show Whitespace
    
    Change-Id: I9a14cce825874338b87b5f82f55c52f661e7a877
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93346
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-04 03:54:53 +02:00
Caolán McNamara
00db5933de use SfxStyleSearchBits::All for GenerateUnusedName
use in SfxManageStyleSheetPage is definitely with
SfxStyleSearchBits::All applied. It seems almost certain that
use in SwDocShell::ExecStyleSheet would prefer that

Change-Id: I245c3f02bcce87f124bf0e507b59738a6dff34d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93354
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-03 22:44:21 +02:00
Caolán McNamara
a9102a1c63 explicitly pass SfxStyleFamily to GenerateUnusedName
Change-Id: I7879578383d58cb65441c9049e91e33bb4827afb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93353
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-03 22:44:08 +02:00
Tomaž Vajngerl
28609e1017 vcl: simplify graphic type detection for EPS files
Change-Id: Ia48560274c33aaa8e81a5ee6eb00f6470e92e0fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93349
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-03 22:16:34 +02:00
Tomaž Vajngerl
fe98579520 vcl: add test case for EPS file detection
Change-Id: Ia6a4cedf5c570e5d9544887ae66da0ec1e491647
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93348
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-03 22:16:06 +02:00
Andras Timar
3cf06b8f32 setuprc has to be a .PHONY target in order to get the current git hash
Change-Id: I7962966b9e0075715e419a375c74283e2a771e01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93367
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-03 21:57:32 +02:00
Caolán McNamara
e3517eefed Related: tdf#130108 expand single arg SfxStyleSheetBasePool::Find uses
remove it and expand its uses to explicitly show what it does

Change-Id: I2d4511c58b51003c327a2c70e3cc4f60751f520d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93352
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-03 21:28:50 +02:00
Caolán McNamara
454a3c945f Resolves: tdf#130108 ensure we don't reuse the last SetSearchMask setting
Change-Id: Iddc4438b8bd30576be4531d47b6be0ac70847a9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93350
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-03 20:07:48 +02:00
Andras Timar
18f9d47e83 Update git submodules
* Update translations from branch 'master'
  to 704f999109b58d58954585e970c8896b18803557
  - Updated Slovenian translation
    
    Change-Id: I8b7bf5de319cc6f31b6e01209378537f7f9286ec
2020-05-03 19:43:37 +02:00
Tomaž Vajngerl
bb459008de vcl: add DetectorTools + tests, refactor array string matching
Add DetectorTools with byte array searching and matching to a
input string (or another byte array). This refactors the existing
function in GraphicFormatDetector. It needs to go into its own
header so that the function(s) can be tested easily. Replace
the previous searchEntry implementation with refactored one in
the source code.

Change-Id: I59d30b694e13f28d6366f1a99fe2ef2ea3c1a07d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93339
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-03 19:37:13 +02:00