5400 Commits

Author SHA1 Message Date
Kohei Yoshida
aac149e4ad fdo#71767: Write test for this.
Not a direct test for the reported bug, but to ensure that the reworked
properties survive import and export.

Change-Id: I6c5a4c98eca5180251f04a24346290dedc44447a
2014-06-20 12:03:06 -04:00
Miklos Vajna
465503f52d sw: clean up leftover TextBox TODOs
Change-Id: I12782690368789849ea2ce2ed08ad4838a0a55db
2014-06-20 17:28:19 +02:00
Kohei Yoshida
1d38cb3655 fdo#71076, fdo#71767: Preserve number formats when charts are copied.
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19 14:46:56 -04:00
Kohei Yoshida
2538e30ccc Use define constant to keep track of all NumberFormat property usage.
Change-Id: I2a544922e03ec8253290ac8bf5a89c9cdd72d8dd
2014-06-19 14:46:56 -04:00
Markus Mohrhard
1f3f725a29 small text positioning fixes
Change-Id: I7fb42f0c34c5216421324f471a813f4668b4a878
2014-06-19 15:37:05 +02:00
Markus Mohrhard
6e427b30fe use better default colors
Change-Id: I0790f157632351a8fe68abf8f12041907027d6c9
2014-06-19 15:37:04 +02:00
Markus Mohrhard
d5a0926c23 fix range input in chart data source dialog
Change-Id: I9c139c6298d25c7a7072d0d0538f1945518d36f2
2014-06-19 15:37:04 +02:00
Fridrich Štrba
ee9e8f6771 Fix build with system glm once again
Change-Id: I7cd179f6f981455cfece1ca8ce0ea314ac341f99
2014-06-19 11:47:47 +02:00
Stephan Bergmann
b67f325a26 rtl::Reference fits just fine here
Change-Id: I65499ac299fb474e581245c5237a0b184f1f2b60
2014-06-18 11:26:33 +02:00
Miklos Vajna
860f543cdb chart2, sw: remaining textbox DOCX import test preparations
Ideally now all testcases handle both cases during DOCX import:

- current situation, when shape with text is imported as a Writer
  TextFrame
- future situation, when shape with text will be imported as shape with
  an assicated TextBox

Change-Id: I5b95ff4672cecf39eb744f8557f967ade73404c0
2014-06-18 10:24:54 +02:00
Noel Grandin
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
weigao
7c5580874c add codes for calling the 3.0 shaders
Change-Id: I0e95879c04047ccb836543d801bda6a01ae469ef
2014-06-17 08:28:21 +02:00
weigao
1e3a1a0509 add codes for compile the 3.0 shaders
Conflicts:
	chart2/source/view/inc/GL3DRenderer.hxx

Change-Id: Idc58635cc1604208317319bfa399a1574979a909
2014-06-17 08:28:20 +02:00
weigao
33a40a317a add shaders for 3.0 glsl version
Change-Id: I52dd49132a9b625e8be51b4d5feb7e567ffa0a6e
2014-06-17 08:28:20 +02:00
weigao
8e19f8ebd8 modify the mouse drag function
Change-Id: I9639b2a29522ba0765f4442c2f78de56388fe754
2014-06-17 07:43:58 +02:00
weigao
af5dfd8af2 add move to default process
Change-Id: I8d562b3e2d1bb83a6e07ed089a3006a109beeece
2014-06-17 07:43:58 +02:00
weigao
a96c575764 modify the click view angle
Change-Id: I8717745d2f503f8ad3c21673a07aed867b5681f9
2014-06-17 07:43:58 +02:00
weigao
6c4ce5f351 modify the default view angle
Change-Id: Ic7c901108a290a9d9c5a8564b6eefa7ed32a9e1f
2014-06-17 07:43:58 +02:00
weigao
c52e440377 modify the perspective view angle to 30
Change-Id: I07b39f8b372368f82137feec3a6d12921fc1ec9f
2014-06-17 07:43:57 +02:00
Katarina Behrens
b8979cae28 fdo#79028: ungroup widgets and Show() them correctly
Showing the whole box (m_pBxMain) shows all children widgets, but
that's not what we want as different widgets must be exposed in
case of date vs. non-date axis.

m_pMt_MainDateStep was then visible at all times, thus bWasDateAxis
was always true and m_pFmtFldStepMain value got unintentionally reset

Change-Id: I4be0b18f181a45fe6bd3cac0594d6a34d875293e
2014-06-13 23:55:52 +02:00
Stephan Bergmann
ad82e0d25e loplugin:staticcall
Change-Id: I3f3adebc0916c96b50e15c68b627e655166e2551
2014-06-13 17:54:23 +02:00
Kohei Yoshida
10f8d24540 fdo#77506: Enable this check.
Change-Id: Ib4ad7c1a1583b9fde1a06dc8e355442f10bb9bec
2014-06-12 11:27:18 -04:00
Markus Mohrhard
fc4f5d2f85 another lifecycle issue fixed
Change-Id: Id8acd1bda30156da8cf5f61537f76f778e1b9c74
2014-06-12 11:59:13 +02:00
Kohei Yoshida
56ca1b7696 fdo#77506: (finally) write a unit test for this.
I've switched from using a Draw document to Writer document due to some
instability with Draw instance in our cppunit run.  The bug is reproducible
either way.

The test is disabled for now, since the bug has yet to be fixed.

Change-Id: I49e0417e1ecbc70f40aab8531237ae98ae58bdd3
2014-06-11 12:00:17 -04:00
Stephan Bergmann
bb761be472 Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions.  There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.

Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
Stephan Bergmann
a92e973b6d Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)

Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
Stephan Bergmann
967157a4ba loplugin:unreffun
Change-Id: I3d5ddbca7760a32231ef7fee19b45bca83667ca7
2014-06-11 07:58:24 +02:00
Kohei Yoshida
7d10da2174 Remove this.
Change-Id: Ie2c64d3254dba35ba3fcb1af2566de84b8b300e2
2014-06-10 21:17:02 -04:00
Kohei Yoshida
81d2c208a4 New unit test for Draw document with chart. Disabled due to weird crash.
No idea why it crashes whatsoever....

Change-Id: Ic46d5a98f21cacb03adb3bc0d6da239bde5d8ce2
2014-06-10 19:48:16 -04:00
Kohei Yoshida
6f6d81c3b6 Consistent naming please.
Change-Id: I8a7e1d0a42aacdc7dcaeda0f7e51db78727f4b54
2014-06-10 14:10:13 -04:00
Stephan Bergmann
4dbeadb9c1 Change SfxTabPage::FillItemSet param from ref to pointer
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)

Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
Caolán McNamara
08b0691bde coverity#1158096 Unchecked dynamic_cast
Change-Id: I9d02b4e9e4c8dfea73cef3970d11e21eaefb80bd
2014-06-10 16:08:08 +01:00
Caolán McNamara
ef68800d96 coverity#1158100 Unchecked dynamic_cast
Change-Id: I3040703b7182d186ac9e27c33295e929b8dc9ffe
2014-06-10 16:08:08 +01:00
Caolán McNamara
0ededb3430 coverity#1158114 Unchecked dynamic_cast
Change-Id: I779e1cae1039886b2d43a025930cc50d7aaac95a
2014-06-10 16:08:08 +01:00
Caolán McNamara
23f6f4fd1f coverity#1158115 Unchecked dynamic_cast
Change-Id: Ic37180d32f1308a5065f547584046e31dae88ea0
2014-06-10 16:08:08 +01:00
Caolán McNamara
5cbd7b68b9 coverity#1158117 Unchecked dynamic_cast
Change-Id: I0d78af6a9aa1f206ceaf0cc9942c2a1e450ea980
2014-06-10 16:08:07 +01:00
Caolán McNamara
6d166057c9 coverity#1158118 Unchecked dynamic_cast
Change-Id: I25cb0dd2d6850565aff8a08e4d3955a497415d93
2014-06-10 16:08:07 +01:00
Caolán McNamara
e2de37687c coverity#1158119 Unchecked dynamic_cast
Change-Id: Iebe5c7349c2eb33b307b52031e6c1337113785c1
2014-06-10 16:08:07 +01:00
Caolán McNamara
0452160624 coverity#1158120 Unchecked dynamic_cast
Change-Id: I1f23edb102a77acac1e32f6f0c3ca918de2bb16f
2014-06-10 16:08:06 +01:00
Caolán McNamara
d2d00424c3 coverity#1158151 Unchecked dynamic_cast
Change-Id: I951694fddb12ebf04316063ef1b06c6f2dcb45e9
2014-06-10 16:08:06 +01:00
Caolán McNamara
6e57eb3aeb coverity#1169822 Unchecked dynamic_cast
Change-Id: If68af1250b285c82539ecf08c713753dc5e74217
2014-06-10 16:08:06 +01:00
Caolán McNamara
8371ef9e31 coverity#1169823 Unchecked dynamic_cast
Change-Id: I85e7a3ab7d52e45e827d404b8195a65323b1b38d
2014-06-10 16:08:06 +01:00
Caolán McNamara
cf7017c89e coverity#1169830 Unchecked dynamic_cast
Change-Id: Ib4b77369d2fbe085c2eb6ad996df9db710990c3c
2014-06-10 16:08:05 +01:00
Caolán McNamara
3b70067fcc coverity#1169831 Unchecked dynamic_cast
Change-Id: I26cdb42dce390b899bc2628eedd4157d6457fcde
2014-06-10 16:08:05 +01:00
Caolán McNamara
2c99adc3e3 coverity#1169829 Unchecked dynamic_cast
Change-Id: I40712dd90398ddd429aa2f1c68db6f7d2238956b
2014-06-10 16:08:05 +01:00
weigao
aa29467981 add global scale matrix
Change-Id: Ied37fdbe92a83ac588ccf14f694ffb53769d92d1
2014-06-10 15:58:25 +02:00
Kohei Yoshida
9455b4eb4b fdo#79676: Write unit test for this.
Added a whole bunch of missing component files for handling flat ODF.

Change-Id: Ib9d84be14327a1fd9ff64573ba1f6ba90e0bfc56
2014-06-10 10:02:30 -04:00
Kohei Yoshida
c5539bb585 fdo#79676: Initialize with a default chart only from the UI.
When creating an embedded chart object during import, we don't want to
create a default chart which would only mess up the chart data.

With this change, ChartModel::initNew() is a no-op.

Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
2014-06-10 10:02:25 -04:00
Michael Stahl
c83f56a10f chart2: MSVC does not like override on destructor
Change-Id: Ib0b00ae64d76e3f867b63d0c16a7095f1aed3ca7
2014-06-10 13:46:25 +02:00
Caolán McNamara
8f49a83b3c coverity#1213562 Uninitialized scalar field
Change-Id: I0161cbe1aeebb1fdc8e19ab5b627b319c4c9f7eb
2014-06-10 10:48:42 +01:00