Commit Graph

11 Commits

Author SHA1 Message Date
835ca0a10d add capability to load FloatingWindows from .ui
in theory anyway

Change-Id: I8230462bdb05e4a71e366c1a92ba388a8ea12c82
2014-08-30 20:56:03 +01:00
09c95aba4a convert HITTEST #define to enum
Change-Id: I2a4066c66894e0bd9c349a7c5b8db3a8398451d2
2014-07-18 09:37:35 +02:00
93f5d5a919 The opaque PostUserEvent IDs are actually pointers
...so declare them as such.  This avoids the recurring mistake of storing such
IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to
potentially not remove the event, it thus firing "too late" and probably causing
a crash.

While at it, consolidate the trivially unnecessary overloads of both
Application::PostUserEvent and Window::PostUserEvent.  And in each of them, it
looks like deleting the mpLink member was missing from the failure branch.

Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-05-07 11:49:46 +02:00
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
8792ec7b21 Remove visual noise from include
Conflicts:
	include/framework/preventduplicateinteraction.hxx
	include/sfx2/sfxbasecontroller.hxx
	include/sfx2/sfxbasemodel.hxx
	include/toolkit/awt/vclxtabpagemodel.hxx
	include/vcl/field.hxx
	include/vcl/settings.hxx

Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2
Reviewed-on: https://gerrit.libreoffice.org/8272
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-01 09:51:32 -06:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
0881ae68b0 Resolves: rhbz#1021915 force menubar menus to be up/down only
If a menu won't fit in the desired location the default mode is to place it
somewhere it will fit.  e.g. above, left, right. For some cases, e.g. menubars,
it's desirable to limit the options to above/below and force the menu to scroll
if it won't fit

Change-Id: I1998a842d25752389ec9032e54673408d1ed6cb5
2013-10-29 16:11:08 +00:00
d0df04f299 fixincludeguards.sh: include/vcl
Change-Id: Iaea4396f60aeade5303bf83a4504ad62f161b83c
2013-10-23 23:22:29 +02:00
1fd78e48ca make some important single-parameter constructors explicit
for symmetry also the other constructors in the same class
and mark their destructors as virtual if they are anyway
(cherry picked from commit 870349eada8c0e56d58c8d2ee40ad561a9f982fe)

Conflicts:
	vcl/inc/vcl/button.hxx
	vcl/inc/vcl/combobox.hxx
	vcl/inc/vcl/ctrl.hxx
	vcl/inc/vcl/dialog.hxx
	vcl/inc/vcl/dockingarea.hxx
	vcl/inc/vcl/event.hxx
	vcl/inc/vcl/field.hxx
	vcl/inc/vcl/fixed.hxx
	vcl/inc/vcl/floatwin.hxx
	vcl/inc/vcl/fontmanager.hxx
	vcl/inc/vcl/group.hxx
	vcl/inc/vcl/lstbox.hxx
	vcl/inc/vcl/menu.hxx
	vcl/inc/vcl/menubtn.hxx
	vcl/inc/vcl/metaact.hxx
	vcl/inc/vcl/morebtn.hxx
	vcl/inc/vcl/pngread.hxx
	vcl/inc/vcl/scrbar.hxx
	vcl/inc/vcl/spin.hxx
	vcl/inc/vcl/spinfld.hxx
	vcl/inc/vcl/split.hxx
	vcl/inc/vcl/syschild.hxx
	vcl/inc/vcl/tabpage.hxx
	vcl/inc/vcl/virdev.hxx
	vcl/inc/vcl/wrkwin.hxx

Change-Id: I8c29f74208cf382a9baa01c2e2d0757688cb4641
2013-05-10 15:44:40 +01:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00