Commit graph

359114 commits

Author SHA1 Message Date
Caolán McNamara
0a42632a74 empty Reference
valgrind + bff

Change-Id: Id3c039a46dec5d2d4a4642dfb53d23a76972dde2
2014-08-20 08:57:06 +01:00
Caolán McNamara
e324771991 empty m_aStates
valgrind + bff

Change-Id: I3bd526b7ebf0f4fce5d0c7054809e0dc2908e73f
2014-08-20 08:43:09 +01:00
rbuj
37c49c3058 jurt: Throwable.getCause() instead of Throwable.getTargetException()
As of the JDK 1.4, Throwable.getCause() is the preferred method for getting thrown target exception.

Change-Id: I14f3f9ae52869d1149f92b32562e7fb3293109b5
Reviewed-on: https://gerrit.libreoffice.org/11027
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-20 01:50:57 -05:00
rbuj
b9813addf2 xmerge: Convert a primitive type into a string
Avoid unnecessary temporaries when converting primitive data types into a String.

Change-Id: If361383be52d8258be7c8c9bddf3ba05d5ca92c1
Reviewed-on: https://gerrit.libreoffice.org/11026
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-20 01:48:33 -05:00
Markus Mohrhard
1558b50e4f remove whitespace
Change-Id: I5634bf40e8ccc4ce076409907c13f9c6f52d11a3
2014-08-20 08:17:40 +02:00
Tor Lillqvist
a1a480f91e Wa: C4701: potentially uninitialized local variable 'fVal' used
Change-Id: I579205c4cdc3149ef0c1b01daef32155a13d666b
2014-08-20 09:01:41 +03:00
Miklos Vajna
8b6ce55b90 writerfilter: remove now unused namespace-alias elements
Change-Id: If58b3a9f5b1d79d164bb1c2a7c18aa4f99f00ca8
2014-08-19 23:26:09 +02:00
Miklos Vajna
a5396d64a4 writerfilter: stop reading namespace-alias elements
The same info is already available from oox.

Change-Id: I0725799e1f3ffebf6140ad38a0ce376e5417265d
2014-08-19 23:26:09 +02:00
Valentin Kettner
15295ab6db Refactored SwDoc::GetEditShell .
Removed its output paramater as GetCurrentViewShell should be
used instead and added a const version.

Change-Id: Iad8b57553b6e93e3472ce8c6905d08e8d49af770
2014-08-19 21:57:06 +02:00
Eike Rathke
5a05115ee2 more flexible handling of current date/time hotkeys
Let Ctrl+; current date and Shift+Ctrl+; (Ctrl+:) current time behave more
flexible, depending on the formatting (and as such the type) of the existing
cell content.

key date on time  cell => current date + time of cell => date+time formatted cell
key date on other cell => current date => date formatted cell
key time on date  cell => date of cell + current time => date+time formatted cell
key time on other cell => current time => time formatted cell

Change-Id: I2ccbfbab3c50c36a72c4db4696520e32f94caefa
2014-08-19 21:54:46 +02:00
Eike Rathke
11f145d90f a date is a date, without time
And use DateTime instead of manually concatenating Date and Time.

Change-Id: I6f9fb988beea2a9a17c976d3b98860c4f9ed063b
2014-08-19 21:54:44 +02:00
Caolán McNamara
f47baab6d3 Resolves: fdo#82355 crash on loading ppt
regression probably triggered by...

commit 2e3c45afc6
Date:   Fri Mar 4 07:38:16 2011 -0800
Remove usage of deprecated List container.

but that just stopped at the first NULL by chance

Change-Id: I767e3bc3130d99cedceb4172857d1741c677b19b
2014-08-19 20:49:17 +01:00
Tor Lillqvist
a0de5cc93d fdo#529470: I can't remove a path in AutoText dialog
This is, not surprisingly, somewhat weird code, but I think this patch does
what is necessary, it does fix the bug.

Change-Id: Ie1947b311f1455ba48a904f5ef42ad92899fac31
2014-08-19 21:03:05 +03:00
Luboš Luňák
bbc2f9e990 fix last commit
Change-Id: I32d3f99a2f090637d6891123f91093c0bcceddf4
2014-08-19 18:35:35 +02:00
Luboš Luňák
6fc89b66df try to fix windows build
Change-Id: I7620d71fe34b5f7bbd9bf9bf63b634d85cdb4d6c
2014-08-19 18:30:11 +02:00
Caolán McNamara
749f7548b4 only subtract height of hscroll if visible
otherwise infinite loop in extensions update check

Change-Id: I0dbf4f34208f1bf0854e365006a79470b26571f3
2014-08-19 17:20:34 +01:00
Miklos Vajna
788632dcb0 DOCX export: handle SDT end right before a section break introducing headers
Change-Id: I0fab5ae4335ed6016d31aa243b131899c3154388
2014-08-19 18:19:04 +02:00
Miklos Vajna
1c06dc14a1 writerfilter: stop reading namespace-alias elements in factoryimpl
Change-Id: I52c2298c9583617481069040e118520cf8935c6d
2014-08-19 18:19:03 +02:00
Caolán McNamara
69d673b1ae dangling unused .ui file
Change-Id: Ifc1968e5474c7f252960d4b790d6f01db29cab8a
2014-08-19 16:39:53 +01:00
Luboš Luňák
869a3e1b7f split CppunitTest_sw_ooxmlexport into several tests
In order to allow running them in parallel. There are already enough
tests to make it run for a couple of minutes and it's annoying to
see only once core busy with it.
I intentionally left the original file at the same name, without 1
appended, in order to avoid merge problems.

Change-Id: I097c45c34797cc68f5d1790cf31eefc96fbaf44e
2014-08-19 17:25:00 +02:00
Caolán McNamara
36490fff3f facepalm: nAvailHeight is not derived from allocation Width
Change-Id: Ic99c6519b02c546e0d3574cb756e3fb172d1ff52
2014-08-19 16:14:23 +01:00
Takeshi Abe
82cb89fa05 Avoid possible memory leaks in case of exceptions
Change-Id: I41392572692bc219ae18ad89d95fc8be47d6812c
2014-08-19 23:35:41 +09:00
Caolán McNamara
1ab0e8717b guard against division by 0
valgrind + bff

Change-Id: I5fa40f7a9759c98bb70ee6eb854dd9b376401f89
2014-08-19 15:22:13 +01:00
Takeshi Abe
44afb981a5 fdo#75757: remove inheritance to std::vector
by replacing it with a typedef.

Change-Id: Iaa88086e3c5195012982dd625bfd589de2e484a2
Reviewed-on: https://gerrit.libreoffice.org/11017
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-19 08:30:44 -05:00
David Tardon
ca54b6ea90 use SolarMutex instead of a custom GdkThreadLock
C.f. commit 861a1c2dea.

Change-Id: I9f6cf917c63ee8c0db5461529c4ee277e231368f
2014-08-19 15:22:45 +02:00
Noel Grandin
4b4bff3402 java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19 14:57:18 +02:00
Noel Grandin
c552aac9f8 java: use 'Byte.valueOf' instead of 'new Byte'
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
2014-08-19 14:57:18 +02:00
Noel Grandin
0764292c5d java: use 'Short.valueOf' instead of 'new Short'
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19 14:57:18 +02:00
Noel Grandin
8a2c6c29af java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19 14:57:17 +02:00
Noel Grandin
ff0ad0493e java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19 14:57:17 +02:00
Noel Grandin
be1bb7b1cc java: use Boolean.valueOf instead of instantiating Boolean objects
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19 14:57:16 +02:00
Noel Grandin
56ef5533fc java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19 14:57:16 +02:00
Noel Grandin
1e6f0b2d8b simplify CallFormWizard
Change-Id: I0dfdc1acb0b550c1eeed16498f3e791e0123c4eb
2014-08-19 14:57:16 +02:00
Noel Grandin
3a8d351988 java: remove unused methods
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
2014-08-19 14:57:13 +02:00
Noel Grandin
8b65a61788 fix intermittent crash in make check
The original crash was in GtkSalMenu::Active, triggered from
RefreshMenusUnity and it looked like the refresh method was accessing
already freed memory.

Change-Id: Ib07d839a976869eb8719e71e0653f1a72e3b0e80
2014-08-19 14:57:13 +02:00
Miklos Vajna
b3f4709d73 DOCX export: handle SDT around floating tables
Change-Id: I07fedc201c51008baca3254dcc099f0182aa4c72
2014-08-19 13:03:33 +02:00
Markus Mohrhard
8ae264eb2f enable test after fixing the validation error
Change-Id: I99cd2c23d640eef744b292d3643baab6d42d191f
2014-08-19 12:48:53 +02:00
Ptyl Dragon
b00ce3241e fix for PtylTestEncryptionAndExport (on sofficemain.cxx)
Change-Id: I2857dae2df3b3e7e89b5bd56b35a4b8f3868920e
2014-08-19 13:14:10 +03:00
Miklos Vajna
914431e165 DOCX export: handle multi-para SDT's ending right before a table
Change-Id: I47ea5fd6e1b4d9d5a2893112efdcd810c4c84cfb
2014-08-19 10:34:52 +02:00
Eilidh McAdam
7b31e45ec7 Make Draw use paper size when printing - fdo#63905
Previously, Draw/Impress use the default size from the printer.
Now Draw uses the paper size (specified in page formatting).
Impress still uses the old method - not sure if this is correct
but printing handouts etc probably complicate print/paper size.

Change-Id: If90bae4ac59cd95dd50fcd8deb25fd900756193e
Reviewed-on: https://gerrit.libreoffice.org/9866
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-08-19 03:34:34 -05:00
Noel Grandin
0c8c3a536b fix java1.5 build compatibility
accidentally introduced by me in commit 0477e6c3 "java: add
@Override annotation to overriding methods"

Change-Id: Ieccd78f57282778a5e8f805f7a40f5e6a24e9498
2014-08-19 10:21:22 +02:00
Zolnai Tamás
fd63ba4574 Fix Insert 3D Model file dialog's "All supported formats" filter
It seems on some system the file dialog does not like spaces
between the formats.

Change-Id: Ifa69f4f210061209f7f0aa9223417d06b06b577a
2014-08-19 10:09:37 +02:00
Caolán McNamara
83991055ee can actually manage to ask createStream for missing streams
writerperfect::(anonymous namespace)::OLEStorageImpl::createStream(rtl::OUString const&) (WPXSvInputStream.cxx:260)
writerperfect::WPXSvInputStreamImpl::getSubStreamByName(char const*) (WPXSvInputStream.cxx:201)
MWAWInputStream::unzipStream()
MWAWInputStream::MWAWInputStream

valgrind + bff

Change-Id: Iaecb8b7f05ed4369ddd37b34166dc3c3388ffb4d
2014-08-19 09:01:09 +01:00
Chris Laplante
341d9c4f08 odk: Clean up comments
Change-Id: I38aa34192244cdd29e1cce7ac612aa9cd5f9e8a1
Reviewed-on: https://gerrit.libreoffice.org/11006
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-19 02:54:14 -05:00
Caolán McNamara
28df98abec empty m_aStates
valgrind + bff

Change-Id: I7b45e10471de77bd0481adf0bccdbf852c36d815
2014-08-19 08:40:54 +01:00
Chris Laplante
7b33dbb253 svx: Cleanup ASCII art and useless comments
Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71
Reviewed-on: https://gerrit.libreoffice.org/11011
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-19 01:28:24 -05:00
Miklos Vajna
23b49f2390 writerfilter: fail on mistyped namespace URL's
And also fix one typo detected by this new check.

Change-Id: Iaa7a4bb0b6dc3f81e5dd0b352584029cfed4ffbb
2014-08-19 08:17:34 +02:00
Miklos Vajna
8957c9419a error C2296: '<<' : illegal, left operand has type 'const char [28]'
Change-Id: Ibc25771002bd8ac9b4a2aca9f3c2965b8da9014e
2014-08-19 07:34:51 +02:00
Lionel Elie Mamane
3dd12b4a5c fdo#82427 disambiguate "NOT LIKE 'foo'"
Change-Id: Iab383639ea73cc87c03f4f42433bc9ccfcd988ef
2014-08-18 22:23:57 +02:00
Miklos Vajna
a3a5d4fcdc writerfilter: sort namespaces in OOXMLStreamImpl::getFastParser()
The motivation is that <namespace-alias> elements in model.xml are
redundant, as the same info is available from oox as well. But without
sorting, it's impossible to generate the same output, as the (not
interesting) order isn't the same there.

Change-Id: I634c62e43d1b54100bfa623c6f43dddd34279fb1
2014-08-18 22:17:37 +02:00