Commit Graph
401594 Commits
Author SHA1 Message Date
Miklos Vajna 64d80d2285 Related: tdf#105093 sd PDF export: handle css.presentation.MediaShape as well
It's exactly the same as css.drawing.MediaShape in this context.

Change-Id: I4be114ef731e85222f0dd1d897f646ad8da3849d
2017-01-05 09:59:12 +01:00
jan Iversen 1b4746f58c gbuild-to-ide Problem with multiple targets.
2 statement changed indention and caused problems

Change-Id: I67c1d51fcb9efa447085f8839c450c9741905f08
2017-01-05 09:41:20 +01:00
jan Iversen c919e31944 gbuild-to-ide general update
Changed target_by_location to an OrderedDict,
this makes the modules sorted in the single solutions.

Change-Id: I55096638c08610f761844ab66fcaadf6c00ff2c8
2017-01-05 09:41:20 +01:00
jan Iversen dd885c6a2c gbuild-to-ide xcode update
The xcode generator, now generates 1 solution.
libreoffice.vcxproj
The project contains all targets and all source
files (as delivered by gbuildtojson).

Lots of work still outstanding.

Change-Id: Ibe233dba395aa2f342d865e56053f292f708efa3
2017-01-05 09:41:19 +01:00
Stephan Bergmann ad9cfbcf02 Don't exclude a var from loplugin:salbool merely because of use in >>=
Change-Id: I1b8a3dfa1dc6b351ab0903a74eae19dfa6d0888d
2017-01-05 09:17:47 +01:00
Tamás Zolnai 5af78ee8df This lock seems useless
m_pCurrentMainType->commitToModel creates the same lock.

Change-Id: Iaecf6b3392ce7b1371623f962b0fdc58f8ddaa07
2017-01-05 04:22:05 +01:00
Tamás Zolnai e83917a74e Clean up code after some easy hacks
See commits:
c613b5dba8
610bc5aa16

Instead of adding new conditions or variables,
here we need just to initialize nActNumLvl
to a new default value.

Change-Id: I7b5a559ab5fecdc2a060840a99479312fabbcb4b
Reviewed-on: https://gerrit.libreoffice.org/32745
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-01-05 02:00:12 +00:00
Tamás Zolnai a3cf075880 I miss empty lines from between these function definitions
Change-Id: Icec3a948a92bf54bfc442b34cf806e053a9096f3
2017-01-05 02:17:51 +01:00
Markus Mohrhard 2be139d76b tdf#105069, store the VBA module info for new modules as well
This was never a problem until we started to export the VBA stream
instead of just writing back the imported stream.

Change-Id: I4e20e717bebd3dc649efcf1b9c18b6e5053303d9
Reviewed-on: https://gerrit.libreoffice.org/32741
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-05 01:10:36 +00:00
Tamás Zolnai e885c4429a m_bDoLiveUpdate is always true
Change-Id: I169027a02bd4e0e5c2e0011e6aca4d6063547ca0
2017-01-05 02:02:04 +01:00
Tamás Zolnai 1f9fcc1413 Remove useless explicit bool conversion
Change-Id: I81caa89fe2ebfb88ce4eb36b8edb9460e9aca9c8
2017-01-05 01:22:57 +01:00
Eike Rathke 3afe82bd63 handle paste special of single formula cell if IsEmptyDisplayedAsString()
Similar to CopyCellsFromClipHandler.

Change-Id: I7da8a55c3648c6f04c5f3b11459764fd42f51399
2017-01-05 00:29:25 +01:00
Eike Rathke 12ecd30476 handle paste special of single formula cell with error result
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-05 00:29:25 +01:00
Maxim Monastirsky 9ae8e4d356 Base SvxLineEndWindow on ToolbarPopup
Fixes size and position issues under gtk3/wayland

Change-Id: I357a5935e2b44fd3d5effde8cf7d3499e26384db
2017-01-05 00:11:29 +02:00
Maxim Monastirsky 835556b51a Prefix SvxLineEndWindow members
Change-Id: I0cfe88c65cc75757938a9f8004c219fbe39f88dd
2017-01-05 00:11:29 +02:00
Maxim Monastirsky 9e4ae869f4 Get rid of SvxLineEndWindow resizing
Change-Id: I0135f084f64b9709688f0f9205940baf193c5d83
2017-01-05 00:11:29 +02:00
Maxim Monastirsky 697590be09 Support icon theme change in a floating border control
was unintentionally broken by
64a2dc962c

Change-Id: I3358d8104dd1e2200f84019a2c4c41f1e0019399
2017-01-05 00:11:28 +02:00
Maxim Monastirsky a487e548a0 Use command labels for the color popup title
Change-Id: I2f61e25ef4451775320f8fa1761a951ab94af7d5
2017-01-05 00:11:28 +02:00
Maxim Monastirsky 23a13694a5 tdf#104944 gtk3: Ignore mouse up event if the wrong frame
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-04 22:10:48 +00:00
Zdeněk Crhonek f883b687a1 add UNICODE test case
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-04 21:34:24 +00:00
Zdeněk Crhonek bf3a9d7d69 add PERMUTATIONA test case
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-04 21:33:53 +00:00
Caolán McNamara 59ad262ab9 last bitmaps that pMaskColor arg was used on converted to true transparency
Change-Id: I99bb32355bc53e2c870f84e60fc1e35b9dfe8270
2017-01-04 20:34:55 +00:00
Caolán McNamara f1a8e00764 replace the blue which will be set to transparent, with transparent
Change-Id: I95923685d412145e88b672a50311c767d1425493
2017-01-04 20:34:55 +00:00
Caolán McNamara a3c4f39868 convert these mono versions to png
Change-Id: I93755ac95c170c457b32adac07557ed48ad8beee
2017-01-04 20:34:55 +00:00
Caolán McNamara 4d1cbb7e89 drop unused SplitWindow::ImplDrawButtonRect
Change-Id: I0ccb4adfec39f8717d5921e04809af65be066d0a
2017-01-04 20:34:55 +00:00
Caolán McNamara 8077cc31a0 all users of InsertFromHorizontalBitmap use all args
Change-Id: I458036b084645af509d64a78f5389415dfc4115a
2017-01-04 20:34:55 +00:00
Jan Holesovsky 6106fea591 tdf#81754: Unit test for the loss of text on save of pptx.
The problem itself was fixed by commit
2ad50c9a8c.

Change-Id: Ie7f0781e1f5a4d6c5297882a5f64a68b85558515
2017-01-04 20:58:50 +01:00
pv2k 610bc5aa16 tdf#89932 bullets and numbering position tab level-1
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-04 19:58:36 +00:00
Jaskaran Singh 2d54ffbf18 Enable fetching data from network, not just files available locally
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-04 17:24:41 +00:00
Rosemary Sebastian 0fa23d9b49 replace namespace URL strings with function calls...
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-04 17:23:29 +00:00
Caolán McNamara ebcad1fa79 unused bitmap resources
Change-Id: Ia76b548e993d13c7706ab126109086cbd0717b4c
2017-01-04 16:50:44 +00:00
Caolán McNamara 9e7b0ef950 follow up remove unused autohide leftovers
Change-Id: Ic7281e915075519c300a330557399111838d7d34
2017-01-04 16:50:44 +00:00
Caolán McNamara b4a31534b9 drop AutoHide code
only used from reportdesign and that appears to be overlooked from an earlier
eradication program

Change-Id: I196fd7ccbc909c935daf534d55e6b39de8510f23
2017-01-04 16:50:44 +00:00
Miklos Vajna 4ad249af88 tdf#105093 sd PDF export: handle embedded videos
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-04 16:27:44 +00:00
Michael Stahl 3bacb560c6 sw: more implicit int conversions in SwEndNoteOptionPage
Change-Id: I66033eeff8ebb636d5f55d61102a0f30f3353f85
2017-01-04 17:09:27 +01:00
Huzaifa Iftikhar da7b100184 tdf#97228 Moved class ControlCacheKey in a seperate include file.
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-04 16:02:26 +00:00
Muhammet Kara 4dad0c5b1e Refactor lcl_makeHTMLColorTriplet
- 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-04 15:56:14 +00:00
Muhammet Kara 801e804143 Remove useless cat, and replace backtick
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-04 15:42:08 +00:00
Stephan Bergmann 9389f7bc1c Fix loplugin warnings in sqlflex.l
(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-04 16:26:46 +01:00
Stephan Bergmann 30dd4ac3a8 Fix loplugin warnings in sqlbison.y
(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-04 16:18:13 +01:00
kerem bddfa273ed tdf#90290 use custom asserter in subsequent_export-test.cxx
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-04 15:02:28 +00:00
Michael Stahl f240b1db88 sw: remove the silly casting in SwEndNoteOptionPage
... by fixing the size of SwFootnoteNum so it can be forward declared.

Change-Id: I1a9d32a1ec7e7201de1910407d32020b75fb7342
2017-01-04 15:30:53 +01:00
Justin Luth 15ca006017 tdf#43370 docfnote.cxx: return correct FTNNUM for GetNumbering
way back in 2001 commit a7afc46b37
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-04 14:24:33 +00:00
Takeshi Abe 49f10e92dc starmath: SmGraphicWindow requires non-null pViewShell
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-04 14:00:48 +00:00
Caolán McNamara 01f620676d split SV_RESID_BITMAP_MSGBOX up
Change-Id: I4ebf48e5def5fb31aa7e34b5b6f89b220a27d1a6
2017-01-04 13:45:56 +00:00
Stephan Bergmann 3d0618db2d Clean up ~SwXAutoTextEntry
The "DocShell must be cleared..." comment was a leftover from
2613afee05 "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-04 14:29:26 +01:00
Michael Stahl bde8054e18 gbuild: CppunitTest: export VCL_HIDE_WINDOWS
This currently has no effect and so the CppunitTest_cppcanvas_emfplus
pops up an annoying window.

(regression from 181932b31e)

Change-Id: I26314d98f10f6b39ca1c28821ccd0de6ba2a4358
2017-01-04 14:20:32 +01:00
Gabor Kelemen 6fdbfb4393 Updated core
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-04 13:20:00 +00:00
jan Iversen 87d0251a9e gbuild-to-ide xcode update
Update to isolate module, and have groups for:
   Sources
   Headers
   Targets
   Other files

Change-Id: Id2c48b0e3dae7c943c122e767d391d324e936619
2017-01-04 13:25:35 +01:00
Mark Hung 289d42c8e2 tdf#104085 Replace number format code literal with ooxml enumeration.
Liberals of Number format code (NFC) were no longer recognized
by dmapper after it had been removed in
d30a8ec448.

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-04 12:19:31 +00:00