Commit Graph

14243 Commits

Author SHA1 Message Date
c92ebc8503 Disable spellcheck when LOK is active
It's not useful when viewing, and for editing probably a dedicated
overlay would be better (like the one we have for cursor/selections
already).

Disable for sw/sd explicitly, sc had it disabled implicitly already.

Change-Id: I7134f5d1a1546787c22019e6b1abdc0dd887f888
2015-10-06 12:05:14 +02:00
7e776c0027 loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 10:17:02 +02:00
89d39bc100 tdf#94559: 4th step to remove rtti.hxx
replaced use of PTR_CAST, IS_TYPE, ISA in
    idl, editeng, sc, sd, sw, sfx2, sot, starmath

Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653
Reviewed-on: https://gerrit.libreoffice.org/19132
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-06 07:29:37 +00:00
b1a6a99b9a presenter console: add 'Restart Timer' button
Use case is that the presentation is started a few minutes in advance,
so the audience can check if they are at the correct room, seeing the
title side. Then previously the presentation had to be stopped and
started again, so the presenter had an idea how much time the talk took
so far. The side effect of this workaround was that the audience saw a
short flash while the presentation was not running.

Fix this by adding a button to just restart the timer, then it's not
needed to stop/start the presentation manually.

The two icons are just placeholders for now, real design is still
needed.

Change-Id: Id67e7e53a339ea5672dfb1c261f63d43466e9eff
2015-10-06 07:47:54 +02:00
c90c08a65c LOK: added the button type and key modifier to postMouseEvent()
To get a better functionality we need to know the button type (left,
right, middle). We also need the key modifier (ctrl, alt, shift) for
actions such as ctrl+click (to open a link) or shift+click to select

Change-Id: Iaccb93b276f8a6870dd41cc5132dbb85d2bbf71b
2015-10-05 15:02:36 +03:00
474228f891 sd tiled rendering: default to transparent background outside slide area
Change-Id: Ic9023640c34c3d7efd00e2eb0894ed4d01109d8d
2015-10-02 15:01:52 +02:00
0c72dc03a9 -Werror,-Wunused-private-field
Change-Id: I1bbf4ee7c67d40ffc7b289e0d75e4aed224067ec
2015-10-02 10:16:43 +02:00
d4b43fa1e1 Fix building sd remotecontroll code
...after d68a0fc050ea4d57e15246f8e71781cd42ebdaa1 "loplugin:unusedmethods"

Change-Id: If167025b7892738cbbbefd5fe4966a5e6aee57f3
2015-10-02 09:57:26 +02:00
e1c7fd1630 -Werror,-Wunused-private-field
Change-Id: Ia06d96d373888ce45508814c9752d09117e55d10
2015-10-02 09:32:06 +02:00
d68a0fc050 loplugin:unusedmethods
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c
Reviewed-on: https://gerrit.libreoffice.org/19072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-02 06:20:35 +00:00
45576ea3b3 Impress: set current page Id before showing the new page
For tiled rendering this has the effect of not invalidating the
previous slide when switching slides. After switching slides, an
invalidation occurs caused by showing the new slide, and calling
'GetPart' before 'SwitchPage' finishes returned the old part number.

Change-Id: I1cafd0e51cd39be3a80d0559ae3051238b8df744
Reviewed-on: https://gerrit.libreoffice.org/17562
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01 14:40:40 +00:00
a8a812997f tdf#92341 Make Autocorrect entry actually work
Change-Id: I83e028428933e2153b639ca6b34fd69db88fb53f
2015-10-01 14:55:05 +02:00
2135b4a88d tdf#93587: insert table in draw ole object
Don't disable "Insert table" option in case of Ole object

Change-Id: Ibe87d35db320f4a9d5c971e3f7b25199fcacbde4
Reviewed-on: https://gerrit.libreoffice.org/18897
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-10-01 09:21:29 +00:00
ed25a000ab implement save slide background for impress
to go along with the existing "set background",
same sort of thing as the competitor's effort

Change-Id: I2a1106771ead2cd926f3d631850447499340697c
2015-09-30 13:35:44 +01:00
e90848edfd Fix typos
Change-Id: Ib96bf8adc3f94fa0b8b306d2a609dd2eea940dd1
Reviewed-on: https://gerrit.libreoffice.org/18974
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:21:25 +00:00
5566a469c8 Fix typos
Change-Id: Ic205d774251cd5657cc5ba66ab548935aeaf1eb5
Reviewed-on: https://gerrit.libreoffice.org/18973
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:18:52 +00:00
185f207ef1 Fix typos
Change-Id: I3ea8a90f0ec917b4e26335fcd31a5f7e0888589e
Reviewed-on: https://gerrit.libreoffice.org/18972
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 06:30:53 +00:00
c50eb68af3 Renamed wrongly prefixed boolean variables
Fixed tdf#94269

Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29 18:33:40 +00:00
34180700b2 loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
46c4be15d7 boost->std
Change-Id: I26a4ac92e05f4c6ee46f32acb59fcd39d7dc2ac4
Reviewed-on: https://gerrit.libreoffice.org/18890
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-29 12:37:30 +00:00
7aa6009a7f Take care of ~ViewShellBase -> ~FormShellManager -> ViewShellBase::...
...ViewShellBase::GetEventMultiplexer call sequence, where

  OSL_ASSERT(mpImpl->mpEventMultiplexer.get()!=NULL);

would call on an already stale ViewShellBase::mpImpl if ~FromShellManager were
only called from within ViewShellBase::~Implementation instead of directly from
~ViewShellBase.

(Needed to unbreak <https://gerrit.libreoffice.org/#/c/18890> "boost->std" on
Mac OS X, where libc++ presumably nulls a std::unique_ptr early in ~unique_ptr.)

Change-Id: I179e0d12cc049f33b5724673b65f84d7f7c3d059
2015-09-29 14:36:14 +02:00
d5b87dcce1 Return std::unique_ptr from SvTreeListBox::CreateContextMenu
Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a
2015-09-28 13:07:03 +02:00
6a9f985ea6 sd tiled rendering: avoid passing explicit 0 vcl::Window
Seen as dereferenced in svx for Impress table handling, and doing some
logic <-> pixel conversion -- and mpActiveWindow not being 0 in that
case.

Change-Id: I7f7c41a7d366704f6f8b9a7971f763c6661c8799
2015-09-28 09:26:39 +02:00
5c26f79467 cppcheck: noExplicitConstructor
Change-Id: Ibb94d40706fced3c1c053fd58ef4e2af2d849587
2015-09-27 21:05:19 +01:00
b4972afaa5 boost->std
Change-Id: Icb81f72c5eaeb728603d8595d22bf18c8e97d7d0
Reviewed-on: https://gerrit.libreoffice.org/18884
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-26 20:55:36 +00:00
f18e14b773 boost->std
Change-Id: I61dac3065a4e80c89e9e136ad1e8e15bc88a8a45
Reviewed-on: https://gerrit.libreoffice.org/18885
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-26 20:18:26 +00:00
6dbc69bdf4 boost->std
Change-Id: I329aabf1621b91756cd277bd0c56a2988c9ad1c0
Reviewed-on: https://gerrit.libreoffice.org/18872
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-26 19:05:34 +00:00
01b003c47b boost->std
Change-Id: I17a517e5063aebd7d20864104b4b24a5fd05612b
Reviewed-on: https://gerrit.libreoffice.org/18883
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-26 15:23:20 +00:00
82630bda21 boost->std
Change-Id: I2c919e8bd17d16d1924524a18d2056daae8ef750
Reviewed-on: https://gerrit.libreoffice.org/18882
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-26 12:35:13 +00:00
e31da9fc2f boost->std
Change-Id: I1696c0982533b9c1ccf66e8a729feeddd3c8d5df
Reviewed-on: https://gerrit.libreoffice.org/18871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-26 09:59:41 +00:00
e2c7ef0603 making alt-x code consistent
Recent reviewer's comments apply to previously committed code. Made
the changes and tested each module.

Change-Id: Id67ff103797f18cf233f728b8f93a7747a42e02f
Reviewed-on: https://gerrit.libreoffice.org/18713
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-26 05:50:19 +00:00
e678a8d8e5 boost->std
Change-Id: If0ca026bd63a921d4f258586231455aacee23b1f
Reviewed-on: https://gerrit.libreoffice.org/18870
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 21:09:26 +00:00
f8a7c031f1 convert Link<> to typed
Change-Id: Ic39135b39f1389fdf94fb16746100209ee63f492
Reviewed-on: https://gerrit.libreoffice.org/18856
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25 18:21:31 +00:00
51b2ad378a convert Link<> to typed
Change-Id: I9a85b8d6557490775c3d8482ac49bd27c51b6c8a
Reviewed-on: https://gerrit.libreoffice.org/18853
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25 18:19:12 +00:00
a8200ce3ef sd/source/ui/tools boost->std
Change-Id: I55f821dd9c2131cfbd8e2cb7838513a6bcb4b97d
Reviewed-on: https://gerrit.libreoffice.org/18869
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 17:39:46 +00:00
7de2777bff sd/source/ui/func boost->std
Change-Id: I67874a8bad1549fd98e22a816d9fa52a17629a1e
Reviewed-on: https://gerrit.libreoffice.org/18850
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 15:13:45 +00:00
867256a4ff sd/source/ui/annotations boost->std
Change-Id: I96c486bec0cadce68f2d9f90bd61b672a52037ac
Reviewed-on: https://gerrit.libreoffice.org/18847
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 15:12:40 +00:00
72d082a6f0 sd/source/ui/slidesorter boost->std
Change-Id: I67083a8ff1f3b880b658a9962db5921969b931f8
Reviewed-on: https://gerrit.libreoffice.org/18839
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 10:22:26 +00:00
9a85fea237 sd/source/ui/sidebar std->boost
Change-Id: Ia147e1720b1e83ccf0d382ff0020e49f34ce9d21
Reviewed-on: https://gerrit.libreoffice.org/18836
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 08:52:03 +00:00
4266cd1965 sd/source/filter boost::scoped_ptr->std::unique_ptr
Change-Id: I335ff685def480933d846657df81f28242059c18
Reviewed-on: https://gerrit.libreoffice.org/18823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 06:14:11 +00:00
835dacd27d sd/source/ui/app boost->std
Change-Id: I08af815e1bec9cfbe5cac191de720a075391c43a
Reviewed-on: https://gerrit.libreoffice.org/18835
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-25 06:13:47 +00:00
4b16c89f06 sd/source/ui/framework boost::scoped_ptr->std::unique_ptr
Change-Id: I37e8c596d7afc3f7d0461b40e596dea45e9470a4
Reviewed-on: https://gerrit.libreoffice.org/18824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-24 23:35:17 +00:00
b71ba617e5 sd/source/ui/inc boost::scoped_ptr->std::unique_ptr
Change-Id: Icf32ccd437c97dfa0ac3a569a3f2ec2b746ac300
Reviewed-on: https://gerrit.libreoffice.org/18822
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-24 16:54:36 +00:00
e85b2333bc convert Link<> to typed
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b
Reviewed-on: https://gerrit.libreoffice.org/18825
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-24 16:19:37 +00:00
177ea7a281 boost::shared_ptr->std::shared_ptr
Change-Id: I2c6ac98f0984534894759cfbf4449eb554801cf8
Reviewed-on: https://gerrit.libreoffice.org/18678
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-23 11:19:17 +00:00
43f7445e48 remove undefined and unused method
Change-Id: Ifd69332a4afe80624dfb2a2d09221746b951cba9
Reviewed-on: https://gerrit.libreoffice.org/18779
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22 18:58:25 +00:00
6f4a024b88 convert Link<> to typed
Change-Id: I6f17e073c50e28f40e3df4e557a63f0bcdc502de
Reviewed-on: https://gerrit.libreoffice.org/18778
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22 18:58:02 +00:00
3e6bd83cb5 remove unused Link<> field
Change-Id: I0ca782c355933da740920e0368ffddeb0dc413a9
Reviewed-on: https://gerrit.libreoffice.org/18777
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22 18:57:37 +00:00
a19f981ea1 convert Link<> to typed
Change-Id: I684a72cc3eeff0caf27132ff641f0d3b20ff7c08
Reviewed-on: https://gerrit.libreoffice.org/18770
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22 18:54:52 +00:00
c439d55042 remove unused Link<> field
Change-Id: If6c5719adf5240e12e798f72b25c5c19a09bc0f6
Reviewed-on: https://gerrit.libreoffice.org/18769
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22 18:49:07 +00:00