399585 Commits

Author SHA1 Message Date
Michael Stahl
8eec78d3fb xmloff: print a warning if we drop a style on the floor
Turns out we do not support section styles.

Change-Id: I2858c639c1c9743f53836548b4c73645fa32d87b
2016-11-11 21:35:19 +01:00
Michael Stahl
33a32bb1e1 sc: OUString cleanup
Change-Id: I2fcd14adaa20d2692beb12ffd0b40b1a47538fbc
2016-11-11 21:35:19 +01:00
Olivier Hallot
78d1567437 Updated core
Project: help  383f9c4105ba03f86aa722b4881e7f690e017baa

Cleanups and debug info for online help

Add display of help page filename on top right
Normalize media files (part)

Change-Id: Ib6123efde1113adeb1470565a036e605a9d82b7e
Reviewed-on: https://gerrit.libreoffice.org/30765
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-11 19:49:00 +00:00
Abhilash Singh
453de3473c tdf#46200 Use the Scroll Lock key as a toggling lock key like Excel
Change-Id: I153522a90674f3f3c4db4ff300ef5cf4075704e3
Reviewed-on: https://gerrit.libreoffice.org/30117
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-11-11 19:35:45 +00:00
Khaled Hosny
553cfda502 tdf#103871: Set Kashida flag per glyph
When we are shaping mixed script text, the Kashida flag would be set
based on which script come last, which makes no sense of course.

I just left an XXX note yesterday, and I hit the bug today already
in a friend’s document!

Change-Id: Ic996fd886f30f4385185eccd214b5648f7248262
2016-11-11 19:43:09 +02:00
Khaled Hosny
8d8f31d38f FALLBACK_MASK flag is unused
Use also sensible values for the rest.

Change-Id: Ia772746cffe8c1e6d9d4aa4051b7b9df6d2e7ac8
2016-11-11 19:43:09 +02:00
Caolán McNamara
8909cbeb31 coverity#1371239 Missing move assignment operator
Change-Id: Ie5cddac8b4b0c8eefee82a14c845982600df0455
2016-11-11 17:03:11 +00:00
Caolán McNamara
5abd8d2eee coverity#1371263 Missing move assignment operator
Change-Id: Ifb4117afac4aa86893e674a581e1a7bb80925ee3
2016-11-11 17:03:11 +00:00
Caolán McNamara
f731296e0c check for self-assignment
Change-Id: I74eb934d19c0b511870e5a675917ca4baaf768cc
2016-11-11 17:03:11 +00:00
Caolán McNamara
4a862a6a01 make it more typical copy ctor
Change-Id: I0367e24b966a5bcc0d4838022ae12054e097270e
2016-11-11 17:03:10 +00:00
Caolán McNamara
d5233a94fd seems dubious to copy the state, but drop the load again bit
if the assigned-to item had loaded its original content, but the assigned-from
item hadn't, then surely the assigned-to item will never load the new content.

if the assigned-to item hadn't loaded its original content, but the
assigned-from had, then why load it again

Change-Id: I68c2cf2682a517e7e630ab6cbc637b35a2b9c7aa
Reviewed-on: https://gerrit.libreoffice.org/30781
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-11-11 17:02:38 +00:00
Khaled Hosny
c49d5dea16 tdf#103765: Minimize the effect of rounding to int
Instead of scaling the relative coordinates and accumulating rounding
errors, scale the absolute coordinates. Also round to int instead of
truncating.

Change-Id: Ida0b4092685e898b7c5b5c07e923e386ffde8bcd
2016-11-11 18:26:20 +02:00
Caolán McNamara
d34572d39d these are going to get overwritten immediately
Change-Id: I065ae2aa2dead0679d05f080124ed54c27f0d68f
2016-11-11 16:21:48 +00:00
Caolán McNamara
763c47724d make this operator= a little less crazy
if SetGraphicPos was called with GPOS_NONE then
xGraphicObject, maStrLink and maStrFilter are
in a suitable state to copy to get the same
results as explicitly forced here

Change-Id: Id072590e92e0c083a3cbc443db0e85d9dbfa73f0
Reviewed-on: https://gerrit.libreoffice.org/30780
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-11-11 16:13:31 +00:00
Andras Timar
0220020a62 new release of Graphite lib: 1.3.9
Change-Id: I4e9a7ebf323848a03e02da3e9ed39377d1df6715
Reviewed-on: https://gerrit.libreoffice.org/30771
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-11-11 16:11:03 +00:00
Samuel Mehrbrodt
f908ec9c22 tdf#98059 Don't replace existing objects when inserting media
Change-Id: I849e6801a20fcd3fb10482854e56923f99060f04
Reviewed-on: https://gerrit.libreoffice.org/30776
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-11 15:42:02 +00:00
Michael Meeks
99316fc0c8 tdf#103632 - sc: OOB sort fields unit test.
Change-Id: I6734d51c8f9c4ca5a01c3e54a71f83ba15db508d
Reviewed-on: https://gerrit.libreoffice.org/30761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-11-11 15:41:33 +00:00
Michael Meeks
b8fa4d1b2d tdf#103632 - sc: tolerate OOB sort fields from UNO API.
Change-Id: Ie04b4281947a05572672838b3b4b5c6173d8fa0b
Reviewed-on: https://gerrit.libreoffice.org/30576
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-11-11 15:41:24 +00:00
Caolán McNamara
7c0bc67279 why have a pimpl with somethings in it and somethings not
Change-Id: I6151defcd9dddf4582ecf8d5952f6f8a825c545a
2016-11-11 15:19:51 +00:00
Caolán McNamara
bc09385ce2 the pStream member makes no sense at all
maybe the PurgeMedia call in sw was meant to be a PurgeGraphic
call originally

(PurgeGraphic since removed by...
commit a22ac2c218870033822120bf0b0d6cfde6ce799f
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Thu Jul 14 22:06:29 2011 +0100

    callcatcher: remove unused methods)

PurgeMedia releasing the stream makes no difference to the only place its used
which is SvxBrushItem::GetGraphicObject which makes a new one every time
anyway.

the SvxBrushItem assignment operator doesn't change the stream
member of the pImpl which looks utterly nuts, so its a good thing
the stream is not reused

Change-Id: Ie0dee22a6640a6916908fcddbc3541ba85034217
2016-11-11 14:47:40 +00:00
Caolán McNamara
af92221020 this looks like a leak to me
Change-Id: Id72d770ec55d6e627a81cc9590cb59f6c84f27b9
2016-11-11 14:47:16 +00:00
Caolán McNamara
edff2837c3 use std::unique_ptr
Change-Id: I03e2fb2d3ad1b0b7e64f93dbee172b119ef7bf40
2016-11-11 14:47:16 +00:00
Dennis Francis
efecee353f tdf#101299 : do not show merge cells context menu for the trivial case
Change-Id: I4e5726009ac5ef60ffa74f3bbbe01683c3658e95
Reviewed-on: https://gerrit.libreoffice.org/29583
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-11-11 14:33:00 +00:00
Stephan Bergmann
fa194e7dfc loplugin:vclwidgets
Change-Id: I518db241a76bccbe060242eeeafd58135b2ac560
2016-11-11 14:09:50 +01:00
Caolán McNamara
b8b05986e7 default dtor is sufficient
Change-Id: Ia32b31489eb67f24987852dbadbcc2d3a81a0312
2016-11-11 13:08:21 +00:00
Caolán McNamara
18737001d8 default copy ctor is sufficient
Change-Id: I908848590add00d96001e1fdaafedc85ae3d6765
2016-11-11 13:08:21 +00:00
Caolán McNamara
fdfaf4b1e2 use std::unique_ptr
Change-Id: I68e3e498fa4abeca66501897fe5975b44611259c
2016-11-11 13:08:20 +00:00
Caolán McNamara
d3c751fe21 coverity#1371312 Missing move assignment operator
Change-Id: I4484f270e33e479c954c8421a46d52f3d81ec4dc
2016-11-11 13:08:20 +00:00
Caolán McNamara
0854e1a6f9 use std::unique_ptr
Change-Id: I5efcfe9ae2d94b34150127917c07dc920fd0e71a
2016-11-11 13:08:19 +00:00
Caolán McNamara
a24b7ea979 fix build
Change-Id: Ie5a566a523731bc75e85a227c4149fe8e03a2c76
2016-11-11 13:08:19 +00:00
Bartosz Kosiorek
0637d0f43d tdf#101042 Fix for frozen windows in Excel
Window protection is "not allowed to move and resize windows" in MS Excel,
it is definitely not Frozen Panes ( maData.mbFrozenPanes )

Change-Id: I04f0429738a6daecb26274f169c5118dba73e895
Reviewed-on: https://gerrit.libreoffice.org/30076
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-11-11 13:01:48 +00:00
Samuel Mehrbrodt
518e1999c4 tdf#67544 Embed slide transition sound in the presentation
This is only the filter part, UI is still missing

Change-Id: Ic2ee0196c6b501abb244397cb14bb70626b45ae8
Reviewed-on: https://gerrit.libreoffice.org/30772
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-11 12:38:54 +00:00
Jean-Pierre Ledure
a7e469a286 Access2Base - New properties in Database class
Name, Connect and Version

Change-Id: Ief0da378fd8927df7accdfc0157547670ca203de
2016-11-11 13:34:49 +01:00
Laurent Balland-Poirier
8d811eda74 tdf#36038 QA test export/import extended LCID to Excel
Change-Id: I5c8a19f62f030913f7e6dcbc0274f5d0aa197056
Reviewed-on: https://gerrit.libreoffice.org/30175
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2016-11-11 12:32:37 +00:00
Khaled Hosny
30fefcf714 tdf#103725: Fix horizontal scaling on Windows
* Restore the hack for adjusting font width on Windows, for the life of
  me I can’t find where we change font width or why I get different
  values on Windows than Linux.
* Create IDWriteFont from LOGFONT instead of HDC, as it seems the later
  will discard the font width.

Change-Id: I74d6685b8c2a6f5d8087f439fbb02f0343f13691
2016-11-11 14:06:13 +02:00
Khaled Hosny
b9ed8e553e Unused code
Change-Id: Ie2e4b5881a783441d32010408c05b3c9f1e5641c
2016-11-11 14:06:13 +02:00
Miklos Vajna
49f65d5114 xmlsecurity: extract parts of PDFDocument::Sign() into separate functions
Hopefully it's easier to read this way.

Change-Id: I145e00f8e57e20f2663d1c9ee494af5d93c014c7
2016-11-11 12:10:10 +01:00
Andras Timar
c5adcddf23 Revert "new release of Graphite lib: 1.3.9"
This reverts commit 68fb8ed7598206b653133f0e1cf110180ce02d60.
2016-11-11 11:46:32 +01:00
Andras Timar
68fb8ed759 new release of Graphite lib: 1.3.9
Change-Id: I4e9a7ebf323848a03e02da3e9ed39377d1df6715
2016-11-11 11:31:59 +01:00
Noel Grandin
b06854accc fix spelling XFastAttrbitueList->XFastAttributeList
Change-Id: I618cadba909acbe935217026af7da496894dbd5e
2016-11-11 12:12:22 +02:00
Noel Grandin
1ba4bb6397 loplugin:countusersofdefaultparams in editeng..rsc
Change-Id: I8a8d13faf228cbc934ae21d6763d92d370eb42ec
2016-11-11 12:12:22 +02:00
Stephan Bergmann
dd6ea56c02 loplugin:vclwidgets
Change-Id: Iead7373a76b086dbd96d1d9d4643247762d0522f
2016-11-11 10:31:01 +01:00
Maxim Monastirsky
01be56c648 Type detection can handle empty doc service just fine
But actually I can't imagine why the doc service could be
empty here, esp. since 8655fa318c1924994eb659b4bb60074c86ad70c1
("Fix property name: ModuleName -> ModuleIdentifier").

Change-Id: I9a39cf0840910069769b4bedd61930aab2155e1b
2016-11-11 11:14:25 +02:00
Maxim Monastirsky
2a778b4a4d RecentFile::aTitle is never read
Change-Id: Ic9f613f10914113af62fe6876e1a837a610a5782
2016-11-11 11:13:27 +02:00
Maxim Monastirsky
ecdb04638c RecentFilesMenuController: Remove duplicate dispatch handling
Change-Id: I3f2729bfe82c059bbf934510cb4066a77867f3c8
2016-11-11 11:11:11 +02:00
Caolán McNamara
a6d324f30b Resolves: rhbz#1391418 wayland toolbars can't be docked after undocking
see gnome#768128 for extra details

under wayland, given the misery here I'm going to just disable toggling between
docked and undocked under wayland, and throw away user config on toggling
docked/undocked away from the defaults. You can still drag docked things around
to new docking position, but you can't pull them out of the dock to float.

non-wayland is unaffected

Change-Id: Iaa859f3420e6d1b103a8b93d1ad8f82dbffe75d4
Reviewed-on: https://gerrit.libreoffice.org/30752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-11-11 08:51:10 +00:00
Stephan Bergmann
39f14ada95 loplugin:redundantcast
Change-Id: I6fc99a6e8d7b5de86461dd52102dac9c011f3fe0
2016-11-11 08:55:40 +01:00
Stephan Bergmann
508bb937db loplugin:override
Change-Id: I3b0d6394fa6f127f89ee7dfcd2ec22de495fa566
2016-11-11 08:55:20 +01:00
Noel Grandin
a5b4046eb9 loplugin:countusersofdefaultparams in sc(part2)
Change-Id: I1e2a0969ca7e9e0f75079a171150269dfed26507
Reviewed-on: https://gerrit.libreoffice.org/30755
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-11 07:02:27 +00:00
Noel Grandin
f31d98f63c loplugin:expandablemethods in avmedia..canvas
Change-Id: Ic230f1ef6b1dbe796ac7862a1a7e6a718f9e4e54
Reviewed-on: https://gerrit.libreoffice.org/30753
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-11 07:00:18 +00:00