Commit graph

388908 commits

Author SHA1 Message Date
Miklos Vajna
e0e6d8a582 sfx2 classification: select current toolbar listbox entry when state changes
With this, if .uno:ClassificationApply is invoked from e.g. a macro, the
toolbar listbox is updated to reflect the classification of the
document. Previously the listbox wasn't updated.

Change-Id: I45a7c6ee2f3b06e048fa119264c615e78bc46b37
2016-03-01 15:41:02 +01:00
Caolán McNamara
a03958af8d coverity#1352213 Unchecked return value
Change-Id: Iae1c0a09eae410136569ed1480dbcdfff589f20e
2016-03-01 12:02:08 +00:00
Miklos Vajna
20ad023a91 ccu#1573 sc lok: fix reporting of hidden row height
For columns we use ScDocument::GetColWidth(), which returns 0 for hidden
columsn. Do the same for rows: so instead of using GetOriginalHeight(),
use GetRowHeight(), and then 0 size will be reported for hidden rows as
well.

Change-Id: Ic23b6af744bbc8e194e1906614adebe5ba0c7ced
2016-03-01 12:20:16 +01:00
Miklos Vajna
a531af237d gtktiledviewer: log .uno:ViewRowColumnHeaders command result
Change-Id: I6d71071371ef54f70613246162c893daa56b7bb9
2016-03-01 12:20:16 +01:00
Caolán McNamara
2fb8c4b642 coverity#1326385 Dereference null return value
Change-Id: I0097e9759c1ac3a1e03d9c2741c109e147dce540
2016-03-01 10:53:55 +00:00
Noel Grandin
16067d4f90 loplugin:unuseddefaultparam in shell
Change-Id: Ib14fd4f7f0a23f83801f448aa2c22e550057ec71
2016-03-01 12:48:52 +02:00
Noel Grandin
def71473d2 loplugin:unuseddefaultparam in sot
Change-Id: I36f88f060377fa754d4a47956932d73c47d14ece
2016-03-01 12:48:51 +02:00
Noel Grandin
08e14eb270 loplugin:unuseddefaultparam in starmath
Change-Id: I740d931c0236c1a4d40013b458f249692695d6e5
2016-03-01 12:48:50 +02:00
Noel Grandin
1685ff1478 loplugin:unuseddefaultparam in svgio
Change-Id: I47fe88cd8c943acb9162cdfca53fb5fdbaacec04
2016-03-01 12:48:50 +02:00
Noel Grandin
b3483a07bc loplugin:unuseddefaultparam in store
Change-Id: I825eb075b73daa5bf52e1d41c32cf2100abebe47
2016-03-01 12:48:49 +02:00
Caolán McNamara
d7e1e8da8b coverity#1352212 Unchecked return value
Change-Id: I75a6853a6708585201dbc4722e7a19cd568a48f7
2016-03-01 10:45:06 +00:00
Caolán McNamara
144ce8b3ff coverity#1326304 Explicit null dereferenced
Change-Id: I1fba88431ec7e5154f39bb0c76e622c6129011d2
2016-03-01 10:32:30 +00:00
Caolán McNamara
d112040b7f coverity#1326444 Dereference null return value
Change-Id: I0163b298a3c3359b0f035515408f2a81ef405377
2016-03-01 10:22:08 +00:00
Caolán McNamara
c900c820a0 coverity#1326460 Dereference null return value
Change-Id: I15e41410064ad6957237e8e79fceb48e152681af
2016-03-01 10:13:07 +00:00
Caolán McNamara
1fb6a3aa87 coverity#1326847 DP: Use doPrivileged
and

coverity#1326848 DP: Use doPrivileged

Change-Id: Ida9706055ade82cdf901f2f78687ee0270b499c4
2016-03-01 09:55:29 +00:00
Samuel Mehrbrodt
3ff17bda5b tdf#98277 Extensions: Display shortcut in toolbar tooltip
Change-Id: Icc16860d8b47a3724838fdb3dcb72dfb4398167d
Reviewed-on: https://gerrit.libreoffice.org/22779
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-03-01 09:52:54 +00:00
Caolán McNamara
8bac7e410a gtk3: gdk_x11_display_set_window_scale needs 3.10.0
Change-Id: I4c86082eca0e7618de30841e6fe7040be7326098
2016-03-01 09:34:18 +00:00
Caolán McNamara
60fdfda3d0 replace SetExtendedFrameStyle + m_nExtStyle hack to direct updateWMClass call
Change-Id: I2b7dd0ea24794d08557620dda8ca1de71244ec61
2016-03-01 09:34:18 +00:00
Noel Grandin
c6eb232cb7 loplugin:unuseddefaultparam in svl
Change-Id: Ifc82563c8930332d460df4d97935ba6e9946689f
2016-03-01 11:20:24 +02:00
Noel Grandin
3da977def7 loplugin:unuseddefaultparam in tools
Change-Id: I2a974ba76566700c2037fcb38de3ecfea9d2651d
2016-03-01 11:20:24 +02:00
Stephan Bergmann
436aea8635 loplugin:vclwidgets
Change-Id: Ia03a625933aa8daf816c1cf4f58aa86b0d12e579
2016-03-01 09:36:26 +01:00
Sean Young
f2bd96f7dd MS Write conversion should default to CP1252
2f7f818eea "Add Microsoft Word for
DOS conversion" changed this to CP1251 by mistake.

Change-Id: I5d51d8518322a7e542ae8931cf7e72053d89f971
Reviewed-on: https://gerrit.libreoffice.org/22787
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-01 08:31:39 +00:00
Stephan Bergmann
8ab503a871 loplugin:sallogareas
Change-Id: I2cd994a4f497a59f33e6ed3a23388565fd7b88c2
2016-03-01 09:29:46 +01:00
Stephan Bergmann
33e7228678 loplugin:override
Change-Id: Ib051a2468b219aeae9eedef6d6930ea67815ab6e
2016-03-01 09:29:46 +01:00
Miklos Vajna
829596eb36 tdf#96326 RTF import: handle checkbox form field undefined result
The RTF spec is quite terse on how the form filed result should be
interpreted, but the binary equivalent documents properly that
checkboxes have 3 valid states: 0, 1 and 25, the later meaning
undefined. Use the default value in that case.

Change-Id: I672bf8d1f63d7880227b7fa7b5c81f91e1877b2a
2016-03-01 09:24:05 +01:00
Stephan Bergmann
5420ef4687 loplugin:sallogareas
Change-Id: I0abd86a259673596f39f0b6ab62d02f15a8e18b9
2016-03-01 09:22:50 +01:00
Stephan Bergmann
7916f250c4 loplugin:stringconcat
Change-Id: I2ca9ebdce00fdaeeb2ee690fffd75b21e9acc14b
2016-03-01 08:52:59 +01:00
Noel Grandin
0310edd7dc -Werror=unused-but-set-variable
Change-Id: I5ed8f2b49453493a143bcb1e15006f22212beefd
2016-03-01 09:12:17 +02:00
Noel Grandin
4097135413 loplugin:unuseddefaultparam in svtools
Change-Id: I4e9712bea0cc8cf2d48759738806a584dda8268e
2016-03-01 08:30:28 +02:00
Noel Grandin
5e913234da loplugin:unuseddefaultparam in svx (part2)
Change-Id: I99e3d6137ec17e3fc782253c85e5fa4f1da4cec4
2016-03-01 08:30:28 +02:00
Noel Grandin
595f46344e loplugin:unuseddefaultparam in svx (part1)
Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055
2016-03-01 08:30:27 +02:00
Justin Luth
44e700f70d tdf#97960 - .doc: preserve font size in empty cells
fixes regression from commit e1b123896d.

Change-Id: Iccc10cdba89cdae6a5618d29022e0eaf609c9d6f
Reviewed-on: https://gerrit.libreoffice.org/22759
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-03-01 04:29:54 +00:00
Marco Cecchetti
cb01ea9205 tdf#97369/#97587 - Further fix SUMming in the software interpreter
When SUMming in the software interpreter involved trailing empty
cells, code tried to read beyond numeric array limit.

Change-Id: I50c1148e7e79d02bedb02a771df172035112915c
Reviewed-on: https://gerrit.libreoffice.org/22791
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-01 02:41:34 +00:00
Xisco Fauli
817f6bd75e fix typo
Change-Id: I3e1e28269d8b2d6d45bba6bc43aa8f20c1963956
Reviewed-on: https://gerrit.libreoffice.org/22793
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-01 01:15:23 +00:00
Michael Stahl
5e2284de5b desktop: fix undefined CrashReporter::AddKeyValue on MSVC
Change-Id: Ie10b4849957734c2548c73dff8485cc673769e13
2016-02-29 21:57:36 +01:00
Michael Stahl
f7a6da202c RepositoryExternal.mk: ENABLE_HEADLESS needs cairo too
Change-Id: Ia34093fd9afacb73746af0813f2c219119f9a1a1
2016-02-29 21:36:29 +01:00
Michael Stahl
86df8242b5 svx: avoid instantiating OBJ_NONE (SdrObject)
This happens when using the Drawing toolbar in Writer, the "Text Box"
button.  SdrCreateView::SetCurrentObj() already has the right fallback
code in the "else" branch.

Change-Id: Icddfa77ce10eddbfb2dc7165ce11ac6dec80b1ee
2016-02-29 21:36:29 +01:00
Christian Lohmaier
bd95b5e285 update credits
Change-Id: I1630c9ee618bd880ff4e06cafa0b6fabff03a3a4
2016-02-29 21:35:53 +01:00
Markus Mohrhard
de93a4b653 fix error in new cell dump property code
It is also ALT+CTRL+SHIFT+F9 for now.

Change-Id: Ic632ae070118e5c4083f47302b8b0086ccebdcd2
2016-02-29 19:29:08 +01:00
Christian Lohmaier
bb99d97779 Updated core
Project: translations  4e3651a5d0e16bd39067227b9279f5cc98fbc127

update translations for 5.1.1 rc3

and force-fix errors using pocheck

Change-Id: I8412ae3789ee98f87f49cf975097f4ffa3f7e3b2
2016-02-29 18:11:05 +00:00
Eike Rathke
164419bfe6 fix the "group not recalculated after delete" second part of tdf#97897
If a formula cell group was split during deletion and the group also
listened into the range where a cell was deleted, the group wasn't
notified of the deletion.

Change-Id: I858f5d4c0b647636611133fc32f3df7fbdaf7288
2016-02-29 17:59:12 +01:00
Stephan Bergmann
68b6cbd75e XMLSEC_NO_SIZE_T is /not/ used with MSVC
...where external/libxmlsec/ExternalProject_xmlsec.mk uses win32/configure.js
instead of configure.  But that inconsistency generally got hidden on Windows by
xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx including the raw xmlsec include
files instead of xmlsecurity/xmlsec-wrapper.h, so only gets noticed when using
--disable-pch (as is needed when building with clang-cl).

TODO: Don't know how to fix bin/update_pch so that precompiled_xsec_xmlsec.hxx
doesn't get broken again on the next update.

Change-Id: If385066a1e0f949d943aab7e9a5e969fbf0d0794
2016-02-29 17:35:30 +01:00
Miklos Vajna
92978fc5a8 officecfg: move classificationbar up, so dropdown has enough space
It used to display categories above the control, due to lack of space.

Change-Id: I3d02e57ec55d1ec17d5f43f0cddc2c80cb9c9acb
2016-02-29 17:19:49 +01:00
Miklos Vajna
f2ad799bde sfx2 classification: fix initial toolbar control size
When the toolbar control is first shown, we don't have an object shell
yet, so can't insert items to the listbox. Set the same initial size as
SvxFontNameBox_Impl has, should be good enough for us, too.

Change-Id: I12cc72d26353ec3a4d2d3fc5c72f3171c276d3dc
2016-02-29 17:19:49 +01:00
Miklos Vajna
78f2b0b364 sfx2 classification: set initial listbox state based on doc model
This way the listbox selections shows the state of the document model,
instead of showing an empty selection by default, as it is for empty,
non-classified documents.

Change-Id: Ibda0565e3ca9ec6611d8e256a78747437b52c42a
2016-02-29 17:19:49 +01:00
Miklos Vajna
98f7e70aeb sfx2 classification: fix category name duplication
A category name was stored in m_aName and also as a label value with key
name PROP_BACNAME(). Fix this by always using m_aName, and doing the
conversion in both directions in
SfxClassificationHelper::Impl::pushToObjectShell() and the
SfxClassificationHelper() ctor, as document metadata wants to work with
only key-vaulue pairs.

Change-Id: Iad386840038966e4483e3503c5fcdc046ca9effc
2016-02-29 17:19:49 +01:00
Varun Dhall
12f8d5b2d5 Updated search flag for testSearchWithTransliterate
Change-Id: Ie540aca97cddbd657faae5d15293a922ba5196d5
Reviewed-on: https://gerrit.libreoffice.org/22702
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-29 16:14:02 +00:00
Takeshi Abe
8fab3bf913 starmath: Use member initializer list for SmRect
Change-Id: Iac3df1fe7d189c2e78e585b9ac3642b05b0f1472
Reviewed-on: https://gerrit.libreoffice.org/22761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-29 16:08:21 +00:00
Michael Stahl
8dcdd79252 desktop: fix infinite loop with --enable-breakpad
Change-Id: I81a0405edc29fa7205d00a5cb920b2d0e800602e
2016-02-29 16:31:15 +01:00
Caolán McNamara
8980196fb6 libreoffice-main -> libreoffice-startcenter
to sync these names with the the .desktop names

Change-Id: I1c4d8943e61b5ae537b865d5a9c3065894f200d7
2016-02-29 14:59:30 +00:00