Commit Graph

20 Commits

Author SHA1 Message Date
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
Stephan Bergmann
268be3ac88 Mark overriding DisambiguationHelper class template mem funs as SAL_OVERRIDE
...which reveals that some uses are not derived from XEventListener, so re-
introduce BaseMutexHelper as an alternative (which originally got superseded by
DisambiguationHelper in 09b546cf9c "Fix
overloaded-virtual warning in canvas").

Change-Id: I1418370733b72526ec481b70fa69f03e7c28b7ce
2014-03-12 16:24:39 +01:00
Stephan Bergmann
19edde1840 Mark overriding BitmapCanvasBase class template member funs as SAL_OVERRIDE
...which reveals that SpriteCanvasBase is not derived from XBitmapCanvas, so
split up BitmapCanvasBase (just XBitmap) and BitmapCanvasBase2 (plus
XBitmapCanvas) and make IntegerBitmapBase directly abstract over those two as
arguments.

Change-Id: Ieae87fe466bb9f1a861c8a95162ef25235ae5799
2014-03-12 16:24:38 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Thomas Arnhold
07fc8122f4 fixincludeguards.sh: canvas
Change-Id: I2fb527c2cb5814b15862144baf3783d226e675ef
2013-11-05 09:28:51 +01:00
Thomas Arnhold
bb142943a3 fixincludeguards.sh: canvas
Change-Id: I5b17411c58e5c5ae7b473d263fa5e4ee97ff35c8
2013-10-28 15:16:18 +01:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Michael Meeks
60337134e4 re-base on ALv2 code. Includes:
linecap: Reintegrating finished LineCap feature
    Patch contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    disable extended linecap API for now.

    gnumake4 work primarily from Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1394326

    misc. dead code cleanups
    Patch contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1204995
    http://svn.apache.org/viewvc?view=revision&revision=1207270
2012-10-08 11:36:37 +01:00
Thorsten Behrens
09b546cf9c Fix overloaded-virtual warning in canvas
With enabled -Woverloaded-virtual gcc warning (see
http://lists.freedesktop.org/archives/libreoffice/2011-March/009567.html),
canvas exposed a nasty clash between WeakComponentImplHelper::disposing
and XEventListener::disposing. Fixed by overriding *once* in baseclass,
and then calling disambiguated, renamed methods.
2011-04-08 16:47:25 +02:00
Sebastian Spaeth
4905a19032 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:02:15 +02:00
Jens-Heiner Rechtien
8764506704 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Kurt Zenker
8d4cd9ae66 INTEGRATION: CWS canvas05 (1.8.2); FILE MERGED
2008/04/21 07:28:17 thb 1.8.2.2: RESYNC: (1.8-1.9); FILE MERGED
2007/12/20 22:18:59 thb 1.8.2.1: #i81092# #i78888# #i78925# #i79258# #i79437# #i84784# Large canvas rework, completing various areas such as color spaces, bitmap data access, true sprite and non-sprite implementations, and upstreaming the canvas parts of rodos emf+ rendering
2008-06-24 09:54:53 +00:00
Rüdiger Timm
75f3fcc6e9 INTEGRATION: CWS changefileheader (1.8.28); FILE MERGED
2008/03/28 16:35:15 rt 1.8.28.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:46:49 +00:00
Jens-Heiner Rechtien
a21c08d008 INTEGRATION: CWS thbpp9_SRC680 (1.7.114); FILE MERGED
2007/10/17 21:14:36 thb 1.7.114.1: #i82485# Carry clips along, also for XCachedPrimitive repaints
2007-11-01 13:40:48 +00:00
Kurt Zenker
b981b0f051 INTEGRATION: CWS canvas02 (1.5.8); FILE MERGED
2005/10/08 12:53:00 thb 1.5.8.3: RESYNC: (1.5-1.6); FILE MERGED
2005/06/28 16:08:56 thb 1.5.8.2: #i48939# Improved docs; consolidated several size getter in CanvasHelper
2005/06/17 23:49:48 thb 1.5.8.1: #i48939# Huge refactoring of canvas; as much functionality as possible is now common in a bunch of shared base classes (input checking, locking, sprite redraw, etc.); added scroll update optimization, transparently to all canvas implementations
2005-11-02 11:58:32 +00:00
Rüdiger Timm
eaed79d150 INTEGRATION: CWS ooo19126 (1.5.20); FILE MERGED
2005/09/05 17:27:10 rt 1.5.20.1: #i54170# Change license header: remove SISSL
2005-09-07 22:17:31 +00:00
Rüdiger Timm
7c5f2254c7 INTEGRATION: CWS presfixes02 (1.4.2); FILE MERGED
2005/03/14 16:03:06 thb 1.4.2.1: #i35136# #i36914# #i41113# #i44100# Merge from presfixes01 patches
2005-03-30 06:35:43 +00:00
Vladimir Glazounov
a167a1dafd INTEGRATION: CWS presfixes01 (1.3.10); FILE MERGED
2005/02/16 11:14:01 fs 1.3.10.1: #i42558# drafts.com.sun.star.drawing/rendering/geometry moved to com.sun.star.*
2005-03-10 10:57:12 +00:00
Rüdiger Timm
57b63dda63 INTEGRATION: CWS presentationengine01 (1.2.2); FILE MERGED
2004/11/17 17:00:27 thb 1.2.2.7: #118514# Canvas module reorg
2004/10/26 23:36:58 thb 1.2.2.6: #110496# Added dedicated alpha bitmap support: factory methods at the XGraphicDevice, and optimized handling internally
2004/09/27 20:12:31 thb 1.2.2.5: #110496# Fixed problem with CanvasBitmap instances with alpha channel (simply ignored that before)
2004/08/02 17:50:58 thb 1.2.2.4: #110496# Adapted to recent XCanvas API changes, streamlined and factored out common code with directxcanvas
2004/07/20 19:23:55 thb 1.2.2.3: #110496# Removed self-references to various interface implementations, along the lines, factored out common base implementation for all c++ canvases
2004/04/12 15:12:24 thb 1.2.2.2: #110496# Adaptions after canvas01 merge
2004/04/05 15:57:57 thb 1.2.2.1: Resync with canvas01 changes
2004-11-26 16:10:39 +00:00
Thorsten Behrens
6e89341b50 #110496# Merge from cws_srx645_canvas01: first working version of XCanvas UNO components, for now consisting of javacanvas.uno.jar, vclcanvas.uno and directxcanvas.uno (windows only) 2004-03-18 09:38:44 +00:00