summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-05m_bDoLiveUpdate is always trueTamás Zolnai
Change-Id: I169027a02bd4e0e5c2e0011e6aca4d6063547ca0
2017-01-05Remove useless explicit bool conversionTamás Zolnai
Change-Id: I81caa89fe2ebfb88ce4eb36b8edb9460e9aca9c8
2017-01-05handle paste special of single formula cell if IsEmptyDisplayedAsString()Eike Rathke
Similar to CopyCellsFromClipHandler. Change-Id: I7da8a55c3648c6f04c5f3b11459764fd42f51399
2017-01-05handle paste special of single formula cell with error resultEike Rathke
This apparently was never implemented, unlike in the block pasting code that handles it fine. Formula cells with error results were always copied as is if numeric was requested, even if formulas weren't requested. Change-Id: Id550c4e757b6bb2c06aa0637328216383cdf3d6b
2017-01-05Base SvxLineEndWindow on ToolbarPopupMaxim Monastirsky
Fixes size and position issues under gtk3/wayland Change-Id: I357a5935e2b44fd3d5effde8cf7d3499e26384db
2017-01-05Prefix SvxLineEndWindow membersMaxim Monastirsky
Change-Id: I0cfe88c65cc75757938a9f8004c219fbe39f88dd
2017-01-05Get rid of SvxLineEndWindow resizingMaxim Monastirsky
Change-Id: I0135f084f64b9709688f0f9205940baf193c5d83
2017-01-05Support icon theme change in a floating border controlMaxim Monastirsky
was unintentionally broken by 64a2dc962cd68c86281ed747d3dc96bc996115eb Change-Id: I3358d8104dd1e2200f84019a2c4c41f1e0019399
2017-01-05Use command labels for the color popup titleMaxim Monastirsky
Change-Id: I2f61e25ef4451775320f8fa1761a951ab94af7d5
2017-01-04tdf#104944 gtk3: Ignore mouse up event if the wrong frameMaxim Monastirsky
Change-Id: I3d0aad6d2b434866df9110d3b8493fec2d2c94fe Reviewed-on: https://gerrit.libreoffice.org/32465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-01-04add UNICODE test caseZdeněk Crhonek
Change-Id: I4b3a560b7e0a82f204d16c740836d02ba63d955e Reviewed-on: https://gerrit.libreoffice.org/32734 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04add PERMUTATIONA test caseZdeněk Crhonek
Change-Id: Id853563e39eeb9f31ca5ffd0e72a317989a4791e Reviewed-on: https://gerrit.libreoffice.org/32735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04last bitmaps that pMaskColor arg was used on converted to true transparencyCaolán McNamara
Change-Id: I99bb32355bc53e2c870f84e60fc1e35b9dfe8270
2017-01-04replace the blue which will be set to transparent, with transparentCaolán McNamara
Change-Id: I95923685d412145e88b672a50311c767d1425493
2017-01-04convert these mono versions to pngCaolán McNamara
Change-Id: I93755ac95c170c457b32adac07557ed48ad8beee
2017-01-04drop unused SplitWindow::ImplDrawButtonRectCaolán McNamara
Change-Id: I0ccb4adfec39f8717d5921e04809af65be066d0a
2017-01-04all users of InsertFromHorizontalBitmap use all argsCaolán McNamara
Change-Id: I458036b084645af509d64a78f5389415dfc4115a
2017-01-04tdf#81754: Unit test for the loss of text on save of pptx.Jan Holesovsky
The problem itself was fixed by commit 2ad50c9a8c8411a57bbbd7a52734e72ffc4cc0ee. Change-Id: Ie7f0781e1f5a4d6c5297882a5f64a68b85558515
2017-01-04tdf#89932 bullets and numbering position tab level-1pv2k
Fixed the problem of not showing the default values on level-1 Change-Id: I167694d090a6c4cd8064250837d290efabfad21c Reviewed-on: https://gerrit.libreoffice.org/32261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-01-04Enable fetching data from network, not just files available locallyJaskaran Singh
Change-Id: I7bd25fd66130f944bf7f278cf7fcbaae6dbbbc00 Reviewed-on: https://gerrit.libreoffice.org/32544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04replace namespace URL strings with function calls...Rosemary Sebastian
Change-Id: I0b8b265df487aaeb76238013bc93c78e49a9e1a6 Reviewed-on: https://gerrit.libreoffice.org/32723 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04unused bitmap resourcesCaolán McNamara
Change-Id: Ia76b548e993d13c7706ab126109086cbd0717b4c
2017-01-04follow up remove unused autohide leftoversCaolán McNamara
Change-Id: Ic7281e915075519c300a330557399111838d7d34
2017-01-04drop AutoHide codeCaolán McNamara
only used from reportdesign and that appears to be overlooked from an earlier eradication program Change-Id: I196fd7ccbc909c935daf534d55e6b39de8510f23
2017-01-04tdf#105093 sd PDF export: handle embedded videosMiklos Vajna
In practie embedded files always have a temp file URL, so from the PDF export's point of view they are still URLs, just at the end the contents of the URL is embedded to the PDF, not just the URL itself. So add a SetScreenStream() that's similar to SetScreenURL(), but it's for embedded, not linked videos. Change-Id: Ifcc60357ef0f5fed0bdec02e0c84cb16ee147781 Reviewed-on: https://gerrit.libreoffice.org/32727 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-04sw: more implicit int conversions in SwEndNoteOptionPageMichael Stahl
Change-Id: I66033eeff8ebb636d5f55d61102a0f30f3353f85
2017-01-04tdf#97228 Moved class ControlCacheKey in a seperate include file.Huzaifa Iftikhar
class ControlCacheKey defined in include/vcl/salnativewidgets.hxx is used only by vcl therefore it is moved to a seperate include file named ControlCacheKey.hxx which is inside vcl/inc/ControlCacheKey.hxx. This header file contains the definition of the the class ControlCacheKey. Since this class uses an object of another class named Size which is defined in gen.hxx therefore this is included in ControlCacheKey.hxx. All the files that references the class ControlCacheKey includes ControlCacheKey.hxx with the syntax: #include "ControlCacheKey.hxx" Change-Id: I7d7b3e1cf6950a953e6bbed670c1914826b2bacd Reviewed-on: https://gerrit.libreoffice.org/32422 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-01-04Refactor lcl_makeHTMLColorTripletMuhammet Kara
- Reduce the unnecessarily large buf size - Replace multiple occurences of sprinf with only one snprintf - Avoid some unnecessary variable creations Change-Id: I14f36bea8eed10a62fbf977f10b148c8c52ad2ca Reviewed-on: https://gerrit.libreoffice.org/32451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-01-04Remove useless cat, and replace backtickMuhammet Kara
cat is a tool for con"cat"enating files. Reading a single file as input to a program is considered a Useless Use Of Cat (UUOC). It's more efficient and less roundabout to simply give file as input. Also use $(..) instead of legacy `..` Backtick command substitution `..` is legacy syntax with several issues. It has a series of undefined behaviors related to quoting in POSIX. It imposes a custom escaping mode with surprising results. It's exceptionally hard to nest. $(..) command substitution has none of these problems, and is therefore strongly encouraged. Change-Id: Ia668c6323660641bbb5084ee824ae9ae7631c76f Reviewed-on: https://gerrit.libreoffice.org/32473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-01-04Fix loplugin warnings in sqlflex.lStephan Bergmann
(Normally hidden by T_LEXFLAGS containing -L in connectivity/Library_dbtools.mk suppressing #line directives; some loplugin:literaltoboolconversion warning would remain in a flex-provided occurrence of ECHO that is apparently not properly prefixed by #line at least with flex 2.6.0.) Change-Id: Id5693d6bd9e5b565dd9820e3cbea8e88e7967dd5
2017-01-04Fix loplugin warnings in sqlbison.yStephan Bergmann
(Normally hidden by T_YACCFLAGS containing -l in connectivity/Library_dbtools.mk suppressing #line directives; some loplugin:cstylecast would remain in bison- provided expansions of $1 etc. variables.) Change-Id: Ic93bea0b2fe0ec5f741c4bc41f25cc72fec0498f
2017-01-04tdf#90290 use custom asserter in subsequent_export-test.cxxkerem
Change-Id: I8f8135728ab4f117cc99a0b78b8e3497417c5669 Reviewed-on: https://gerrit.libreoffice.org/32717 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-01-04sw: remove the silly casting in SwEndNoteOptionPageMichael Stahl
... by fixing the size of SwFootnoteNum so it can be forward declared. Change-Id: I1a9d32a1ec7e7201de1910407d32020b75fb7342
2017-01-04tdf#43370 docfnote.cxx: return correct FTNNUM for GetNumberingJustin Luth
way back in 2001 commit a7afc46b3766e4000ae5a9b8a914ede36bbd2991 removed the option to select per-chapter footnote-numbering for footnotes placed at the end of the document (or perhaps chapter since the variable is called FTNPOS_CHAPTER, but the UI refers to it as document). So only "Per Document" remained. However the function GetNumbering was never updated to reflect that fact that 2 options were removed from the list now, instead of one. So, the UI reported the choice as "Per Page", the only dropdown choice available was "Per Document", and the actual implemented choice was "Per Chapter". How's that for a mess? Change-Id: Ib8dc3d07c0ef62d39afdd2a1c78c14527649c6df Reviewed-on: https://gerrit.libreoffice.org/32700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-01-04starmath: SmGraphicWindow requires non-null pViewShellTakeshi Abe
Change-Id: Ic1e0f3f7aefb801cdda4709c3d43794ad9a21b02 Reviewed-on: https://gerrit.libreoffice.org/32722 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-01-04split SV_RESID_BITMAP_MSGBOX upCaolán McNamara
Change-Id: I4ebf48e5def5fb31aa7e34b5b6f89b220a27d1a6
2017-01-04Clean up ~SwXAutoTextEntryStephan Bergmann
The "DocShell must be cleared..." comment was a leftover from 2613afee051fee15ac78b06f611da493989f893c "INTEGRATION: CWS sw008", pertained to code that had been moved into implFlushDocument. The extra code block and accompanying "Thus, an own block..." comment are just nonsense. Change-Id: I7e60b488c609796d86bedf518218b06c612e494d
2017-01-04gbuild: CppunitTest: export VCL_HIDE_WINDOWSMichael Stahl
This currently has no effect and so the CppunitTest_cppcanvas_emfplus pops up an annoying window. (regression from 181932b31ea9c07a9bec3677e73b67a9a6d4e3f2) Change-Id: I26314d98f10f6b39ca1c28821ccd0de6ba2a4358
2017-01-04Updated coreGabor Kelemen
Project: help 17e3d608a1d4a09b6ef258beb4c2c22becd16414 Fix ahelps and bookmarks on the 'Database Selection' page The wizard page is renamed, so change that too. Main DB Wizard page bookmark was obsolete, fix that too Change-Id: Ida8827add4531efb0e0e1c7391eb2a17eb699f62 Reviewed-on: https://gerrit.libreoffice.org/32707 Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com> Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-04gbuild-to-ide xcode updatejan Iversen
Update to isolate module, and have groups for: Sources Headers Targets Other files Change-Id: Id2c48b0e3dae7c943c122e767d391d324e936619
2017-01-04tdf#104085 Replace number format code literal with ooxml enumeration.Mark Hung
Liberals of Number format code (NFC) were no longer recognized by dmapper after it had been removed in d30a8ec448bcd08c6a52a37d6ae41a4b71c235da. Replace them with enumeration. Change-Id: I3ed1e09d9f3987fce95bd708b9c0b0568d3f15f9 Reviewed-on: https://gerrit.libreoffice.org/32527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-01-04SwXAutoTextEntry needs a disposal protocolStephan Bergmann
SwXAutoTextEntry::GetBodyText calls SwGlossaries::EditGroupDoc to create a Sw[Web]GlosDocShell (which it then stores in xDocSh), and there must be a call to that shell's DoClose to clean up its resources. However, if a reference to the SwXAutoTextEntry is still held during XDesktop::terminate (as can happen in JunitTest_sw_unoapi_1, where such a reference is held from Java, thus arbitrarily delaying destruction of the SwXAutoTextEntry until the JVM does GC), SwXAutoTextEntry::Notify's PrepareCloseDoc case will release xDocSh without calling DoClose, so an eventual ~SwXAutoTextEntry will not call DoClose either. (And calling DoClose from withing SwXAutoTextEntry::Notify would cause a crash, as it would destroy the SwGlosDocShell recursively from within its SfxBroadcaster::Broadcast call.) So introduce a disposal protocol for XAutoTextEntry and call it at least in the place that caused the resource leak in JunitTest_sw_unoapi_1. For lack of a better inerface, reuse css.lang.XComponent for that protocol, even though this scenario doesn't involve breaking cyclic references among UNO objects caused by listener patterns. Change-Id: Id6501b84e562950e40b83e0b1afd1b3184807856
2017-01-04writerfilter: various small cleanups in rtfdocumentimplMiklos Vajna
Change-Id: If6ed5c12c100af6e37c83e177891f3c5c17c3aad Reviewed-on: https://gerrit.libreoffice.org/32720 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-04tdf#99616 writerfilter: hideMark shouldn't force min sizeJustin Luth
hideMark in Word does not force the minimum possible row size, but simply ignores any cell marker styles/sizings. So an empty row then takes on the "at least" size defined for the row. Change-Id: Id24a52f2a360a5040c2eed5c17757c0d32d03520 Reviewed-on: https://gerrit.libreoffice.org/32380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-01-04vcl: hold VclPtrs to avoid possible lifecycle related crashers.Michael Meeks
Makes code on common EnableInput crash reporter trace safer. Change-Id: Ibcf218d0d2460383d12e19f48aaf0ab08e541532 Reviewed-on: https://gerrit.libreoffice.org/32706 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-01-04Related: tdf#104841 sw PDF export: handle linked videos on non-first pagesMiklos Vajna
Be explicit about the page number, this way a video on the second page doesn't end up as an annotation for the first page. (In the Impress case each slide is exported separately, so there this wasn't a problem.) Change-Id: I83ba9cb4a3b2a6734bd88a138654e391199651c6 Reviewed-on: https://gerrit.libreoffice.org/32696 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-04starmath: Reenable a test case for SmNodeToTextVisitorTakeshi Abe
by fixing a regression which seems introduced at 4f294a90877d2f91bb88c7d6cd5b74e8e546a025. Change-Id: If47f7528f5b5fd04432da134f345d69c25a1ca77 Reviewed-on: https://gerrit.libreoffice.org/32665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-01-04tdf#90290 use custom asserter in filters-test.cxxkerem
Change-Id: Ia5fb43c8f5398659a08982700dbece72959af19c Reviewed-on: https://gerrit.libreoffice.org/32529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04tdf#48140 replace CellRangeAddress in xlsx import (13)Jochen Nitschke
Change-Id: I4e06b536db63d8782662023a83cc92956b519e11 Reviewed-on: https://gerrit.libreoffice.org/32698 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#105026 Remove wrong constraint in PERMUTATIONA.Winfried Donkers
With permutations with repetitions, argument selection may be larger than argument elements. Probably inadvertently copied from PERMUT; has been there from pre-git. Change-Id: Icdee18eca647fb278f140630e45844684a1e3046 Reviewed-on: https://gerrit.libreoffice.org/32569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>