Commit Graph

6823 Commits

Author SHA1 Message Date
cf0c04a428 convert Link<> to typed
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
2015-09-11 08:48:54 +02:00
e8ee847336 convert Link<> to typed
Change-Id: I3defac5fff9708228d9bf3200e51853a127bfdc5
2015-09-11 08:48:54 +02:00
23175c02b0 convert Link<> to typed
Change-Id: I473ab8d77273c512e843427c86664f9eefbff116
2015-09-11 08:48:54 +02:00
1a9293242b Remove unused INetMIMEMessage parts
Change-Id: Ica7d3e7e52ccdfe833ac10567c6f5f7bb7085dee
2015-09-10 23:04:35 +02:00
9371a5f0a0 More INetMIMEMessageStream clean up
Change-Id: Ibb2b93261e2d8ef370ac106766e39685a03a6ef3
2015-09-10 23:04:35 +02:00
82285ab5c9 Merge INetMessageIStream into INetMIMEMessageStream
Change-Id: Ic3d9cd117b3f911a7cb1317fc9d1d2e9d8f1ff42
2015-09-10 23:04:35 +02:00
4464e5dbca No need for INetMIMEMessageStream encoding
...in the only use case in ODatabaseForm

Change-Id: I0282a9f60b05f279a11dcf1990e68b7e017ea3aa
2015-09-10 23:04:34 +02:00
40bcf53b5d Remove unused INetMessageOStream functionality
Change-Id: I34ee4750f30635809b8e23cbf1bd0e16f269f549
2015-09-10 23:04:34 +02:00
e871b6a31a Reduce INetMIMEMessage::EnableAttachChild to its only use case
Change-Id: I67221408d6b9d2aee942ca8bd39ca51da0209551
2015-09-10 23:04:33 +02:00
350b9e36af Add OString::startsWithIgnoreAsciiCase
...analogous to the existing OUString::startsWihtIgnoreAsciiCase, to be used in
the next commit

Change-Id: Iad6989c16e1bda6b2b0a58e6c768f7852560bb00
2015-09-10 23:04:32 +02:00
afe53855a2 fix crash on rightclicking image in tdf#93675 and pressing esc
SfxBindings::UpdateControllers_Impl in
sfx2/source/control/bindings.cxx has an awesome
reinterpret_cast<SfxPoolItem *>(-1)
so the unconditional dynamic_casts introduced during the rework of

commit fee180f13d48c1fa97a3ecde4b2067e5b0f13fc2
Author: Markus Mohrhard <markus.mohrhard@googlemail.com>
Date:   Tue Jul 28 18:52:30 2015 +0200

    split the line width panel into two pieces

explode and die

Change-Id: Ic99b5e515bb530b74461155b7e71b7e8814666b2
2015-09-10 17:47:01 +01:00
3d95279f6c remove unused Link<> field
Change-Id: I9fa72bd4a39d630829356117cec73b686efc7ae7
2015-09-10 12:26:52 +02:00
f4e951a61a convert Link<> to typed
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-10 11:38:30 +02:00
39975c477a LOK: added a general getCommandValues method
This method returns a JSON mapping of the posible values for the given
command (e.g. .uno:StyleApply, etc).

returns:
{commandName: "cmdName", commandValues: {json_of_cmd_values}}
I've fixed the unit test this time

Change-Id: I30b0fba8ba1db33dd79f4b46026d293b9ea72402
2015-09-10 11:34:20 +03:00
9e2628503d loplugin:staticmethods
Change-Id: Id9313d02fe6036ff8d8cf8142269ed9b4042051d
2015-09-10 08:47:37 +02:00
2466aa2742 convert Link<> to typed
Change-Id: Iaeaa33b0b066723d561df0c58f3faedead259d8f
2015-09-10 08:30:11 +02:00
9ea0390f17 convert Link<> to typed
Change-Id: Iaca21344f6a38f508f79e6d5983e515162a6dca3
2015-09-10 08:30:11 +02:00
71d8cfc13a convert Link<> to typed, and introduce LinkParamNone
as a marker type for unused Link#Call(T) param

Change-Id: Ife9149052a52b27fefd4f810309a5004a0f1771b
2015-09-10 08:30:11 +02:00
99d13c7926 convert Link<> to typed
Change-Id: Idcc6b760dfe2d388a2634fcc345c66ff5649a62a
2015-09-10 08:30:10 +02:00
9c162ddbea remove unused Link<> field
Change-Id: I121f133513a9897f38bd87be96c2cea39fbfc836
2015-09-10 08:20:16 +02:00
4db28b2149 convert Link<> to typed
Change-Id: I7aa46c5cbaf70bea5756a4066bc620b3c40dedee
2015-09-10 08:20:15 +02:00
5066199663 oox: workaround C2249 error on MSVC 14.0
The member is inherited from a nonpublic virtual base class or
structure.

Declaring copy ctor and assignment operator as deleted in derived
class solved the problem.

Change-Id: Ic509f7e7311fd896656ecff80df3ece4503c3a65
Reviewed-on: https://gerrit.libreoffice.org/18328
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-09-10 06:11:45 +00:00
da260fbb18 Remove unused "#ifndef ENUM_*_DECLARED" wrapping
Change-Id: I6f207a1692e4fcd2fbecd0420f5ed798e4504667
2015-09-10 07:57:53 +02:00
3d492e8f5d handle different callers for vba export code
This now integrates it correctly with the XLS code, the XLSX one
requires a bit more work to copy the stream to the OOXML file.

Change-Id: Ic853ce795fc2ac2941083a76fd0a8cad7c6add09
2015-09-10 04:14:48 +02:00
1f1ec819ed remove more warnings about vba export
Change-Id: I8d0e6f69dd4d51d195422e6e934fedc406caec16
2015-09-10 04:14:47 +02:00
85f4285804 get correct vba project name
Change-Id: I48efd62ca1df00b8a0cbecb01b394814ca40c2e9
2015-09-10 04:14:45 +02:00
5e4c278201 add first vba compression test
Change-Id: I9e3abebb0ac932b46f7fc96cd37d39023b783af2
2015-09-10 02:12:37 +02:00
eaab276fbb fix my horrible chunk header code
Change-Id: Ic91c06dbe05180d97b0db5de497f26f14b2d4ec4
2015-09-10 02:12:37 +02:00
4f1f317a0b extract compression methods to make them testable
Change-Id: I2ad28134ef723872b9940c02657ee89758efa06f
2015-09-10 02:12:36 +02:00
b15b372c7c structure for vba export
Change-Id: I8094b64185ef8730355841e9b6f9d4ba412568dc
2015-09-10 02:12:24 +02:00
f9f3e97ca8 SdrObjEditView::IsTextEditHit effectively ignores its nTol argument
...ever since

  nTol=0; // Joe am 6.3.1997: Keine Hittoleranz mehr hier

had been added into it sometime prior to
fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import."  So lets assume Joe
meant that as a permanent fix rather than a temporal hack (which would have
survived for longer than 18 years anyway).

Change-Id: Ib30ac8d578f70c861d4c0f5f71bf4c13e9281db8
2015-09-09 14:01:18 +02:00
be73c1602d convert Link<> to typed
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c
Reviewed-on: https://gerrit.libreoffice.org/18431
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09 08:10:11 +00:00
61afb4beba remove unused Link<> field
Change-Id: I8832a303ae2ac384e49488835df6b2d145ebbfcd
Reviewed-on: https://gerrit.libreoffice.org/18430
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09 08:09:39 +00:00
5ab7806d6c remove unused Link<> fields
Change-Id: Ifed1a8cfa774225cb450bb211b1b1b949ef02811
Reviewed-on: https://gerrit.libreoffice.org/18429
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09 08:08:56 +00:00
78b124143a convert Link<> to typed
Change-Id: I2f36a123662488ef5534f7bf0845d61e497fb0ec
2015-09-09 10:06:12 +02:00
6f4e11a95b convert Link<> to typed
Change-Id: I2aeda615e39db5a3cd39e168db34425e2912be8b
2015-09-09 10:06:12 +02:00
f731448014 convert Link<> to typed
Change-Id: I4fba6bf5b34b086a11659de3cddf46c76007a147
2015-09-09 10:06:11 +02:00
5906a2a638 convert Link<> to typed
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
2015-09-09 10:06:11 +02:00
7a39ae0422 convert Link<> to typed
Change-Id: I49bf8192a2f5295890ead8ddc2452a5de4c93b20
2015-09-09 10:06:11 +02:00
9ed1dd01be tdf#90839: support for wrapped text in data labels and for centered data value
Now in a pie chart the text of a label can be wrapped, the wrapping is
automatic and the maximum text width is fixed to almost half the pie
radius. This feature is used to import correctly the relative text
wrapping property provided by MSO.

Moreover the data value and percent value of a label are now centered
horizontally, respect with the label text.

Conflicts:
	chart2/qa/extras/xshape/chart2xshape.cxx

Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b
Reviewed-on: https://gerrit.libreoffice.org/17193
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-09 07:41:51 +00:00
2beeeea4ea Get rid of OSL_UNUSED
In many cases it was originally used to silence warnings about variables used
only in OSL_ENSURE etc., but that's no longer necessary since OSL_ENSURE is
based on SAL_WARN etc.  In some other cases it was apparently used as a
speculative debugging aid, to have a value assigned to a variable to be easily
able to view the value in a debugger.  And in some cases it was used with
(otherwise ignored) return values of (typically SQL-related) function calls, but
it is probably better to eventually find and fix all the problematic ones among
such calls via function declarations annotated SAL_WARN_UNUSED_RESULT.

Change-Id: Ib925b38da70073b546fdcd00fa8524dc302accbf
2015-09-09 07:54:04 +02:00
8083f6b7ed Remove unused function params
Change-Id: I1b72a95b7367bb555d37a9a073ca4da2b01cf53f
2015-09-09 07:54:03 +02:00
8ab005af96 Avoid pain when using selective debuginfo
Compile in the DbgUnhandledException function always.

Change-Id: I302954598e599e8db71967974b18ade54ca2de13
2015-09-08 19:37:58 +03:00
1b082cdfbe Remove unused function param
Change-Id: Iab33c8008e07c4f17482dc3a8e4d15e38dc32b4e
2015-09-08 18:02:10 +02:00
5bac7853a8 Ensure the scheduler can set longer timeouts.
Regression from: 6d64d2f38d9f6c2f54e05675ecd0709eabf6d8ca.

Also fix the low priority idle min timeout to 5ms.

Change-Id: I26a6e89ef7fa173e64ee34f7a500157ba82b7198
2015-09-08 17:01:31 +01:00
82d25c02f8 tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.
Previously we would get an explicit ~OpenGLContext - and potentially
leave FMR's around for other OGC users, now we treat the other users
properly - we need an explicit dispose() to get Window::dispose ordering
right.

Change-Id: I5edcbd73399b6db3dbcfb391570f364f9ab0c70d
Reviewed-on: https://gerrit.libreoffice.org/18412
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-08 15:47:49 +00:00
f19049065a Remove unused function params
Change-Id: I0db4352ab7a14b4a62bebb650d1956c4a177b67f
2015-09-08 16:32:18 +02:00
56900a441d tdf#94006 - fix OpenGLContext mis-use in several places.
gltf rendering, OpenGL canvas, GL transitions & GL capable (charts)
Avoid GLX operations on un-initialized contexts.

Change-Id: I7f523640f66ab656896181e5c865879234f6640e
2015-09-08 13:04:02 +01:00
2456cf8306 tdf#94006 - re-factor to use rtl::Reference for OpenGLContexts.
Don't use rtl::Reference for the global / list state, so the
ref-count reflects the number of real users.
Hold a reference during ~OpenGLContext.

Change-Id: I4e57a7246159acd58ae7d5a0dfc8704b9795c894
2015-09-08 13:04:02 +01:00
0c714e260e convert Link<> to typed
Change-Id: I2977a0fcd18bd719b30cb4100501058884069572
2015-09-08 08:16:48 +02:00