Commit Graph

350104 Commits

Author SHA1 Message Date
Markus Mohrhard
dfb2ab0cee add initial code for creating 3D bar shapes
Change-Id: I55489fad8723f204003fe502eea5e02de4c8d6ef
2014-04-08 04:38:19 +02:00
Markus Mohrhard
e7b79ef045 most likley nobody has used that profiling code in years
Change-Id: I6ad7aea0d77b54509c3c919d0015f3a94118a398
2014-04-08 04:38:18 +02:00
Markus Mohrhard
46edb178cb put some functions into an anonzmous namespace
Change-Id: I39357685bfd3b2e556d0c6f83a3833fd64bc7e52
2014-04-08 04:38:18 +02:00
Kohei Yoshida
615f6aa293 fdo#75741: Share the context objects to avoid poor performance.
Change-Id: I1015dbfa9e2220cd23244dae17ee8dc4828c6a67
2014-04-07 21:30:35 -04:00
Chris Sherlock
97043e70ef Remove unnecessary ImplDrawMask function in OutputDevice
Every DrawMask variant calls on a final DrawMask - we duplicate code
and there is an unnecessary private ImplDrawMask function in
OutputDevice. We should just forward calls to DrawMask.

Change-Id: Ice24598e3a437ca51a047f6006acc5a66198ff22
2014-04-08 08:15:02 +10:00
Matúš Kukan
702d79a3f8 Find apr and serf libraries in --enable-dbgutil Windows build.
Change-Id: I06af5605ac5cf8606864b7c42527aa567571341a
2014-04-07 23:54:46 +02:00
Kohei Yoshida
355baf5734 fdo#75741: Re-implement CompileNameFormula for formula groups.
Change-Id: I57e1e464ac5f7abc10ce5ea5752e036ddb6cf6d7
2014-04-07 14:43:16 -04:00
Kohei Yoshida
137c288978 fdo#75741: Write test for this.
Change-Id: Ibd3a2efe0a195b7c402572b0efb5c03183df9cf8
2014-04-07 14:43:06 -04:00
Andrzej Hunt
f01792dda1 scp2: move firebird into base.
Change-Id: I35f9b2dcb821bda0ea97de12a8ae8d27915f6b3e
2014-04-07 19:33:22 +01:00
Tor Lillqvist
53a0914c5c Bin empty @seealso, @param, @return etc metacomments
Change-Id: I1590c20c4080578f5b528f4d6d43749e4e939fde
2014-04-07 19:56:50 +03:00
Miklos Vajna
2a7fdf2a7b fdo#77140 embeddedobj: avoid unneeded conversion in ConvertBufferToFormat()
The primary reason is not performance: on export currently we loose some
EMF+ properties. While it would be good to fix all those problems one by
one, this is a small fix to avoid all kind of roundtrip problems in this
situation.

Change-Id: If5e1c1eabd8290f36b538e374c9707ae17097786
2014-04-07 18:09:12 +02:00
Stephan Bergmann
6ac0e1399a Remove silly PUT_SEMICOLON_AT_THE_END
...and rather live with macro calls not terminated by semicolons until those
macros are gone for good anyway.  Completely remove unused
DECLARE_UNO3_XCOMPONENT_DEFAULTS.

Change-Id: I0d4eb5a91736004b0da2b09fce860e57f6d1ddbd
2014-04-07 17:27:39 +02:00
Tor Lillqvist
a8dd89b49e Fix thinko
Change-Id: If6246cf325b7962c5fa60216f0da9a2220255e71
2014-04-07 18:01:31 +03:00
Tor Lillqvist
801a8cd336 Add somewhat ridiculous debug hacks for CoreGrahics drawing debugging on iOS
When the environment variable DRAW_INCREMENTALLY_FROM is set to a
number, we want TiledLibreOffice to loop, initially performing only
that number of drawing operations in AquaSalGraphics, then wait for
some seconds, and redraw. Next time perform one operation
more. Repeat.

Implemented in vcl by surrounding the entry and exit(s) of the drawing
functions in AquaSalGraphics with macros.

All this is active only for iOS and in a dbgutil build.
2014-04-07 17:56:04 +03:00
Tor Lillqvist
57b44c3c66 Log correct depth for the created CGBitmapContext
Change-Id: Icbcc4027d3fd9cb195c5fc6fd50f1ffaa7ce0d28
2014-04-07 17:56:04 +03:00
Tor Lillqvist
7bda773a96 Fill these buffers, too, with easily recognizable junk in dbgutil mode
Change-Id: I7ad8ae6b4995b45deea18270348f6ce626aa1ed6
2014-04-07 17:56:04 +03:00
Tor Lillqvist
0e0014ded0 Don't bother logging the CGContextSetLineWidth() here either
Change-Id: I95860cd9edec474b656a7f4cc2847ef48868d699
2014-04-07 17:56:03 +03:00
Tor Lillqvist
3ecab6fd71 I think we should begin a new path in drawPolyLine()
Change-Id: I113ab237561ae83a2d256be7ff14bea6432f0d06
2014-04-07 17:56:03 +03:00
Tor Lillqvist
cd0417890d Add a couple of CG_TRACEs
Change-Id: If1f3f4aafd6fde4fcf916b31e7447667baa1bfd0
2014-04-07 17:56:03 +03:00
Stephan Bergmann
978ceb4e2a Typo
Change-Id: Ie264bfec4a8c34adcaa45c0a5cc43c1109d31c95
2014-04-07 16:52:01 +02:00
Stephan Bergmann
c90588635e Fix namespace ambiguity
Change-Id: Ie32085d67157a48cef2713eec5495d01b7d5867c
2014-04-07 16:43:41 +02:00
Markus Mohrhard
833d9c7b73 fix copy&paste error
Change-Id: Iae918ba6d18c0ce2cdaab6a799fd5147fd0f4bff
2014-04-07 16:37:30 +02:00
Chris Sherlock
0f85279797 Move functions back out of OutputDevice so they aren't exported
Moved DoesActionHandleTransparency and IsTransparentAction back to
being ocal functions in an anonymous namespace so they aren't
exported.

Change-Id: Ic8335155c1a32035b02caacb29821bbd26197e49
2014-04-07 23:54:16 +10:00
Luke Deller
72ef0d88e9 Ignore sprmTFCantSplit90 in .doc file per MS spec
Microsoft's new .doc file format specification says to ignore
sprmTFCantSplit90 in favour of (the older!) sprmTFCantSplit.

This seems to have confused the OO developer who must have been trying
to reverse engineer this without documentation: the table parsing code
gets sprmTFCantSplit90 and sprmTFCantSplit the wrong way around.

This commit removes handling of sprmTFCantSplit90 according to the
instruction in the Microsoft file format specification.
http://msdn.microsoft.com/en-us/library/dd951612.aspx

Change-Id: Ic9d3dddf102d6af0a061d2e8b68de3cf5bd9bae1
Reviewed-on: https://gerrit.libreoffice.org/8885
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-07 08:52:30 -05:00
Luke Deller
6a7d04a9cb Rename .doc SPRM IDs to match current MS specs
I understand that Libreoffice's names for SPRM IDs come from old
documentation for WW8 (Word '97), plus some later additions named by
OpenOffice developers as they encountered newer SPRMs in the wild.

Meanwhile Microsoft has released newer documentation which supplies
names for these previously undocumented SPRMs, plus it renames some
WW8 properties to have the suffix "80" to make room for newer
versions of those properties.

This commit aims to bring LibreOffice's SPRM ID names in line with
the current file format specification from Microsoft.
http://msdn.microsoft.com/en-us/library/dd923581.aspx

Change-Id: I904c1db17a776e2d9e6076f87369160e3b80f2e4
Reviewed-on: https://gerrit.libreoffice.org/8884
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-07 08:47:44 -05:00
Chris Sherlock
a3c5ed4918 Minor change to comment in print2.cxx
Change-Id: Iacf42f6f4ae873a9af6fc60687f54549fa3774c0
2014-04-07 23:28:14 +10:00
Chris Sherlock
e6997a8e40 Bring static functions into OutputDevice as private functions
Also rename them to something saner. ImplIsActionSpecial in particular
is not a particularly useful function name, so updating this for
clarity.

Functions renamed:
+ ImplIsActionHandlingTransparency() -> DoesActionHandleTransparency()
+ ImplIsActionSpecial() -> IsTransparentAction()

I've also updated some of the comments to clarify.

Change-Id: I6c9d0c33d96ce40af2c877b52da66de17ed8ce78
2014-04-07 23:16:42 +10:00
Tomaž Vajngerl
95e220de1d sw html: revert license content changes
Change-Id: I30d8a129ea563c2ddb2ca70f021e4e2d02db7bd9
2014-04-07 14:48:30 +02:00
Caolán McNamara
2c106c826f coverity#708141 baseclass mnPageCount is unused
Change-Id: I65be7d072bb8762feaf22158104d58f0c0149f33
2014-04-07 13:47:05 +01:00
Caolán McNamara
6ead5e3238 coverity#708138 VisualState::SetMouseOverState sets things that noone reads
Change-Id: Ifc78a7c656520b779559362e309f6971ecb1f573
2014-04-07 13:47:04 +01:00
Caolán McNamara
867fdeaac2 coverity#708137 Uninitialized scalar field
Change-Id: I27966ee56ceac9a82fe901e942540c8e5d9c93dc
2014-04-07 13:47:04 +01:00
Caolán McNamara
2ae814b415 coverity#708134 Uninitialized scalar field
Change-Id: Id00f771bb7ba80c60aae5f94050319b26aa2c861
2014-04-07 13:47:04 +01:00
Caolán McNamara
a2c1d602a2 coverity#708132 Uninitialized scalar field
Change-Id: I24496262cc2101e47b83878dc0c7cef963471a5c
2014-04-07 13:47:04 +01:00
Caolán McNamara
f50b76ae8a coverity#708131 Uninitialized scalar field
Change-Id: I95ad784b96a130a7549266ebda883389941cf962
2014-04-07 13:47:04 +01:00
Caolán McNamara
dcfa6ba11f coverity#708128 Uninitialized scalar field
Change-Id: Ic22b6640ba6b87769bdf00bc630d463de1ba04ad
2014-04-07 13:47:03 +01:00
Caolán McNamara
7ebd6b5dcf coverity#708126 Uninitialized scalar field
Change-Id: Ib5dfaaf60551ed87c650863388e2e81b899bd253
2014-04-07 13:47:03 +01:00
Caolán McNamara
b89813ea45 coverity#708124 Uninitialized scalar field
Change-Id: Id5cb00b710a91c63eff40025b6c91a985ea90ad7
2014-04-07 13:47:03 +01:00
Caolán McNamara
bf39758029 coverity#708123 Uninitialized scalar field
Change-Id: I3161342b7033e376ef3fb49ffd63b4577ef18811
2014-04-07 13:47:03 +01:00
Caolán McNamara
f0efb472b1 coverity#708121 Uninitialized scalar field
Change-Id: I73d128c82281f252af62f0318dd1d15e11c0e9a7
2014-04-07 13:47:03 +01:00
Caolán McNamara
d666ce1848 WaE: -Werror=uninitialized
Change-Id: I6cda8d722299df581326ad4c7391609a480bd39f
2014-04-07 13:47:02 +01:00
Caolán McNamara
61a7ece840 coverity#708120 Uninitialized scalar field
Change-Id: I097d0bc2df695df0e3d170efc0bee39f8b00a954
2014-04-07 13:47:02 +01:00
Caolán McNamara
67b3a97283 coverity#708119 Uninitialized scalar field
Change-Id: I746a90d5af339fc0dc7471e1e7fed88e6933b50e
2014-04-07 13:47:02 +01:00
Caolán McNamara
2953243732 coverity#708117 Uninitialized scalar field
Change-Id: I7ef430d48c7a984bc68f89fdcca821ddd2265853
2014-04-07 13:47:02 +01:00
Caolán McNamara
d913a5a9df untangle the bFmt == 2 hack
Firstly, IsFormat is unused so there's no "escape" of
bFmt back into the outside world.

Then bFmt has two purposes.

Purpose 1 is 'not be a format dialog, be a format dialog, be a format dialog but hide standard button'

so, lets just add an explicit "Hide standard button" method and call
it in the (apparently) one place where it's necessary.

Purpose 2 is to flag that "BaseFmtHdl" was called from clicking
the "Standard" button at which point its set to 2.

SfxTabDialog::Init_Impl had...

"
  // bFmt = temporary Flag passed on in the Constructor(),
  // if bFmt == 2, then also sal_True,
  // additional suppression of the standard button,
  // after the Initializing set to sal_True again
  if ( bFmtFlag != 2 )
      m_pBaseFmtBtn->Show();
  else
      bFmtFlag = sal_True;
"

but the variable acted on is bFmtFlag a copy of bFmt, and is never read again
after that line, so setting it to sal_True is meaningless. The comment suggests
that the intent is to reset bFmt to true if it was 2 during initialization,
which fits with the later use of bFmt == 2 to indicate that the standard button was
clicked, i.e. reset bFmt back to its standard value.

So make bFmt a simple toggle of dialog as a format dialog or not, add a way
to remove the standard button and add a second variable to indicate the standard
button got pressed.

Change-Id: I98a441f5f314845abe243e05b6d92fd71d7b0b04
2014-04-07 13:47:02 +01:00
Caolán McNamara
c06267b105 drop out of date undef SfxTabDialog foo
Change-Id: I01d31d357f503ca32b18f3414305ca5dcf55f9ce
2014-04-07 13:41:27 +01:00
Caolán McNamara
9526d1969d Related: fdo#51818 format statistical numbers with locale rules
Change-Id: Ic21e93d55037a7971b2b6f7988f87c9b4eb01de5
2014-04-07 13:01:37 +01:00
Noel Grandin
74fdda0cd4 sfx2: sal_Bool->bool
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
2014-04-07 13:53:50 +02:00
Noel Grandin
1eee88dd6b basic: sal_Bool->bool
Change-Id: I1c084ca86c0b1308eb2fc1451ba34d2e702c6a7f
2014-04-07 13:53:50 +02:00
Noel Grandin
62a4722a0d xmlscript: sal_Bool->bool
Change-Id: Ib784d23aa613dce80b786ecadb98cc2c3c278e33
2014-04-07 13:53:50 +02:00
Noel Grandin
6ed14fd8f8 sax: sal_Bool->bool
Change-Id: I8d9dd585c509fd4c1f09ee817d828f3e600e31d5
2014-04-07 13:53:49 +02:00