Commit Graph

26 Commits

Author SHA1 Message Date
Noel Grandin
f6e5a0ac09 vclptr fix in ScrollableWrapper
Change-Id: I28b0c9712d3eb35181ccd323e583d947db06094d
2015-06-08 12:12:26 +02:00
Noel Grandin
204d147b8a convert SCROLL constants to scoped enum
Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
2015-05-26 08:30:19 +02:00
Noel Grandin
39078c247d cleanup DIALOG_NO_PARENT, follow on to tdf#91090
remove the DIALOG_NO_PARENT abomination and replace it with a flags
parameter

Change-Id: I71b7dc46c619f2db56af6d4dc2c17daf0a2c8534
Reviewed-on: https://gerrit.libreoffice.org/15645
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-06 12:12:26 +00:00
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
Michael Meeks
5d5f447e73 UnoControls, toolkit, uuoi, xmlsecurity: convert new to ::Create.
Change-Id: I7b8c7ece656589c50fb066e9fa1565fd59f930da
2015-04-16 22:21:04 +01:00
Noel Grandin
ce8cfbd3b9 svtools: apply vcl::window refcounting changes
Change-Id: I308f045eaf5c50de26175a2f00f8b0791cdd8ab9

Conflicts:
	svtools/source/control/tabbar.cxx
2015-04-09 20:33:46 +01:00
Stephan Bergmann
a52cf476e7 Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-29 15:13:45 +02:00
Stephan Bergmann
93a8ef5a2d Clean up C-style casts from pointers to void
Change-Id: I98cf0c0eee558662d1e3dd20cca99ec1ca8c9a2c
2015-03-28 19:09:27 +01:00
David Ostrovsky
2ce0030227 Fix long/sal_IntPtr mismatch on x86_64 platform on windows
25e2914382 changed Link class to
use sal_IntPtr instead of long, but missed to adjust number of
occurrences.

Change-Id: I966185083a41b41c7385947a03369a8ce65c61b8
Reviewed-on: https://gerrit.libreoffice.org/13852
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-01-10 21:37:08 +00: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
Thomas Arnhold
63dc7b1ce8 SCROLLABLEFRAME never defined 2014-04-14 12:31:47 +02:00
Tobias Lippert
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
Luboš Luňák
9be25f14bd avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what not
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-18 17:15:56 +01:00
Michael Meeks
c4008ef546 re-base on ALv2 code. Includes:
tkr41: #117828# office crash fixed . (null pointer) + add unit test
    Patch contributed by Tobias Krause
    http://svn.apache.org/viewvc?view=revision&revision=1172105

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    remove the OutDev::GetKernPair* stubs completely
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1179221

    reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
Matúš Kukan
c3745c4bab unusedcode: add #if SCROLLABLEFRAME for ScrollableWrapper<GroupBox>
Change-Id: I68df188c229f7cd31d5b79c073fe9440e307ad1d
2012-09-21 14:33:19 +02:00
Stephan Bergmann
65d4139d14 Missing "this->" qualification
Change-Id: I341e73bd2d8a240c4e31916393729efba8d9a4e2
2012-09-11 17:22:15 +02:00
Stephan Bergmann
fc2d90bf8d -Werror=unused-but-set-variable
Change-Id: I66c577b3d22a64a09412bd18a46d8d45eb6d1142
2012-09-11 17:22:13 +02:00
Noel Power
67adc64276 fixed the unable to close dialog when vert scrollbars set
Change-Id: If15a2b7312577a8285dc1ab1dea1ccb7c4824ed6
2012-09-11 16:04:11 +01:00
Noel Power
b241005c51 make interface for scrollablity properties to allow more code sharing
Change-Id: I0e03360808e73426848820d807f741c13c76abf8
2012-09-11 16:04:11 +01:00
Noel Power
27a19817c6 some more tweaking to import scrollbar data for mso Frame & Userform
also removed printf(s)

Change-Id: If83565dcd97b276e1f6a8488a9f1d23066c2a9ff
2012-09-11 16:04:11 +01:00
Noel Power
7f5ca4c9e1 fix scroll top & scroll left
Change-Id: If333932a0f3cfde6e8459ca3506a609207982f96
2012-09-11 16:04:11 +01:00
Noel Power
be045f69d1 better scrolling, support for scroll width and scroll height
scroll top & scroll left not working that successfully

Change-Id: I61e49c15798a1754822fb0802cbd17bab07327cd
2012-09-11 16:04:10 +01:00
Noel Power
7d69c50413 misc fixes and improvements
hook in new properties into the property controller
allow new values to be passed to control

Change-Id: Ibbf1c1de4bfc7cb15e46d0d6704a025e5f0d048c
2012-09-11 16:04:10 +01:00
Noel Power
595f467ec8 mpre debug, fix more obvious fobars
Change-Id: I88664f7dd09c8d6cdc1c18e87b3cd40b7e3bb246
2012-09-11 16:04:10 +01:00
Noel Power
613f8a3137 attempt own scroll
Change-Id: I4abc00bf4fcebb098b63cc2c3638e0d573381ca5
2012-09-11 16:04:10 +01:00
Noel Power
744d6e22bb crummy but psuedo usable scrollable dialog
Change-Id: I93c49f2e2e313f27b660f3998cb5e8e2cd520ada
2012-09-11 16:04:09 +01:00