354219 Commits

Author SHA1 Message Date
Zolnai Tamás
ddb73c6137 avmedia: call resize before player window is created
Since b5529c8c457f442bfc43305becc0c02d6a09ee80
MediaChildWindow is depend on the media URL so
it is constructed later and so one resizing is
missed before creating the player window which
causes to display nothing in the media player
(Tools -> Media Player)

Change-Id: I548e6bb73193fccd1735e8343e9c06428ee686bc
2014-05-25 15:39:39 +02:00
Zolnai Tamás
25db60d2e4 Partly revert 4ec3554a80f065c2d9c957d6ce7f577fb195be02
mpEvents is freed by other object so using
scoped_ptr lead to crash.

Change-Id: I28c9d322b5ee5da6edf5022da18b42f59b608dec
2014-05-25 15:39:39 +02:00
Jan Holesovsky
a850d96fad Update OpenCollada and collada2gltf to the newest versions.
Change-Id: Iee0b9f08843220e8ece00739ca01aa438b93965a
2014-05-25 14:19:28 +02:00
David Tardon
b421ce79e3 bundle librevenge
Change-Id: Ic36c1670866545db2cf2f29867de7e5b0ad2d57d
2014-05-25 12:48:09 +02:00
David Tardon
36c3f91426 build libodfgen as shared lib
Change-Id: I3a2c9f56e87ee6395bd3505a8fe372632e242312
2014-05-25 12:48:09 +02:00
weigao
74042bc601 add delete shape function
Change-Id: Ided3902a45c6bb7bf79827849aeca3caaaa40f83
2014-05-25 12:15:15 +02:00
weigao
32b3f7876b fix the bar model generate
Change-Id: I8df87b27dd93f0e11198998869b97754ded3bca1
2014-05-25 12:13:55 +02:00
Jan Holesovsky
04e3af7a04 Improve computation of the text area to make it nicer.
Change-Id: I24fb1caedc55dcc297fb013acb63b3c660fcf0a2
2014-05-25 11:43:14 +02:00
Jan Holesovsky
8847171b6b vcl: Document GetTextBoundRect() / GetTextWidth() / GetTextHeight().
GetTextBoundRect() fits different situations than the GetTextWidth() /
GetTextHeight() combination, so make it clear in the documentation.

These are complex enough that people shouldn't read the code just to
understand the difference, and misunderstanding of purpose of each leads
to visually not nice results.

Change-Id: Ida71477cdffbd8290328551bd6ddb4805b96c415
2014-05-25 11:43:14 +02:00
Maxim Monastirsky
16ba360f2a reportdesign: Update shape buttons with sub toolbar selection
Change-Id: Ie39f1005182da118475fdf9c4e463bfb902d4446
2014-05-25 10:42:44 +03:00
Chris Sherlock
0ccced3941 fdo#39468: translate comment in Window::ImplInit()
Change-Id: Ibf9a7ef8edaa608aa0c13b8e4307e27a6789fa7d
2014-05-25 14:30:49 +10:00
Christian Lohmaier
788228e4ae fdo#77891 unconditionally disable console streams for WinXP
as the functions to check for a valid filehandle don't work according to
the documentation. Python in LO-Context is run from GUI anyway, and thus
won't have those hooked up.

Change-Id: I8bc048463b0dc1a25c1b6ba7422623dda110eddc
2014-05-24 23:52:14 +02:00
Markus Mohrhard
fa97a8b91b some work on mouse scrolling and improved mouse dragging
Change-Id: I3265e26530183b2fc4fd7f67319f3dc124353c2e
2014-05-24 23:45:01 +02:00
Zolnai Tamás
2d8941eea6 kmz3collada: Workaround for missing textures
The write-only-.dae-file-which-we-need.patch makes the converter
extract only the *.dae file but textures are stored in seperate
image files we need to extract too.
On the other hand this patch makes the converter buildable on all
platforms, since this only works on Windows originally. So for now
disable this patch on Windows so here we won't loose textures
but enable it on other platforms for buildability.
Later we need to solve kmz conversion properly.

Change-Id: Iede9e3bdd5a68a9002f5fa38da8a6459dda8d805
2014-05-24 23:29:35 +02:00
Michael Meeks
6540350a71 sc: constify GetCellGroup.
Change-Id: I50d47b19391c6b54570bc3982b8ec22563662983
2014-05-24 21:46:46 +01:00
Michael Meeks
8400f1092d ODS load perf: remove left-over / debugging getenv.
Change-Id: I08bae50685ce52b8329b11b8ca3d083648dfc6fc
2014-05-24 21:43:16 +01:00
Michael Meeks
4a5d600a0a ODS load perf: accelerate CompileXML for formula by stringify and compare.
For long columns of repeated formula, it is far faster to convert a formula
to a string and compare to see if the next cell in a column matches, than
it is to parse the formula string itself (sad but true).

This saves 29s of 131s of load time for my (admittedly large) ODS file.

Change-Id: I48b613eb7131d6eb3902695aa30a1aa1a9ea5f6a
2014-05-24 21:38:42 +01:00
Miklos Vajna
17fa344d03 coverity#1158081 Unchecked dynamic_cast
Change-Id: Ia67656ac35d50c1f70045ff8e9084bcc54b0d9a8
2014-05-24 22:11:05 +02:00
Miklos Vajna
8617afc0a8 writerfilter: unused efforts.sh
Change-Id: Ide86e29584faeff1d4b8a7d6d8a9a59acc725bd4
2014-05-24 22:11:05 +02:00
Miklos Vajna
1c14618eaf CppunitTest_sw_rtfimport: the point here was only that this was nearly zero
If the old width was that small, then something larger should be also
fine. (Seen 564 instead of 423.)

Change-Id: Ife0fd4a55738268cdc1691b90e28b51adba829ef
2014-05-24 22:11:04 +02:00
Matteo Casalin
5ea67ff9ca Fix loop test and evaluate token count just once
Change-Id: I354cbb729eed9b78c4af3d684513c3338be4f532
2014-05-24 22:09:11 +02:00
Matteo Casalin
6055922e82 OUString: constify, avoid temporaries and buffers
Change-Id: I0bbfbb7785b4b8553d7472da15726538040af22e
2014-05-24 22:09:11 +02:00
Matteo Casalin
5490dea958 sal_uInt16 to size_t
Change-Id: Ia2e6b067884bcbab680925b8613dd5a73d1fc3fb
2014-05-24 22:09:11 +02:00
Matteo Casalin
554d7bf0d1 OUString: constify and avoid temporaries
Change-Id: I20f049ba275225b6429b630dbff07d0eba5522a3
2014-05-24 22:09:11 +02:00
Matteo Casalin
a2724474fb Use more proper integer types, constify, avoid unneeded conversions
Change-Id: Iaa20e4ecfa0120a443c7079aa6738b8b48c572b1
2014-05-24 22:09:10 +02:00
Matteo Casalin
73339dc7d5 Avoid temporary OUStrings
Change-Id: I8792fce9571ac749cec93a615d6c65bf2e086aea
2014-05-24 22:09:10 +02:00
Matteo Casalin
ae8485045f sal_uInt16 to sal_uInt32 + some const
Change-Id: I12b04ab7ce15a9a30db6e4dafd64a31f4fca8a88
2014-05-24 22:09:10 +02:00
Matteo Casalin
e775953f9b OUString: avoid temporaries + equalsAscii to ==
Change-Id: I9d6eda7f9b047b3d96c80c8dfc8c51b54ee04405
2014-05-24 22:09:09 +02:00
Matteo Casalin
f0aaae9293 sal_uInt16 to more proper types and constify
Change-Id: Ia510ac7d5b38dc6f3910a6e965f1cc154ad41f27
2014-05-24 22:09:09 +02:00
Matteo Casalin
352158b811 Remove unused headers
Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
2014-05-24 22:09:09 +02:00
Matteo Casalin
852787151b Reduce scope
Change-Id: Ie73f3d0f67435d66e8cb3bb2edeb9507bc420c85
2014-05-24 22:09:09 +02:00
Matteo Casalin
957ad07e6b Remove redundant checks
Change-Id: I4357e425e0459c9cc8873eba8a8ed1c5a34e9327
2014-05-24 22:09:08 +02:00
Matteo Casalin
f4166f967b sal_uInt16 to size_t
Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
2014-05-24 22:09:08 +02:00
Michael Meeks
42f2f47330 libgltf: turn off openMP usage without any detection code.
Change-Id: Ic823109b812a3d99d8462cf67cd9aa87094bba06
2014-05-24 20:38:29 +01:00
Thomas Arnhold
d582da903e cppcheck: unreadVariable
Change-Id: I5d897d968ca2640d1d127e799937cc6c3eabaf36
2014-05-24 21:20:19 +02:00
Thomas Arnhold
3d385fefb9 cppcheck: unreadVariable
Change-Id: If3d480bf3032ec2bd2edc62bb73dd93b00c2cbe7
2014-05-24 21:20:19 +02:00
Thomas Arnhold
e4f7907c0a cppcheck: unreadVariable
Change-Id: Iedb0eaa740943964b9f6242f7908099a92077413
2014-05-24 21:20:18 +02:00
Thomas Arnhold
94bc78d2d4 cppcheck: unreadVariable
Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
2014-05-24 21:20:18 +02:00
Thomas Arnhold
c2518d1ffb cppcheck: variableScope
Change-Id: I36c0d491bc27ff93c13b1c497e450646d7151df4
2014-05-24 21:20:18 +02:00
Thomas Arnhold
66e4c16f13 cppcheck: catchExceptionByValue
Change-Id: Idbb7a68a9517270325fd9ec34c14d663573318ac
2014-05-24 21:20:18 +02:00
Thomas Arnhold
9d0b693157 cppcheck: unusedPrivateFunction
Change-Id: Id9634d47b009c4208169cf7f3793ba927ce95a64
2014-05-24 21:20:17 +02:00
Michael Meeks
a7653da331 Win32: fix cppunit test strangeness.
Appending items to our search path for libraries leaves us vulnerable
to similarly named libraries in the system. In my case some
$HOME/AMD APP SDK/2.9/bin/x86/glew32.dll presumably incompatible
with our internal version. Hence prepend important path elements to
better match our program/ setup at run-time.

Change-Id: Iecf266a9d14d71de6c2e402793339e579ec0b987
2014-05-24 20:06:07 +01:00
Michael Meeks
02638a0865 cppunit: always compile with debugging symbols on windows.
Also cleanup some makefile pieces and give better error warnings.

Change-Id: I9f20d60f26d5828f60664941946c266c7d166f32
2014-05-24 20:05:46 +01:00
Caolán McNamara
f2a01771ea WaE: -Werror=unused-parameter
Change-Id: If24b57d3372f7b2310ee9d10315d647985393500
2014-05-24 18:09:29 +01:00
Caolán McNamara
1413d6bc99 convert doc recovery save page to .ui
and a wizard with one page is just a dialog, so make
that simplification and conversion too

Change-Id: I9f6335007609893308d57d693a18a313bcbb9244
2014-05-24 18:07:41 +01:00
Caolán McNamara
e5cc4e2422 Updated core
Project: help  7968f8275c52e174046f685b0217830254238f73
2014-05-24 12:07:06 -05:00
Michael Stahl
19b159416d SvxMSDffImportRec: these members are all 32bit "signed integers"
Change-Id: Iee1dab4895970628e5f5c4ee6070f7f67ba2df8c
2014-05-24 18:34:07 +02:00
Michael Stahl
6d431ffb68 fdo#77454: fix WW8 import/export of negative image crop
The negative crop values were imported as large positive values, which
caused the image to be rendered with 1 pixel width after commit
2e5167528f7566dd9b000e50fc1610b7bf99132a.

Change-Id: I0e01b9d9a05d90e868699832085a06ba5aab7e54
2014-05-24 18:34:06 +02:00
Jan Holesovsky
a0ef37c55f libgltf: Another new version.
Change-Id: I784579717674f1caf68ad489d1a931936f6f9651
2014-05-24 17:52:41 +02:00
Michael Meeks
f2e0eafabc Stub mouse move events propagation to 3D charts.
Change-Id: If87545df4b1caeece107a20e0c00df88fb8e6fd5
2014-05-24 17:41:49 +02:00