Commit Graph

348891 Commits

Author SHA1 Message Date
Stephan Bergmann
a3b0d947b0 Work around MSC "'override' cannot be used with 'inline'" bug
Change-Id: If736316402c49153d4c8552672c90552548f90b8
2014-03-26 17:27:01 +01:00
Stephan Bergmann
b3847f3dfd Work around MSC "'override' cannot be used with 'inline'" bug
Change-Id: Icd3b09f098c19268ac888dd6195fb535979557ed
2014-03-26 17:11:29 +01:00
Stephan Bergmann
35ddbcbc42 Fix merge conflicts
Change-Id: I6e099911afec9c4086f620b45656880135decff0
2014-03-26 16:56:44 +01:00
Matúš Kukan
2d832c2648 webdav: Workaround failing unlocking by ignoring certificates when closing.
In neon version, we use xml::crypto::SEInitializer in
NeonSession_CertificationNotify which I see called only once.
For some reason in serf, Serf_ConnectSetup is called every time
we send a command to the server. But that leads to not working
verifySerfCertificateChain in __run_exit_handlers because
xml::crypto::SEInitializer is not available anymore.

Change-Id: I15685256790375dd86eb1b7614da25838d5ce244
2014-03-26 16:39:55 +01:00
Matúš Kukan
06072a9707 remove SerfTypes.hxx
Change-Id: I189e7168562db2ca03fd64745eb1f826b6c9adc2
2014-03-26 16:39:54 +01:00
Matúš Kukan
05671c1f01 unused variables and simplify
Change-Id: Ib2412d5bd3e3db42b972783bb8d17bc6559c9c21
2014-03-26 16:39:54 +01:00
Matúš Kukan
166a934cdf webdav: Implement refreshing of locks.
Change-Id: Ia4a1c7b929dac473dfb5a5fa233c7f0c662a95c6
2014-03-26 16:39:54 +01:00
Matúš Kukan
53e9b3393a webdav: Implement unlocking of documents.
Change-Id: I12c092fa7034702273182ef07431ed00f38df8ef
2014-03-26 16:39:53 +01:00
Matúš Kukan
3648ba0db3 webdav: Store locks in SerfLockStore, so we could unlock later.
Change-Id: If2667e9374917dd1e4c4361378783729761e7dda
2014-03-26 16:39:53 +01:00
Matúš Kukan
c1496e6761 webdav: Parse response of LOCK request.
Change-Id: Ib17de602e2c51eb29b0495ce7411836ceeccf9d4
2014-03-26 16:39:53 +01:00
Matúš Kukan
6e0cc0cd40 webdav: Lock files when opening them.
The implementation is not perfect but good enough as a start.

Change-Id: I6f006ae7a16ee73de20448e1228d9acfd69becb4
2014-03-26 16:39:52 +01:00
Matúš Kukan
9f586e2fbe Remove pointless SerfRequestProcessorImplFac indirection.
Change-Id: If8549893a686c7a665adde0436d377d6d695e5bf
2014-03-26 16:39:52 +01:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Miklos Vajna
8757bea2e8 cp#1000044 DOC import: fProtEnabled means document is not totally read-only
Reading the spec, it seems that we have two cases here:

- if lKeyProtDoc is set and fProtEnabled is 1, then editing forms is
  allowed
- if lKeyProtDoc is set, but fProtEnabled is 0, then the document is
  totally read-only

So in the first case avoid the SetModifyPasswordHash() call to allow
form field editing.

Change-Id: Id0c48e8eb4bde75c5520a7b108fcfada51148faf
2014-03-26 15:40:22 +01:00
Jan Holesovsky
586245eb1f Revert the unwanted submodule change.
Change-Id: I725d89c5c36ce898f7340b270a40d875a13a839c
2014-03-26 15:02:48 +01:00
Jan Holesovsky
57ee15e5f1 These strings are now global resources, define them accordingly.
Change-Id: Ia68249242850ef3d82cc56ceae7e5ef84dd08b5b
2014-03-26 14:58:16 +01:00
Chris Sherlock
b467b85817 Fix tab spacing in include/vcl/outdev.hxx
Change-Id: I98eb64ee6ebad72b534bac8a467a9a334876c2e6
Reviewed-on: https://gerrit.libreoffice.org/8758
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-03-26 12:45:02 +00:00
Chris Sherlock
29bea73595 fdo#74702 Followup to 4d1111aafe4c1$53ca52d045d726799d4b1753142
Forgot to commit... oops!

Change-Id: If73bdb2acb3fdba7e155d6f4ed2b6a249829db0e
Reviewed-on: https://gerrit.libreoffice.org/8757
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-03-26 12:35:07 +00:00
Chris Sherlock
4d1111aafe fdo#74702 Move device specific bitmap drawing to its own function
Device specific drawing has been moved to its own function.
VirtualDevice and Window draw in the same way, so can be shared in
OutputDevice, however Printer has its only specific ways of drawing
so it needs its own method.

Change-Id: I051fee029a1ec022a131bb12588189178c4109b2
Reviewed-on: https://gerrit.libreoffice.org/8724
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-03-26 12:31:22 +00:00
Stephan Bergmann
12d30ef0ca Remove unused macros
Change-Id: Ib4838eacd9240664327292bf12c7a14a8cdfbcf1
2014-03-26 12:28:00 +01:00
Stephan Bergmann
622e9d9030 Expand uses of SO2_DECL_BASIC_CLASS_DLL macro
Change-Id: I6bee19954e930248058128c9e01cc23b3395bf20
2014-03-26 12:24:58 +01:00
Stephan Bergmann
5fb78604c1 Split TYPEINFO into plain and TYPEINFO_OVERRIDE
...where the latter contains SAL_OVERRIDE annotations

Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-26 11:54:55 +01:00
Miklos Vajna
bc5060b32f RTF import: handle Relative{Height,Width}{,Relation}
Change-Id: Ic3a578af9c0808b188a4d196b1c132c0b23f15f7
2014-03-26 11:53:09 +01:00
Takeshi Abe
3952fab4ed Avoid possible resource leaks by boost::scoped_array
Change-Id: I8b57f970b31b12902e3772c3306b71379b8d3fe5
2014-03-26 19:02:52 +09:00
Tor Lillqvist
1c00c606d1 Return two accidentally removed member functions
Change-Id: Ideef97c6ddcde9a3c324084a53792c965c7b6707
2014-03-26 11:24:44 +02:00
Tor Lillqvist
628b07cfc0 Seems we don't need any basebmp stuff in AquaSalGraphics on iOS
No repeatable visible differences in TiledLibreOffice for my test
docs.

Probably we should unify the iOS vcl code even harder with the OS X
code, get rid of the last remains of the pre-tiled-rendering basebmp
bitmap-based stuff.

Change-Id: I2484585d3d0ef5ce758d0a654717d23464464c1a
2014-03-26 10:15:42 +02:00
Tor Lillqvist
99a79ef856 Sprinkle some SAL_OVERRIDEs
Add SAL_OVERRIDE markup to SalInstance and its derived classes for Unix. In
the process, found one pointlessly virtual function (not overridden in any
derived class).

Change-Id: I49e021e77d53b658e664178372b333a13ffdc9aa
2014-03-26 09:55:28 +02:00
Tor Lillqvist
d852df0d6d Bin DestroyVirtualDevice(): Just use delete directly at call sites
Change-Id: I47c67d3d89ab22b07b3ec6fe7ea6e035d21e85b6
2014-03-26 09:08:38 +02:00
Tor Lillqvist
975bbf29df Error: exception specification of overriding function is more lax than base
Change-Id: Iffcc2084e005b27653964ddc6e965744be370a16
2014-03-26 07:46:30 +02:00
Kohei Yoshida
86090ef2fb Make the new OpenGL chart type a compile time option.
And it's disabled for now.

Change-Id: I9a513d757960b61e7b2d6009eabf97a75b6c453e
2014-03-25 22:50:50 -04:00
Kohei Yoshida
44fc32edcd Properly import and export the new chart type to and from ODF.
Change-Id: I38e9813c6eb853dfb92b1537cea0b9ad97473b57
2014-03-25 22:50:50 -04:00
Kohei Yoshida
05efb605b3 Add a new skeleton plotter for the GL3D bar chart.
It plots absolutely nothing. It's just a place holder for now.

Change-Id: I6eb9cc23481391b83f6946a8b49a6176c5b29cd7
2014-03-25 22:50:50 -04:00
Kohei Yoshida
b7c3e85146 Turn this into a regular method.
Change-Id: Idb4dc17971cd37a4cdf99b2c02e61fca14cb3ce2
2014-03-25 22:50:50 -04:00
Kohei Yoshida
45c98588d0 Crash prevention by checking for NULL.
Change-Id: I10a0c2dcee123b884c563c3e6f83e218747e792a
2014-03-25 22:50:49 -04:00
Kohei Yoshida
be1152e0cc List child type for GL3D bar chart type.
For now there is only one child type.

Change-Id: If39a3e75fdae62f0b20769c21e6a4e235ede941e
2014-03-25 22:50:49 -04:00
Kohei Yoshida
56aaa39ff8 Skeleton template class for GL3D bar chart type.
Still very much empty.  It needs to be filled with sub-categories.

Change-Id: Iad7ad34efb264025541b585a92ee2ea7b8fff56f
2014-03-25 22:50:49 -04:00
Kohei Yoshida
e3ec81a1d3 Image for the new chart type.
Change-Id: Idba626c947cc7875bdcdf13677f2161c4d5b68c5
2014-03-25 22:50:49 -04:00
Kohei Yoshida
be89276e63 Add a new chart type "GL 3D Bar" (working name).
Change-Id: I0b0a65bf4f9365a8d522e3c439afe19797b2fdd5
2014-03-25 22:50:48 -04:00
Kohei Yoshida
349a5b72bf Initial skeleton class for the new chart type. Still very much empty.
Change-Id: I5e9eaeb9337d51f59f800f8e676b8bc83b80df70
2014-03-25 22:50:48 -04:00
Kohei Yoshida
003a27a14d fdo#74322: Handle moving of named ranges correctly.
But named ranges are adjusted if and only if the references are absolute.

Change-Id: I6c5287b413884b045f1a798c6c6683aa17863f24
2014-03-25 22:37:10 -04:00
Kohei Yoshida
3edc49d117 fdo#74322: Write unit test for this first.
Change-Id: If16a93ee371e9a4e0d0992fd0a62a4623fc284ab
2014-03-25 22:37:10 -04:00
Bjoern Michaelsen
8bf22e7fe6 related fdo#74981: add a unittest for kicks
Change-Id: I817948d053640b04dab8aaee85e914757b83cfa1
2014-03-26 00:11:30 +01:00
Andras Timar
25b1d86643 typo: bussiness -> business
Change-Id: Id8851321571072df8042a08c2bf350891a9dfcc4
2014-03-25 21:28:38 +01:00
Eike Rathke
e27cc864be added unit test for .xls BIFF enhanced protection
Change-Id: I8f218f8f8ce12525b4c9995567d2864baa610c0b
2014-03-25 20:43:07 +01:00
Eike Rathke
98c6b4149e union of a to be edited range may be distributed over two different records
Change-Id: I1d0047e04394a79134b3333eef35ba0cfe6a8ca1
2014-03-25 20:43:07 +01:00
Stephan Bergmann
cdb473b00a Remove now unused tools/debug.hxx profiling functionality
Change-Id: I13adca8c2f929c8a9226b26ef57b26363dfdf0b3
2014-03-25 18:49:18 +01:00
Stephan Bergmann
62a8fa8fce Remove legacy DBG_PROFSART/STOP calls
...probably better done with callgrind, if still relevant at all.

Change-Id: I2be614c953d41625f7e11ee7881c2f897ee703d0
2014-03-25 18:49:17 +01:00
Stephan Bergmann
671f7130a3 Remove legacy DBG_PROFSART/STOP calls
...probably better done with callgrind, if still relevant at all.

Change-Id: I15069df4e2f271b0c240231f35af2e664a02c296
2014-03-25 18:49:17 +01:00
Stephan Bergmann
2ab3bae2cf Reduce some functions to local
Change-Id: Ia2d7eaaa1381fe46839b0d52a91bdc3a439fa418
2014-03-25 18:49:17 +01:00
Niklas Johansson
e5d7a360e6 Accessibility: Avoid immediate crash in Impress
When Accessibility is active Impress immediately crashes. We need to check that
mpParent isn't NULL before we try to call it's methods. This has been a
problem since at least commit 7ef4a5bd51.
I don't know if it is relevant to bring that back though.

Change-Id: Idaa1f30685205e3a62cec2a60a14791d798391a6
Reviewed-on: https://gerrit.libreoffice.org/8748
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-25 17:10:29 +00:00