Commit Graph

25 Commits

Author SHA1 Message Date
Stephan Bergmann
3ead3ad52f Gradually typed Link
Turn the Link class into a template abstracting over the link's argument and
return types, but provide default template arguments that keep the generic,
unsafe "void* in, sal_IntPtr out" behvior.  That way, individual uses of the
Link class can be updated over time.

All the related macros are duplicated with ..._TYPED counterparts, that
additionally take the RetType (except for LINK_TYPED, which manages to infer the
relevant types from the supplied Member).

(It would have been attractive to change the "untyped" LinkStubs from taking a
void* to a properly typed ArgType parameter, too, but that would cause
-fsanitize=function to flag uses of "untyped" Link::Call.)

Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30 10:20:00 +02:00
Tomaž Vajngerl
f50fd9692e mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-29 09:19:47 +09:00
Noel Grandin
97eacd1d55 vcl: VclPtr conversion in dbaccess
Change-Id: I85fce0403121ffe55204d78445e4809960ec404a
2015-04-09 21:34:32 +01:00
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Caolán McNamara
e1683c2d13 callcatcher: update unused code
lots of ResID stuff going away now

Change-Id: Iad8524e201cd3072db71da9e5ee1c244ed337967
2014-08-11 10:22:12 +01: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
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Thomas Arnhold
bfbe8c0b5b fixincludeguards.sh: dbaccess
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-05 09:28:52 +01:00
Jelle van der Waa
2ec606730b fdo#62475 removed pointless comments
Conflicts:
	dbaccess/source/filter/xml/xmlfilter.cxx
	dbaccess/source/ui/dlg/ConnectionPage.cxx
	dbaccess/source/ui/dlg/detailpages.cxx
	dbaccess/source/ui/dlg/odbcconfig.cxx
	dbaccess/source/ui/querydesign/querycontroller.cxx

Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338
Reviewed-on: https://gerrit.libreoffice.org/5484
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-27 16:11:09 +00:00
Noel Grandin
b23fd68eee fdo#468080, remove unnecessary XMultiServiceFactory from framework
The ActionTrigger classes in framework were not using their
XMultiServiceFactory parameters, so remove them.
And follow that through by cleaning up places that no longer
need to store XMultiServiceFactory references.

Change-Id: I433c4fdb02a56eeef75728893e0c9b749d8313be
2013-01-09 08:08:16 +02:00
Kohei Yoshida
4b313fd566 Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-19 11:45:36 +02:00
Kohei Yoshida
ac7acb0ab1 Merged SvTreeListBox and SvLBox.
There is no reason to keep SvLBox separate.

Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-11 23:35:15 -04:00
Michael Meeks
577cf8ff67 re-base on ALv2 code. 2012-06-14 17:41:07 +01:00
Caolán McNamara
e9470b0050 add modelines to .hxx files as well 2010-10-27 12:33:13 +01:00
Petr Mladek
fbd40753f5 more removed include guards using fixguard.py 2010-10-05 17:58:28 +02:00
Jens-Heiner Rechtien
1708f6091b 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
Rüdiger Timm
fce1df2a42 INTEGRATION: CWS changefileheader (1.8.434); FILE MERGED
2008/03/31 13:27:47 rt 1.8.434.1: #i87441# Change license header to LPGL v3.
2008-04-10 14:43:03 +00:00
Rüdiger Timm
30cdccfa24 INTEGRATION: CWS ooo19126 (1.7.204); FILE MERGED
2005/09/05 17:34:56 rt 1.7.204.1: #i54170# Change license header: remove SISSL
2005-09-08 14:58:52 +00:00
Jens-Heiner Rechtien
e4189654ff INTEGRATION: CWS insight01 (1.6.64); FILE MERGED
2003/08/20 06:43:41 oj 1.6.64.2: #111075# ongoning work
2003/08/15 08:47:51 oj 1.6.64.1: #111075# ongoing new dbaapp work
2004-08-02 15:00:46 +00:00
Jens-Heiner Rechtien
2facbebb88 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-19 16:57:12 +00:00
Ocke Janssen
1405275f21 #98772# new method 2002-04-29 07:13:00 +00:00
Frank Schönheit
d8b4c4dbaa +implDeterminedState - needed to correctly implement CheckButtons 2001-04-27 07:10:27 +00:00
Frank Schönheit
823be377b2 +checkedButton_noBroadcast 2001-01-30 07:30:11 +00:00
Frank Schönheit
60630c6c81 use a different font when painting a disabled control 2000-10-09 11:41:31 +00:00
Frank Schönheit
ccd7874161 initial checkin 2000-10-05 09:09:48 +00:00