Commit graph

354632 commits

Author SHA1 Message Date
Jan Holesovsky
e705c37c44 fdo#62719: Set more relaxed clipping region.
It actually is so that the line is in the output PostScript; and it is even
visible sometimes when you zoom the file (like, when you are zooming
continuously, the line is appearing and disappearing).

I guess it is a corner case of the clipping, highly dependent on the exact
settings, so let's be more relaxed and clip a bit less (as we already do for
right/bottom).

Hopefully some other functionality does not depend on this exact clip
setting ;-)

Change-Id: I7080ad3ff730408296f9e9dec7a0b74ac4afca7d
2014-05-28 13:02:45 +02:00
Christian Lohmaier
86908b38da strip trailing spaces when reading autogen.input/lastrun
Change-Id: I9d47d2d4c6d2eb14968bfd79ef2a406c57afa21d
2014-05-30 11:19:30 +02:00
Tor Lillqvist
340bcdea84 Revert "Add function to catenate n copies of a string"
COMPHELPER_DLLPUBLIC of an inline function is wrong. Nevermind that I just
followed the example of the preceding functions.

And it is too bikeshedding-inducing anyway to use recursion.

This wasn't used anywahere yet anyway in committed code, just locally in a
tree of mine. Will add a local copy there.

This reverts commit ee0d7d4c52.
2014-05-30 12:09:18 +03:00
Noel Grandin
5d13b6e821 fix . in #define
as a consequence of
commit 9e3cc6b474
"fdo#68849: Add header guards to all include files"

Change-Id: Ibabf0d88ff4d928311ad5079ac3aa1fd6a2c1e6d
2014-05-30 09:01:35 +02:00
Noel Grandin
c8905a124f fix / in #define
as a consequence of commit 3ddb928061
    "fdo#68849: Add header guards to all include files"

Change-Id: I02aea067276017a3b27c28fb45ac48a135697bd3
2014-05-30 08:50:47 +02:00
Jens Carl
9e3cc6b474 fdo#68849: Add header guards to all include files
Added header guard to files in directories i18npool/, include/, and io/

Change-Id: I7ba5b5f0ffdf5dedb8fd40e8efa06936e7c23591
Reviewed-on: https://gerrit.libreoffice.org/9558
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-30 01:45:21 -05:00
Jens Carl
bcd5da6cb3 fdo#68849: Add header guards to all include files
Added header guard to files in directories forms/ and fpicker/

Change-Id: I5a3a2b1f2aa81d048959cb3223e03ac985539f33
Reviewed-on: https://gerrit.libreoffice.org/9557
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-30 01:44:33 -05:00
Jens Carl
3ddb928061 fdo#68849: Add header guards to all include files
Added header guards to files in directories desktop/*, and embedserv/*

Change-Id: Idaffcc0539b84962ed7c132cb20078512799d433
Reviewed-on: https://gerrit.libreoffice.org/9556
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-30 01:44:03 -05:00
Jens Carl
54b85bf51e fdo#68849: Add header guards to all include files
Added header guards to files in directories avmedia/, basegfx/, chart2/, and
connectivity/

Change-Id: I94ec438ec918ccef1c518edfd9ab4944e9e2961b
Reviewed-on: https://gerrit.libreoffice.org/9555
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-30 01:43:33 -05:00
Markus Mohrhard
82e1456e9a remove fsanitize=address from libgetuid.so makefile
Change-Id: I3d292638b76ed09d84df36d096f70c9496a23fdf
2014-05-30 05:16:46 +02:00
Kohei Yoshida
a916b6ff7f Detach all DocBasicItem objects upon process termination.
To prevent rogue DocBasicItem objects (which are global objects) from
attempting to stop listening after the main app is dead.

Change-Id: I68a667137ca4e0eff18278f4d2d5dd67466eaf34
2014-05-29 21:59:48 -04:00
Kohei Yoshida
5a827671d1 Avoid static local of a singleton. This crashed writer unit tests.
Change-Id: I7c5f2d372676cdb317a8dad636bf1aab7dd5db37
2014-05-29 21:59:42 -04:00
Kohei Yoshida
699e97ebc4 Don't forget to dispose the component here.
Otherwise, none of the associated SfxViewFrame, SfxBaseController,
SfxObjectShell, SfxMedium etc would get destroyed which would ultimately
lead to the .~lock.foo file not being deleted upon exit.

But for this to work, the client code has to make sure that its
LibreOfficeDocument instance gets destroyed when it finishes its thing.

Change-Id: Id45eda526c1496712e4314a947e994eba5c3fa68
2014-05-29 20:35:05 -04:00
Miklos Vajna
105b36ce11 writerfilter: unused analyzestage2.xsl
Change-Id: Ie9442ef37c044de686249379aa1463d3384cb2ba
2014-05-29 21:47:36 +02:00
Julien Nabet
839dde414f cppcheck: consecutive return/break/...
Change-Id: I171df68539fc41046b706157c04ab1e8cc1e60ca
2014-05-29 20:46:30 +02:00
Julien Nabet
c46cc5751b cppcheck: zerodiv
Change-Id: I09e1c86bdda301c11700ffe05d4a3d83b7a1104d
2014-05-29 20:46:29 +02:00
Julien Nabet
1af3579ecb cppcheck: unused variable
Change-Id: If497a2bbcc13702a960f510b3daf3bf7dc12d4c7
2014-05-29 20:46:29 +02:00
David Tardon
8dd624128b fix copypasta
Change-Id: I397426edff584b29210b4df925677893cda35cc7
2014-05-29 19:27:38 +02:00
Lionel Elie Mamane
1380ddf85a Allow STYLE_OPTION_MONO to be unset from toolkit-created window
This was keeping form controls (e.g. CheckBox and RadioButton) to
transition from flat style to 3d style, while the 3d-to-flat
transition was allowed, making flat some unescapable pit of doom.

Whatever the goal of that pinning, it will have to be achieved in a
different way.

Change-Id: Icc4dfb9673a7dfe4a7d8726fbfd23f75499f8b41
2014-05-29 17:55:50 +02:00
Lionel Elie Mamane
ef530d0a2c fdo#75364 flat style and 3d style were swapped
Change-Id: I929f8f63e8017727595be30f4e56f3aabeec2b1e
Reviewed-on: https://gerrit.libreoffice.org/9549
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-29 10:52:42 -05:00
Lionel Elie Mamane
db681394e0 Update comment to reality... many properties now, not one.
Change-Id: Icc81d3067969d1d61182865d36ecabec4e7f85b7
Reviewed-on: https://gerrit.libreoffice.org/9551
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-29 10:52:16 -05:00
David Tardon
895d63be19 these formats are supported by libmwaw 0.3.x
Change-Id: Ie045a3d700d498d58bad1bfcaf4cfd81b63005a6
2014-05-29 17:19:19 +02:00
David Tardon
e120b369f1 enable integration test for libmwaw draw import
Change-Id: I2109b948971776f06c3574ad6e7a9bebc33a40b3
2014-05-29 17:19:19 +02:00
David Tardon
64a9f9968a enable integration test for libmwaw calc import
Change-Id: I9ff3ed6b74d93483a2157087707c5ec47888dd6a
2014-05-29 17:19:19 +02:00
David Tardon
89e65184bc fix detection of Keynote 3 documents
Change-Id: I1c3e6b2809ee8b63f6f4db886bf6358b668b505f
2014-05-29 17:19:18 +02:00
Herbert Dürr
507efabe8b Resolves: #i124922# allow late setting of the font color...
for CoreText-layouted text

(cherry picked from commit 42f9768f771457c53a9f1e6a3581b2df9856401f)

Conflicts:
	vcl/aqua/source/gdi/ctfonts.cxx
	vcl/aqua/source/gdi/ctfonts.hxx
	vcl/aqua/source/gdi/ctlayout.cxx
	vcl/source/gdi/outdev3.cxx

Change-Id: Ie2685ab80ca87ea72e25f18d02f883fb36c24a36
2014-05-29 16:13:51 +01:00
Miklos Vajna
6828498283 SwXShape::getPropertyStates(): handle textboxes
Change-Id: I5286a48e5e5dcb0140f1dcf5a5ae733e3881d2b2
2014-05-29 17:13:30 +02:00
Caolán McNamara
b81cd3d116 MAXROWCOUNT-1 -> MAXROW, same number but tidier
Change-Id: I710365e8e44923c320203f749da84323ffa3d063
2014-05-29 15:34:50 +01:00
Caolán McNamara
f48f5138ec convert from NId to FamilyId instead of FamilyId to NId
should be equivalent for comparison purposes

Change-Id: I45ed21ee3b45425b5e1ca39e0774c6d34cd2ee76
2014-05-29 15:34:50 +01:00
osnola
696c8edf7a Add new libmwaw's database/spreadsheet formats...
Change-Id: If07a9e548e1db15b403126263f63d9d09575eb95
2014-05-29 16:22:30 +02:00
Jens Carl
626a428367 fdo#68849: Add header guards to all include files
Added header guards to files in directories xml*/*

Change-Id: Ia5dfb9ab494bfbfae7537f2d54ff11331dc8c922
Reviewed-on: https://gerrit.libreoffice.org/9539
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-29 09:02:51 -05:00
Caolán McNamara
c979b886e2 define->endif
Change-Id: I3b97d4473b1a1000a1de1fdc96525333948f73d5
2014-05-29 15:01:39 +01:00
David Tardon
b6ea5de5ed add writerperfect calc integration test
Change-Id: I3ce072f5f7d54b063988f8413251eab00f5321e4
2014-05-29 15:36:13 +02:00
osnola
eccfc72781 Make the wdb/wks and GreatWorks(draw) work
Change-Id: I1a736a511e6007a4ed6413eb8d9b8e364d73f765
2014-05-29 15:36:13 +02:00
osnola
e1fa08fe92 Try to add support for WKS/WDB files...
Change-Id: I0ff1cd35be0e1546a156bc673770a920ad2ca444
2014-05-29 15:36:13 +02:00
David Tardon
243e6a98d8 use the right XML import service
Change-Id: I45637984f02e3363812ff8c9f0cbd3464786f4de
2014-05-29 15:36:13 +02:00
Zolnai Tamás
1f1c3b2966 OGLFrameGrabber: use reference instead of pointer
Change-Id: Id21138ce2a5d8e764407f42afa2b21464da70e45
2014-05-29 15:05:28 +02:00
Zolnai Tamás
c90a742ed5 OGLWindow: no need to call update after changes, timer takes care of it
Change-Id: Ifc5ecf4ec3e385293889c82a3b678a8dbcd3edbb
2014-05-29 15:05:28 +02:00
Miklos Vajna
ac687b4d6a SwTextBoxHelper: use UNO_NAME_* constants
Change-Id: Ie2ce95f46c19fa6c693619242a65bccc442a7fe7
2014-05-29 14:43:44 +02:00
Miklos Vajna
6823b19257 SwTextBoxHelper::syncProperty(): no need to pass the property name
Change-Id: Ic2f6ae15fd81826d2bc6f8796e33c3c93b34e240
2014-05-29 14:43:44 +02:00
Miklos Vajna
3e26685360 SwTextBoxHelper::create(): initialize position
The situation is a bit more complicated here,
drawing::XCustomShapeEngine returns the text rectangle in absolute
coordinates, but that's on the drawpage. So count the relative
coordinates, and then just adjust the position we got from the original
shape.

Change-Id: Ibfbc183e5170037c8c281d61ce802a19a7acda17
2014-05-29 14:43:44 +02:00
Miklos Vajna
ad8aeb6e02 SwTextBoxHelper::create(): initialize size
On import, syncProperty() takes care of this, but in case the user
interactively adds a textbox, when we need to handle the size in
create() as well.

Change-Id: I9428a682dbf70550bdfd081900e8098aeb64d38f
2014-05-29 14:43:44 +02:00
Zolnai Tamás
cd0ff1b3c2 OGLWindow: remove unused zoom level
Zooming is solved on a more sophisticated way.

Change-Id: I0386ace8a3751d708ac86ff0ddf0836c79ae603f
2014-05-29 14:42:29 +02:00
Jens Carl
49a0d8eedf fdo#68849: Add header guards to all include files
Added header guards to files in directory extensions/*

Change-Id: If6a1642d726732fa05735c721f31b6fc7c405608
Reviewed-on: https://gerrit.libreoffice.org/9537
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-29 07:39:58 -05:00
Luboš Luňák
df07d6cb9f handle direct formatting for numbering in .docx (bnc#875717)
Change-Id: I3ed0f926e79f3878c5702c2becae97d99d00e201
2014-05-29 14:34:50 +02:00
Tor Lillqvist
ee0d7d4c52 Add function to catenate n copies of a string
Change-Id: Iba203e18fea2a374e0e0b5c988012ee8fd5369e7
2014-05-29 15:16:51 +03:00
David Tardon
5dfb6e74c6 re-enable libe-book integration test
Change-Id: I217183d55607f16c3b996b27b131953962afee96
2014-05-29 13:33:50 +02:00
David Tardon
2ac1d3949c parse zipped FictionBook 2 files again
Change-Id: I04eda7844a5557f834f3ada2cef991b0a181c8a0
2014-05-29 13:33:50 +02:00
David Tardon
5fde8e38c1 fix return value for libe-book import filter
Change-Id: Idd84489a3123d506166a24ff5c85a4e7f75ee676
2014-05-29 13:33:49 +02:00
David Tardon
b2719a71a2 organize the test data files by test
Change-Id: I769e7fc77513c795d51a763bbe3f1192c6fe4ac7
2014-05-29 13:33:49 +02:00