summaryrefslogtreecommitdiffstats
path: root/sd
Commit message (Collapse)AuthorAgeFilesLines
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-1226-32/+32
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fix build on older compilersNoel Grandin2014-11-121-2/+2
| | | | | | caused by my commit 750cb51 "loplugin: cstylecast" Change-Id: I688a976d17aebc7a41119e57441076fcf5023ded
* loplugin: cstylecastNoel Grandin2014-11-1215-195/+195
| | | | Change-Id: Ieffa7ae199b42545d307fba661ce205573cf4b41
* Remove unused #includeStephan Bergmann2014-11-111-1/+0
| | | | Change-Id: Ia79cdfbe8b1e065f84a30aa74500de3f1115c595
* strip off hard-coded numbering from outliner preview on loadCaolán McNamara2014-11-111-1/+14
| | | | | | | | | | | | | | | how to reproduce an outline which won't update wrt the numbering style file->new->presentation view->master->slide master select first entry of outliner, i.e. "Click to edit the outline text format" make it underlined, save, reload view->master->slide master now use bullet and numbering set level 1 to e.g. none, ok nothing happens to the outliner. It remains "stuck" with its default numbering Change-Id: I95708b1f1c9cc74ae5129dbfad8ca0d37b00fa13
* have a stab at improving impossible questionCaolán McNamara2014-11-111-1/+1
| | | | | | as to whether you want to "adapt" objects or not Change-Id: Ic4c00be480d1be632d84dfac71fe911d48eacc51
* callcatcher: dropping SwChapterNumRules binary Load/Store has knock-on effectCaolán McNamara2014-11-113-5/+0
| | | | Change-Id: I2567026af23dd5fc42812b90bd6098c4c74a4f92
* fdo#84909 adding and hiding buttons in standard and common task toolbarsYousuf Philips2014-11-113-12/+20
| | | | | | | Change-Id: I6690f94fe4a41bb48110ef890301423f7c4328db Reviewed-on: https://gerrit.libreoffice.org/12359 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* fdo#86035 added menu items for shapes and text box and did small rearrangementYousuf Philips2014-11-112-4/+8
| | | | | | | Change-Id: If37446116dc4022d88e46af1af610bc70ce7db78 Reviewed-on: https://gerrit.libreoffice.org/12327 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Standardizing the draw standard toolbar with other app standard toolbarsYousuf Philips2014-11-111-6/+8
| | | | | | | Change-Id: I4d7eec2b255cc9e74b41be63eb321ef589aca230 Reviewed-on: https://gerrit.libreoffice.org/12360 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* iwyu: remove unneeded includes in sc, sd, swRiccardo Magliocchetti2014-11-113-3/+0
| | | | | | | | | | Remove only include for files where iwyu does not suggest any includes to add. Change-Id: I58f3e956485ce058750c2635db9633736708d7f0 Reviewed-on: https://gerrit.libreoffice.org/12342 Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* fdo#84938: replace HELPMODE_ constants with enumNoel Grandin2014-11-111-1/+1
| | | | | | | Change-Id: I44be5567e84cdabd8b10771ea37e28b8a88cc23e Reviewed-on: https://gerrit.libreoffice.org/12333 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin: cstylecastNoel Grandin2014-11-1033-245/+245
| | | | Change-Id: I9d3f642239bc5c7a52611b9c27fd0291940c7483
* loplugin: cstylecastNoel Grandin2014-11-1047-232/+231
| | | | Change-Id: I7b438934a13a6e42ef80084c709460b2a01b26c9
* loplugin: cstylecastNoel Grandin2014-11-101-14/+14
| | | | Change-Id: Ic4eca519c5ba8662b29901f196ecfd6e0aa776e2
* fix spelling implemenation -> implementationNoel Grandin2014-11-101-1/+1
| | | | Change-Id: I5ac499df1f4063a80a5d41f60778106a7b96940d
* fdo#86050 Let LibreOffice add scrollbars to widgets only when necessaryAdolfo Jayme Barrientos2014-11-092-2/+0
| | | | | | | Change-Id: I1a930a413c071d4d0c8855315dc85339e01b7d9b Reviewed-on: https://gerrit.libreoffice.org/12322 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* fdo#85804 Introduce bullets and numbering popupsMaxim Monastirsky2014-11-092-2/+2
| | | | Change-Id: I39ea402a3ce3296f55ea127b0139e89954e41252
* coverity#1251173 Dereference before null checkCaolán McNamara2014-11-071-1/+1
| | | | Change-Id: I2e7f98f6b2df5f87be546606f86fd29202050d87
* Resolves: rhbz#1161238 sync PRESOBJ_OUTLINE para depths to outline numberingCaolán McNamara2014-11-071-0/+48
| | | | | | | | | | | | same problem as fdo#78151, except that pre-existing documents created before the bullet/numbering toggling UI change have PRESOBJ_OUTLINEs with paras in them with "numbering off" but the outline level they are a preview of still have numbering enabled. Leave the actual numbering styles alone in this case and toggle the PRESOBJ_OUTLINEs paras back to the level they "really" are Change-Id: I76508f88b5003afd1740feee3ec328326117f896
* Use SAL_N_ELEMENTSZolnai Tamás2014-11-071-1/+1
| | | | Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
* Build fix againZolnai Tamás2014-11-071-1/+1
| | | | Change-Id: Ia3ddea84b022a34709b6be14afb105bedeef0553
* Build fix: back to C++98Zolnai Tamás2014-11-071-4/+4
| | | | Change-Id: I5aa74c17f3274a130f76a25fc7bbb184b3f5c69b
* fdo#84938: replace MOUSE_ modifier constants with enumNoel Grandin2014-11-074-9/+17
| | | | | | | | and make the two categories of constants non-overlapping, we really don't need to risk confusion in order to save 6 bits in a data structure like this. Change-Id: I2251195d8e45ed04e2a89e47ae9c3e52cf0475c0
* Make these tests weaker to fix build.Zolnai Tamás2014-11-071-2/+2
| | | | | | Image loss indicator is the "empty" URL. Change-Id: I0f8b037dc23bae3d7342d73cfafa4ecc55090ab6
* Make SdrGrafObj swapping methods private.Zolnai Tamás2014-11-074-13/+33
| | | | | | | | Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
* Test for swapped out image loss during Impress exportZolnai Tamás2014-11-072-0/+70
| | | | | | | | | Related to the bug fdo#52226. The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Impress formats: ODP, PPT, PPTX Change-Id: I97ba98d0eb05ef2c1de3fbeaa527bc9f6f54d742
* Do not check a referenceZolnai Tamás2014-11-074-7/+7
| | | | Change-Id: I5baac12f97ea7fa36293844331ca548b7bc2cdfd
* fdo#84380 Remove repeated mouse handling codeVictor Portella2014-11-062-100/+65
| | | | | | | Change-Id: I93d42ad234c4be20a4af0a2d68246699c6653105 Reviewed-on: https://gerrit.libreoffice.org/12270 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Revert "use the new OUString::fromUtf8 method"Stephan Bergmann2014-11-065-7/+8
| | | | | | | | This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
* implement toggling off removeable master elements with direct deleteCaolán McNamara2014-11-061-3/+39
| | | | | | | i.e. selecting footers/headers/slidenumber/datetime previes placeholders in master page view and pressing delete will toggle those master elements off. Change-Id: I91f745703e43cbb4fdd037da4eab7c8f6bf9fbf5
* refactor delete code into FuDeleteSelectedObjectsCaolán McNamara2014-11-062-15/+24
| | | | Change-Id: If6929dfae5e284b1201da5505b9c4e5abceedc6d
* refactor MasterLayoutDialog::remove to SdPage::DestroyDefaultPresObjCaolán McNamara2014-11-063-15/+23
| | | | Change-Id: If4edb16b2e94396249f3e2ba99381fcd8341d790
* use the new OUString::fromUtf8 methodNoel Grandin2014-11-065-8/+7
| | | | Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
* Bin unused include files, thanks to Andrea GelminiTor Lillqvist2014-11-068-1032/+0
| | | | Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
* sd: fix STL assertion "dereference past-the-end iterator"Michael Stahl2014-11-051-1/+2
| | | | | | (regression from 967a386bccb15b99915a1e878e42450fbe9a2d0e) Change-Id: I9408170eb155f433922e5b3887059078a141d78a
* Fix for SUSE L3 bug 624546 (freedesktop 83733)Marco Cecchetti2014-11-054-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When I'm in outline mode, if I select a slide in the left slide preview pane, ctrl-c, then select another slide I would like it after and hit ctrl-v; it refuses to cut/paste. Analysis: This issue is due to the fact that the outline view always grabs focus when activated and a view is activated whenever is pushed to the sfx shell stack even if it is not the new top-most active view shell (see `ViewShellManager`, `SfxViewShell`, `SfxDispacther`). Solution: Make the `OutlineViewShell` grabs focus only if it is the top-most active view shell. Rationale: When `OutlineViewShell::Activate` is invoked, instead of removing the focus grabbing action completely, we check if the `OutlineViewShell` instance is the the top-most view shell and perform the focus grabbing action only in such a case. This change required to have also the `DrawViewShell` grabbing focus on activation (only when it is the top-most view shell). In order to implement this solution I needed to add a new method (and data member) to the `ViewShellManager` class. I named it `GetTopViewShell`. This method returns a pointer to the top-most active view shell of the internal stack. The returned pointer is updated in the `UpdateShellStack` method, before the sfx shell stack is updated. For more details see : https://gist.github.com/mcecchetti/15b3ebc505d6582ea0db Change-Id: I619a406864f50f0e62dee3fcb9ac5d46e3d48272
* callcatcher: update unused codeCaolán McNamara2014-11-052-23/+0
| | | | Change-Id: I792c007541d4d703f17c8cdcd2d441ca505acc52
* coverity#736461 Resource leakCaolán McNamara2014-11-051-1/+2
| | | | Change-Id: I38351eecce12effb61d69439b67062b43344d541
* fdo#85809 - MENU: Rearranging the Insert > Media submenuYousuf Philips2014-11-052-5/+5
| | | | | | | Change-Id: I34f753904a232a7b338736eee60f9bc225cd8f7f Reviewed-on: https://gerrit.libreoffice.org/12226 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* fdo#85813 drawingML export: fix handling of impress tablesMiklos Vajna2014-11-052-0/+11
| | | | Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
* Register ParaLineSpacingPopup in sc and sdMaxim Monastirsky2014-11-051-0/+2
| | | | | | The Sidebar Paragraph panel is used there for text boxes. Change-Id: Icff81d50c0341f02d29e36d0c3b99478a872a48f
* fdo#38835 strip out OUString globalsNoel Grandin2014-11-056-23/+20
| | | | | | | they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
* remotecontrol: required version for MacOSX is 10.8Riccardo Magliocchetti2014-11-041-1/+1
| | | | | | | Change-Id: I11b64b79de90d776fd117aa687c971ed80172b76 Reviewed-on: https://gerrit.libreoffice.org/12245 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* fdo#85620 - Changing the label 'Gallery' and having it in the insert menuYousuf Philips2014-11-032-2/+4
| | | | | | | Change-Id: I4deaef9a942b82566bc7dcdc65f2a84441045f91 Reviewed-on: https://gerrit.libreoffice.org/12167 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* fdo#84938: replace MIB_ constants with enumNoel Grandin2014-11-011-1/+1
| | | | | | | Change-Id: I58c1b4c9e4c4b3751b233d2fe10b9c953b945c4a Reviewed-on: https://gerrit.libreoffice.org/12179 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Removed duplicated includesAndrea Gelmini2014-10-313-4/+0
| | | | | | | Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* convert COMMAND_WHEEL constants to an enumNoel Grandin2014-10-312-2/+2
| | | | Change-Id: I413d821a984ab556bd19c52704c04de6d828f699
* KEY_ALLMOD is the same as KEY_MODNoel Grandin2014-10-311-2/+2
| | | | | | so just dump it Change-Id: I006045aea345e84ff1944fc1ed1daa94bd7bca61
* Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini2014-10-302-2/+2
| | | | | | | | Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>