71 Commits

Author SHA1 Message Date
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02: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
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 09b546cf9c1d0d9f78066e70a0348c7678cdcb14 "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
Alexander Wilms
8747200c87 Remove visual noise from canvas
Change-Id: I0f01a4064ab6d1f55647ecdc1a8710e289e5d96c
2014-02-25 21:29:36 +01:00
Caolán McNamara
1491cea2c7 coverity#1103731 Uncaught exception
Change-Id: Ia56720a1dbc209b048cb9285266e8d897b37cf29
2014-02-11 14:33:38 +00:00
Stephan Bergmann
fe23abd381 Be explicit when using bool as integral value
Change-Id: I3a6b9df9b1b6c48d5db506942d651f66cefdaa18
2014-01-10 17:36:04 +01:00
Norbert Thiebaud
4c539fac01 vcl get rid of xub_StrLen and STRING_LEN in outdev3
a new log section (sal.rtl.xub) is used to display alert in case of
suspicious len == 0xFFFF (aka STRING_LEN)

Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e
Reviewed-on: https://gerrit.libreoffice.org/7117
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-18 01:54:16 +00:00
Stephan Bergmann
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
Thorsten Behrens
8840cdc977 Revert "add dummy oglcanvas::SpriteCanvas::copyRect so this compiles..."
With the XCanvas / XBitmapCanvas revert in, this can go, too.

This reverts commit f0d93fab3eaad5865feb5895e542e8947c866aef.
2013-11-29 18:38:16 +01:00
Michael Stahl
f0d93fab3e add dummy oglcanvas::SpriteCanvas::copyRect so this compiles...
Change-Id: I5c6986b4c765c8328cacb84ce84cc99eb6871d0a
2013-11-28 22:06:55 +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
Caolán McNamara
2f6b2cf6e9 CID#1103749 unintialized member
Change-Id: I33f92b9fc6adc6fabc9732c4e62e7331e0baba25
2013-10-11 08:57:16 +01:00
Thorsten Behrens
7727b9e88d oglcanvas: OUString cleanup
Change-Id: If37ea29ba239c0affd8e5777c82db755ee03f1c2
2013-10-09 20:09:12 +02:00
Thorsten Behrens
1aae965d44 oglcanvas: ship comp registration, return device window.
Change-Id: I6c7e9416f908fd3b903eaef82492c1f4445b4e0c
2013-10-08 12:33:50 +02:00
Stephan Bergmann
2f5f2c7d3c -Werror,-Wunused-private-field
Change-Id: Ie8aaab5fb6042c4845cb5355db2ee1a1c66d9d92
2013-10-08 09:25:52 +02:00
Stephan Bergmann
be0db4421e We're still stuck with boost::unordered_map
Change-Id: If6d59fefd35541a53405dab13188a217c48ad52c
2013-10-07 21:14:30 +02:00
Thorsten Behrens
e52f1bd7b3 Add opengl canvas implementation.
Adds opengl canvas implementation - display-list-based, all
rendering done as textured geometry. Needs shader support.

Currently compiles and works on Linux, Mac should be ~easy to
add, win32 eventually.

Change-Id: Ibf3eb88d6a36a91b2960a3a6320d708160e4fc14
2013-10-07 17:33:45 +02:00