Commit Graph

2885 Commits

Author SHA1 Message Date
2295d9dcea Move bezier functions into own source file bezier.cxx
Change-Id: I2071b3b1f3bb865075205cb4a90d2e230a8a5ca8
2014-04-16 07:33:54 +10:00
4a31802d8a Don't forget to add polygon as an object in the makefile!
Change-Id: Ib4a51d23d80d20e00968929628bbb4966b78c408
2014-04-16 07:33:54 +10:00
ecafbfe819 Change acessibility level for private functions
The following functions should be private members functions of OutputDevice:

* DrawComplexGradient
* DrawLinearGradient

These were previously called ImplDrawComplexGradient and
ImplDrawLinearGradient.

Change-Id: I4fc996ddd578bca6738128fcc883709359534c95
2014-04-16 07:33:52 +10:00
7e6628f374 Unused code: binary_compose, identity
Seems noone is using those anymore.

Change-Id: I63f775d391c58753e89549dbcae8739708395487
2014-04-15 21:57:56 +02:00
3764cfbc69 Remove iota template function & last call site.
Nice function, but with just one place using it in 9 years best
coded verbatim at the call site...

Change-Id: Ib306cf2311a39299cb007441c7cb1b0d81e67bce
2014-04-15 21:57:56 +02:00
717aa1ac75 fdo#72287 Scroll automatically to show selected item when keyboard used.
806919adf9c9bafbaba92c2d2ab35d2e2f9863f8 added finer-grained scrolling using
the scrollbar / scrollwheel, but inadvertently prevents the display from scrolling
when an item is selected that is currently offscreen (e.g. by using the down-arrow
button on the keyboard).

Change-Id: Iaa3a7dc6d214741d37cf4ec78c00ed0034ed1e42
2014-04-15 19:55:57 +01:00
4bc0bd7348 non-desktop: Avoid dbaccess.
Change-Id: I4cabda76917cded05a2978b1a280775b7f77a0de
2014-04-15 13:10:56 +02:00
86c280acb5 linguistic: sal_Bool->bool
Change-Id: Ifed60967edd768b16cafba3c2293149610138213
2014-04-15 09:02:34 +02:00
be88947bac svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
2014-04-15 09:02:33 +02:00
cfddda092b sal_Bool to bool in SvtRulerAccessible
Change-Id: Ib5f451fadb9eedc49d6bded0cbd92cfbbde71bae
2014-04-15 09:02:32 +02:00
8fbbd1bd98 fix hacked bool in SfxDispatcher::SetSlotFilter
The bEnable flag was being passed an extra value.
Make this explicit now using an enum.

Change-Id: I292aca44e8592c9f3c1497c24c41140c8c3b5452
2014-04-15 09:02:32 +02:00
8a81f542a6 xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
2014-04-15 09:02:31 +02:00
fa0ffdbeb5 cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unused
...since f059134fab0f91b7a15594ad06536a13fbfae034 "INTEGRATION: CWS
cppuhelpshrink: #i72766# save memory in cppuhelper, using a vector instead of a
hash_map" (but a dummy "void" default is left in place for backwards
compatibility).

Change-Id: I3bb0af8158f34737d41c344464f3cf944e2891ed
2014-04-15 07:46:43 +02:00
c2ffc9e180 WaE: overriding virtual function declaration not marked 'override'
Change-Id: Idd8b8fcbaebbedf5d5cd33075ef56829e19dd6c0
2014-04-15 08:45:29 +03:00
cd56c7bcf3 move some common OpenGL methods to vcl
Change-Id: Ic96487afce64bfb0c1dfcc03c088e5d6e1b34ad3
2014-04-15 01:51:28 +02:00
ce9f9de197 move the opengl headers to vcl/opengl for better separation
Change-Id: I1bdd0fe0d27674da69a61bd8b438f0c9b050a337
2014-04-15 01:51:28 +02:00
3bd173af50 only render through OpenGL after successful context creation
Change-Id: I60ebceee2bf0eca1c7022e14fc43128347d682b5
2014-04-15 01:51:27 +02:00
a3125e805b switch to IOpenGLRenderer in chart2 2D rendering
Change-Id: If2351186e6e6612a84b1c98c28bbb7f2c3dc49ab
2014-04-15 01:51:27 +02:00
7f6b1560e9 tie lifetime of some objects together
It is just too complicated to follow the different OpenGL contexts in
our current desing. This will at least simplify our handling a bit.

IOpenGLRenderer is an abstract interface that should be implemented by
the code using SdrOpenGLObj to paint with OpenGL.

Change-Id: Ib4bfc0350b4345bc27af8bed037c48c11bb67300
2014-04-15 01:51:26 +02:00
625c595fc3 fdo#76294: Intern strings in AddFormulaToken() as well.
And a whole bunch of changes needed to make that happen.

Change-Id: Idd98fbc99322c0d72fb0a7848d89cb1a6abc88b6
2014-04-14 18:34:20 -04:00
b09426b83c fdo#76294: Properly intern string literals in formula on xls import.
Change-Id: Ib3a442cbb68c23294762561f2911101a087a795e
2014-04-14 17:00:40 -04:00
893590f16e The entry points for these are hidden behind OSL_DEBUG_LEVEL > 1 too.
Change-Id: I728e808ac897aa1be184fb4a8bbbf781eb816cf0
2014-04-14 15:46:22 +02:00
2346c010ea fix mac build
Change-Id: I3f29b389543d23bb230964d81ed9a6a946a4414d
2014-04-14 12:45:51 +02:00
0e970f3ba2 typo: occuring -> occurring 2014-04-14 12:33:14 +02:00
5047891d04 typo: positon -> position 2014-04-14 12:33:12 +02:00
92b2215786 typo: hilight -> highlight 2014-04-14 12:33:06 +02:00
b8239ac2f9 typo: noone -> no one 2014-04-14 12:32:54 +02:00
8d202fa72f typo: paramter -> parameter 2014-04-14 12:32:54 +02:00
45f28fb212 typo: realative -> relative 2014-04-14 12:32:51 +02:00
01b0ca7d2a typo: easyly -> easily 2014-04-14 12:32:38 +02:00
6cde7647c9 typo: implicitely -> implicitly 2014-04-14 12:32:33 +02:00
bb667fc1b9 typo: arround -> around 2014-04-14 12:32:10 +02:00
f75aa26620 typo: hierarchie -> hierarchy 2014-04-14 12:32:05 +02:00
2805ac13dc typo: choosen -> chosen 2014-04-14 12:32:02 +02:00
2ada2b3375 typo: dependend -> dependent 2014-04-14 12:31:58 +02:00
60c8df4326 remove static strings 2014-04-14 12:31:55 +02:00
07a43d8db4 SvxMSConvertOCXControlsRemoved never defined 2014-04-14 12:31:46 +02:00
52494aad92 Clean up function declarations and some unused functions
Change-Id: I68b488d45c77ebf82029bfede98dca2400e02f2f
2014-04-14 12:25:30 +02:00
bb5c7d6a79 fdo#38844 Reduce XOR clipping for gradients
Removed XOR clipping version of ClipAndDrawGradientMetafile. Because it
has been removed, the other version isn't really needed in it's own
function so I've moved it back into DrawGradient.

Change-Id: Ib1519a019061c8c71183db63e5c11681bcad4cc4
2014-04-13 04:12:21 +10:00
5830799d5b macros_test: use "css" short form
Change-Id: I2e8d8773703df67d090059be8bd9f3c7c7335f78
2014-04-12 12:58:50 +02:00
56deaabb32 fdo#73149 add Excel 2010 functions ERF.PRECISE and ERFC.PRECISE
Change-Id: I3199470ec92923e8cc12156f21dd397d870cc1e0
Reviewed-on: https://gerrit.libreoffice.org/8930
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-04-11 13:43:14 +00:00
4355ac8c31 coverity#708338 Uninitialized scalar field
Change-Id: I2c4eb18e6bf140d37a10c8105922e13583dcde41
2014-04-11 11:21:12 +01:00
c45f5d7599 Introduce drawinglayer::primitive2d::idToString() debugging function
Change-Id: I71e5b032d52f1fe3a1bde60fe6395c5d2d025885
2014-04-11 13:20:16 +03:00
84272d115d Introduce twip/mm100 conversion functions instead of duplicated macros
Change-Id: Ib689e35b417e0e9016cd6a239c986e0603a99d62
Reviewed-on: https://gerrit.libreoffice.org/8837
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-11 10:19:05 +00:00
4f8d667c70 ClipAndDrawGradientToBounds no longer required
Now that we have removed XORClipAndDrawGradient, there is no need
for the function ClipAndDrawGradientToBounds because the sole
purpose of that function was to work out whether the system should
use XOR clipping or not for gradients!

Change-Id: Id29b804054dfc30a9cc350bf4958ea3b2420e272
2014-04-11 18:46:04 +10:00
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
31911865e5 DownLoad -> Download.
Change-Id: Ia1729f570cc80a0375532da6478de9d58518556e
2014-04-10 15:07:53 +02:00
cb10a184b9 Kill the ImplSVGDIData::mbNoXORClipping flag
Instead, act as if it was true on all platforms. Don't do XOR clipping on any
platform. Simpler code is better code, and XOR tricks are generally very much
out of fashion these days, I have been told. Didn't seem to have any visible
ill effects on Linux at least.

Change-Id: I6192006c77a4a81363ec7b3292f72d512d5e9b53
Reviewed-on: https://gerrit.libreoffice.org/8901
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-10 11:42:41 +00:00
8f703221a0 Clean up function declarations and some unused functions
Change-Id: Ic720aa7b30bbe56d67e0b65f3e047ad3ae521a97
2014-04-10 11:24:39 +02:00
f767d4580e callcatcher: update unused code
OAuth2Handler is from libcmis

Change-Id: Ia1986d6df7ab45580c66b4e536c5882af41f357f
2014-04-10 09:50:54 +01:00