summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-16use std shared_ptr for sharing ImpBitmapsCaolán McNamara
Change-Id: I1a0360096964f6402bd3631f2b3f34bf9595ebc6 Reviewed-on: https://gerrit.libreoffice.org/22394 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-16Make the document properties dialog resizableSamuel Mehrbrodt
This helps reading document metadata with more than a few characters. Change-Id: Ia9f5bc4a05835ef5512bf6f4a4ec2b2e4274c41d Reviewed-on: https://gerrit.libreoffice.org/22398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-16loplugin:stringconstantStephan Bergmann
Change-Id: Id23a8ff3afa6e96e802d77b02f89ad2289c47460
2016-02-16loplugin:loopvartoosmallStephan Bergmann
Change-Id: Ib5e7b7ffcd1e6421eb08f7b7d4cf16d0353ad6fa
2016-02-16gbuild: add missing commas to fix build with make < 4.0Michael Stahl
(regression from c33fb4828e2fda2648f11614a20ce0172d4af3db) Change-Id: I8d20343401cab13a3b6721d0d3016edaeb7dd898
2016-02-16Missing parenthesisStephan Bergmann
Change-Id: I27aef5d1a0920bb6b9fa9c2204a422b7372fd0cb
2016-02-16loplugin:implicitboolconversionStephan Bergmann
Change-Id: Ib21fe1f18a48246fc38c8c26454c28de2efc699f
2016-02-16tdf#39440: reduce scope of local variablesArnold Dumas
Change-Id: I6ba411d2e07240821518281996d543f71acf3259 Reviewed-on: https://gerrit.libreoffice.org/22378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-16sc lok: Handle left mouse button up events for tiled renderingPranav Kant
This solves two common problems: 1) Allow selections via mouse drag 2) Deselect when clicked inside already selected block of cells Change-Id: I9c1b5f90b6c4dc6155b14c68852d6cad81e2290a Reviewed-on: https://gerrit.libreoffice.org/22391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-02-16-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: I93690dcfefbda9f642b8bbe55b9e2f4f348d446d
2016-02-16Related: tdf#97739 fix gtk3 spinbuttons for recent control region changesCaolán McNamara
Change-Id: Ia745cbe808395c4c9ec6a3c72612814a4834bbcb
2016-02-16coverity#1326425 Dereference null return valueCaolán McNamara
Change-Id: I034a110457d1fa20c392e6660874077def125edd
2016-02-16coverity#1326398 Dereference null return valueCaolán McNamara
Change-Id: I3a33d9a4b90d23c9262fcabcb252b60def4ce585
2016-02-16coverity#coverity#1326173 Explicit null dereferencedCaolán McNamara
Change-Id: Ifecc942dce4cafb1dcd7028fe742f450892564e4
2016-02-16coverity#1327140 UrF: Unread fieldCaolán McNamara
Change-Id: Ide851a6d015a61603b6bff90e52a20d43bf98198
2016-02-16gbuild: yet more substitution for AutoInstallMichael Stahl
Pyuno creates packages with a "/" in the name, so need to escape that too. Since it's getting a bit repetitive facotr out a function to do the escaping. Change-Id: I4481d6a291b384390723a04e3e82615e73edc7eb Reviewed-on: https://gerrit.libreoffice.org/22392 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-16sd lok: add LOK_CALLBACK_PARTS_COUNT_CHANGED callbackHenry Castro
In the tiled rendering case, when a slide is deleted or inserted the sorted slides are updated on client side. However, when .uno:Undo and .uno:Redo actions are requested on client side the sorted slides are required to update all sorted slides. So every time when .uno:InsertPage, .uno:DeletePage, .uno:Undo, .uno:Redo actions are requested, it will notify verbose action (PageInserted, PageDeleted) with index on client side to update the sorted slide index. Change-Id: Iebda2aa11be13aea8fbb6d0cc50442805d7485e9 Reviewed-on: https://gerrit.libreoffice.org/22309 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Henry Castro <hcastro@collabora.com>
2016-02-16tdf#97429: Fix crash on print selected areaXisco Fauli
Regression from 9eb61489ee03486a7147acdf923eaf5e3f355183 Use DelFlyInRange to iterate over nodes' range Change-Id: I219c7ec83eaa69990340d423dc34546131bb372c Reviewed-on: https://gerrit.libreoffice.org/22129 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-02-16use consistent #define checks for the Windows platformNoel Grandin
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-16coverity#1352448 Use of untrusted scalar valueCaolán McNamara
and coverity#1352449 Use of untrusted scalar value I suspect this will fix the warning, given that "Casting narrower unsigned pBuffer[i] to wider signed type short effectively tests its lower bound", so if we pass it though as-is we probably quieten these Change-Id: I2ece08f7301f5d548d905d221e5a6af0da51a2bb
2016-02-16coverity#1327093 UrF: Unread fieldCaolán McNamara
Change-Id: I354f29592e6bd036d9a548c7c2c3a3722c8c9450
2016-02-16tighten up the attribute parsing, and drop some unused slotsNoel Grandin
Change-Id: I6f2ff99c919851b21ce120c40286c133bf65c778
2016-02-16parse shell/interface entries in SvIdlParserNoel Grandin
Change-Id: Ief68b26be0a0890ffdfa02a5904ba9d2cb364c65
2016-02-16coverity#1326200 Explicit null dereferencedCaolán McNamara
Change-Id: I39ed18b55657e375b1c22f97c49a0e43aedce4f5
2016-02-16coverity#1326199 Explicit null dereferencedCaolán McNamara
extensionDb is always the same Change-Id: I57b59f09b3f55757844a6aab6c6698857da2e15b
2016-02-16coverity#1326257 Dereference after null checkCaolán McNamara
Change-Id: I6159d6a9be17ceaffaa3e3a905abf87a8cf434ed
2016-02-16coverity#1326280 Explicit null dereferencedCaolán McNamara
Change-Id: I68b88accb5518292af0b3c3418609c93371bf9cf
2016-02-16coverity#1352645 Uncaught exceptionCaolán McNamara
and coverity#1352646 Uncaught exception coverity#1352647 Uncaught exception Change-Id: Ic96e93d219476eeb458ddab6372368f91bbd0398
2016-02-16Work around CPPUNIT_ASSERT_EQUAL shortcomingsStephan Bergmann
Change-Id: I377c6b6817a432d1e9d740c7d43233f5b98cd2f6
2016-02-16single element access is really slow in mdds, tdf#67071Markus Mohrhard
Change-Id: I5491ba0bc44a9ce8844b31126835671c5d5abcaa Reviewed-on: https://gerrit.libreoffice.org/22386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-16sc lok: Notify LibreOfficeKit of empty selectionPranav Kant
Change-Id: Ib77f2e008473a18460e7783b20ef3237ff885d57 Reviewed-on: https://gerrit.libreoffice.org/22387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-16starmath: Convert RectCopyMBL to scoped enumTakeshi Abe
Change-Id: I44e4f3086f642adccdff8dcf82298e5f4e9cb282 Reviewed-on: https://gerrit.libreoffice.org/22305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-16lok: add desktop terminateHenry Castro
When lokit is destroyed, the Desktop service is still alive. So in order to avoid debug assertion "Desktop disposed before terminating it", terminate to quit application. Change-Id: Id1391cde516915d915e5321799436e92b444e935 Reviewed-on: https://gerrit.libreoffice.org/22359 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-02-16Updated coreOlivier Hallot
Project: help 9f126548f1640b34521037502dc7a1bc0d0d3094 tdf#86866 describe AutoCorrect Options dialog btns In Help, describe AutoCorrect Options "Ok, Cancel, Reset" buttons (all tabs of dialog) Added an embed tag with definition of OK, Cancel and reset buttons Change-Id: Ie0d55a06ebe0a94c965b25d048567b164f1697cc Reviewed-on: https://gerrit.libreoffice.org/22361 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2016-02-16cid#1352648 uninitialized membersMiklos Vajna
Change-Id: I21faf2034c6253226637bfb65deb869d0c4eda07
2016-02-16Updated coreOlivier Hallot
Project: help 8259390d2d978d37dc73e8e2cb0f1fcd0299afdf tdf#95281 Help page for the SKEWP function Write help page for SKEWP spreadsheet function Change-Id: Ib7fc372bc2be4c55663a6ab58f488aa204631d20 Reviewed-on: https://gerrit.libreoffice.org/22322 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2016-02-16Updated coreOlivier Hallot
Project: help e53a0d788c6a34d9375e33adc2e9946e2348ad23 tdf#95282 Help page for the COLOR function Write help page for COLOR spreadsheet functions Change-Id: I2a34cb2b1f25f3d0013a93dff320b70d76a1f4d6 Reviewed-on: https://gerrit.libreoffice.org/22300 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2016-02-16Related: tdf#59699 DOCX import: fix linked graphics with relative URLsMiklos Vajna
Because the writerfilter::ooxml::OOXMLFastContextHandlerShape constructor only sent the input stream (and not the full media descriptor) to oox::shape::ShapeContextHandler, it's startFastElement() tried to reconstruct a media descriptor from just the input stream. As a result, the base URL of the document got lost at the time the oox::drawingml::BlipContext constructor tried to call getAbsoluteUrl(), to convert the relative URL to an absolute one. Fix the problem by sending not only the input stream, but the full media descriptor to the shape importer. As a bonus that makes code simpler, too. Change-Id: I1f06c04d0745aa7e2e06d4848cf454790d5073ca
2016-02-16tdf#97814 make "insert 3D model" dlg translatableDavid Tardon
Change-Id: I45865bdce1957bb4f970e069241e1bb7714b4f4c
2016-02-16Silence loplugin:staticmethodsNoel Grandin
Change-Id: I112dec3253c6eb41dd18bd5cdbcc5a488e4d268c
2016-02-16this "else" looks uselessDavid Tardon
Change-Id: I370973066604fc04201431a67d3752cc63a60e6d
2016-02-16declare variable when using itMarkus Mohrhard
Change-Id: I7df457dfa3f1d36641c577f353a50e03c37cb09b Reviewed-on: https://gerrit.libreoffice.org/22382 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-16update export-validation help messageMarkus Mohrhard
Change-Id: I654151d662d579533f89cbc13af1e10cb8944edf Reviewed-on: https://gerrit.libreoffice.org/22383 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-16vcl: assign nullptr after deletingHenry Castro
In the preinit stage, the VCL initialization is done by the parent process and when the lo_startmain thread de-initialize the VCL, some services are disposed early, and it causes segmentation violation. So it is ensured that pointers to service objetcs is set nullptr after deleting. Change-Id: I65ecfc2d2694a981ec2986988efabdfd28d0cce4
2016-02-15loplugin:nullptrTor Lillqvist
Change-Id: I8dafbf99638fd24828327ce4493bfbbf1b9d2c6d
2016-02-15loplugin:simplifyboolTor Lillqvist
conditional expression of the form '!A ? B : true' (with A of type 'bool' and B of type 'bool') can literally be simplified as 'A || B'. Change-Id: I46bee836425bf1c76def23e30dca9ddd9e791b42
2016-02-15vcl: add isInitVCL, to not initialize twiceHenry Castro
In the preinit stage, the VCL is initialized in the parent process and when the lo_startmain thread is started, the thread initialize VCL again. It is not necessary to initialize twice. Change-Id: I819cf0125afe7760c3f4d91c420d36a3a383902c
2016-02-15loplugin:nullptrTor Lillqvist
Change-Id: I768b45818eaa0138d033bfcf6fd6e94459e44c0b
2016-02-15Re-work cppu::preInitBootstrap()Henry Castro
In the preinit stage, the preInitBootstrap is called to load implementations for each service registered by the service manager. All service requests are: initial Component Context and the process service factory is set. However, some services require that VCL is properly initialized. Change-Id: Ib116e3da172b860f2df4d672f6181b5de0b7e6b2
2016-02-15In loadAllImplementations(), also invoke component factoryHenry Castro
Change-Id: Ie6f6d769b611c8440ddab802545e6bdc482d1476