summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini26-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>
2014-11-12fix build on older compilersNoel Grandin1-2/+2
caused by my commit 750cb51 "loplugin: cstylecast" Change-Id: I688a976d17aebc7a41119e57441076fcf5023ded
2014-11-12loplugin: cstylecastNoel Grandin15-195/+195
Change-Id: Ieffa7ae199b42545d307fba661ce205573cf4b41
2014-11-11Remove unused #includeStephan Bergmann1-1/+0
Change-Id: Ia79cdfbe8b1e065f84a30aa74500de3f1115c595
2014-11-11strip off hard-coded numbering from outliner preview on loadCaolán McNamara1-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
2014-11-11have a stab at improving impossible questionCaolán McNamara1-1/+1
as to whether you want to "adapt" objects or not Change-Id: Ic4c00be480d1be632d84dfac71fe911d48eacc51
2014-11-11callcatcher: dropping SwChapterNumRules binary Load/Store has knock-on effectCaolán McNamara3-5/+0
Change-Id: I2567026af23dd5fc42812b90bd6098c4c74a4f92
2014-11-11fdo#84909 adding and hiding buttons in standard and common task toolbarsYousuf Philips3-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>
2014-11-11fdo#86035 added menu items for shapes and text box and did small rearrangementYousuf Philips2-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>
2014-11-11Standardizing the draw standard toolbar with other app standard toolbarsYousuf Philips1-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>
2014-11-11iwyu: remove unneeded includes in sc, sd, swRiccardo Magliocchetti3-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>
2014-11-11fdo#84938: replace HELPMODE_ constants with enumNoel Grandin1-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>
2014-11-10loplugin: cstylecastNoel Grandin33-245/+245
Change-Id: I9d3f642239bc5c7a52611b9c27fd0291940c7483
2014-11-10loplugin: cstylecastNoel Grandin47-232/+231
Change-Id: I7b438934a13a6e42ef80084c709460b2a01b26c9
2014-11-10loplugin: cstylecastNoel Grandin1-14/+14
Change-Id: Ic4eca519c5ba8662b29901f196ecfd6e0aa776e2
2014-11-10fix spelling implemenation -> implementationNoel Grandin1-1/+1
Change-Id: I5ac499df1f4063a80a5d41f60778106a7b96940d
2014-11-09fdo#86050 Let LibreOffice add scrollbars to widgets only when necessaryAdolfo Jayme Barrientos2-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>
2014-11-09fdo#85804 Introduce bullets and numbering popupsMaxim Monastirsky2-2/+2
Change-Id: I39ea402a3ce3296f55ea127b0139e89954e41252
2014-11-07coverity#1251173 Dereference before null checkCaolán McNamara1-1/+1
Change-Id: I2e7f98f6b2df5f87be546606f86fd29202050d87
2014-11-07Resolves: rhbz#1161238 sync PRESOBJ_OUTLINE para depths to outline numberingCaolán McNamara1-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
2014-11-07Use SAL_N_ELEMENTSZolnai Tamás1-1/+1
Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
2014-11-07Build fix againZolnai Tamás1-1/+1
Change-Id: Ia3ddea84b022a34709b6be14afb105bedeef0553
2014-11-07Build fix: back to C++98Zolnai Tamás1-4/+4
Change-Id: I5aa74c17f3274a130f76a25fc7bbb184b3f5c69b
2014-11-07fdo#84938: replace MOUSE_ modifier constants with enumNoel Grandin4-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
2014-11-07Make these tests weaker to fix build.Zolnai Tamás1-2/+2
Image loss indicator is the "empty" URL. Change-Id: I0f8b037dc23bae3d7342d73cfafa4ecc55090ab6
2014-11-07Make SdrGrafObj swapping methods private.Zolnai Tamás4-13/+33
Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
2014-11-07Test for swapped out image loss during Impress exportZolnai Tamás2-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
2014-11-07Do not check a referenceZolnai Tamás4-7/+7
Change-Id: I5baac12f97ea7fa36293844331ca548b7bc2cdfd
2014-11-06fdo#84380 Remove repeated mouse handling codeVictor Portella2-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>
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann5-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).
2014-11-06implement toggling off removeable master elements with direct deleteCaolán McNamara1-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
2014-11-06refactor delete code into FuDeleteSelectedObjectsCaolán McNamara2-15/+24
Change-Id: If6929dfae5e284b1201da5505b9c4e5abceedc6d
2014-11-06refactor MasterLayoutDialog::remove to SdPage::DestroyDefaultPresObjCaolán McNamara3-15/+23
Change-Id: If4edb16b2e94396249f3e2ba99381fcd8341d790
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin5-8/+7
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-06Bin unused include files, thanks to Andrea GelminiTor Lillqvist8-1032/+0
Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
2014-11-05sd: fix STL assertion "dereference past-the-end iterator"Michael Stahl1-1/+2
(regression from 967a386bccb15b99915a1e878e42450fbe9a2d0e) Change-Id: I9408170eb155f433922e5b3887059078a141d78a
2014-11-05Fix for SUSE L3 bug 624546 (freedesktop 83733)Marco Cecchetti4-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
2014-11-05callcatcher: update unused codeCaolán McNamara2-23/+0
Change-Id: I792c007541d4d703f17c8cdcd2d441ca505acc52
2014-11-05coverity#736461 Resource leakCaolán McNamara1-1/+2
Change-Id: I38351eecce12effb61d69439b67062b43344d541
2014-11-05fdo#85809 - MENU: Rearranging the Insert > Media submenuYousuf Philips2-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>
2014-11-05fdo#85813 drawingML export: fix handling of impress tablesMiklos Vajna2-0/+11
Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
2014-11-05Register ParaLineSpacingPopup in sc and sdMaxim Monastirsky1-0/+2
The Sidebar Paragraph panel is used there for text boxes. Change-Id: Icff81d50c0341f02d29e36d0c3b99478a872a48f
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin6-23/+20
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-11-04remotecontrol: required version for MacOSX is 10.8Riccardo Magliocchetti1-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>
2014-11-03fdo#85620 - Changing the label 'Gallery' and having it in the insert menuYousuf Philips2-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>
2014-11-01fdo#84938: replace MIB_ constants with enumNoel Grandin1-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>
2014-10-31Removed duplicated includesAndrea Gelmini3-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>
2014-10-31convert COMMAND_WHEEL constants to an enumNoel Grandin2-2/+2
Change-Id: I413d821a984ab556bd19c52704c04de6d828f699
2014-10-31KEY_ALLMOD is the same as KEY_MODNoel Grandin1-2/+2
so just dump it Change-Id: I006045aea345e84ff1944fc1ed1daa94bd7bca61
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini2-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>