Commit Graph

25 Commits

Author SHA1 Message Date
65ecb0d8f4 Related: fdo#80633 we can retain cached size for visibility change
we still need to invalidate the layout of our parents, but we can
keep the cached optimal size

Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
2014-07-15 11:56:09 +01:00
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
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
c16e4b1019 remove unused code PanelLayout::dispatch
full signature:
PanelLayout::dispatch(
    rtl::OUString const&,
    css::uno::Sequence<css:🫘:PropertyValue> const&)

Change-Id: Ib16c32d69e62ccf000de05da7c6f25e993a5be90
2014-02-28 08:32:01 +02:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
36e590ee00 make use that these VclBuilders have an XFrame to expose its dispatch
the sidebar widget-layout enabled panels could use frame::XDispatch::dispatch
to send their commands directly rather than mapping back to SIDS and Executing
those, which would allow removing piles of weird-ass stuff

Change-Id: Ibbff56d4fb96820d3bdbf4b1cb582d25337fe48b
2014-01-16 20:37:54 +00:00
83784fc6a6 fdo#65108 inter-module includes <> include/svx
Change-Id: I5335182ea16695c77c2855b34c98220aea2befa1
2013-11-09 18:48:44 -06:00
1beabca95b remove local css namespace definitions
As we have it globally in sal/types.h those are not necessary.

Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-28 15:16:17 +01:00
027ac56363 fixincludeguards.sh: include/svx
Change-Id: I2c280be12f36c1538e922286745aabc62482423d
2013-10-23 23:22:28 +02:00
a48cf78fab merge queue_layout and queue_resize
so that any window derived class, and not just dialogs, can trigger layouting
of their children. Merge together the handful of hacked-up impls of this.

Do that then for the sidebar PanelLayout so that when the label of the custom
animation frame changes that the frame allocates enough space for the new label
to display fully

Change-Id: I9a95f6c3f60cd6cea47656e66cb9ffcc154a3a5a
2013-09-30 16:09:56 +01:00
3656a57e88 add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01:00
f506b89926 ColorControl.hxx: header guards still necessary in 21st century
Change-Id: I27e773327cdcdc80d7cee0591741a7e1f439afbf
2013-09-05 22:35:56 +02:00
71622632e6 convert svx/source/sidebar/*.cxx from String to OUString
Change-Id: I57bd0ade23a17cd2c8edfd2549ae131d80ab7592
2013-09-05 08:55:07 +02:00
976430ba8e convert include/svx/sidebar/ColorControl.hxx from String to OUString
Change-Id: I15787484a74e82fdc8f6c16287317fecf4e80557
2013-09-05 08:54:23 +02:00
6b2cc1eb6c XubString->OUString
Change-Id: I1db6254b23c5203c20c168989656d320f86a3bb9
2013-08-13 09:22:29 +01:00
ea3edee44a callcatcher: update unused code
ResId loaders begining to melt away

Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
2013-07-19 13:20:19 +01:00
9e851b69d1 sidebar: Remove the setPosSizePixel hack.
Change-Id: I3c074f0860bf9cb384a7189038a214199a2d7222
2013-06-11 16:06:20 +02:00
0aa7a033cb sidebar: Allow smaller SidebarDialControl, to fit nicely.
Change-Id: I6e0b86527a3c458be563b1fb5a71d45d05aeb5ca
2013-06-11 14:03:48 +02:00
07b0ad4fa6 sidebar conversion tutorial: Create entry points for custom widgets.
For custom widgets, you need an external function named 'makeXYZ' where XYZ is
name of the type you want to construct.  It exists for many already, but for
those that don't yet, you need to create that.

Change-Id: I3ad65886897fa73764af2372ceffeca1a57f3165
2013-06-05 18:32:58 +02:00
6fe1ff54c6 sidebar: Allow creation of toolboxes using Widget layout / .ui.
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa
2013-06-02 04:54:54 +02:00
4f14ed6d34 sidebar: Introduce PanelLayout class.
This allows sidebars to be defined using Widget layout / .ui files.

Change-Id: I7d5daf2579d6359ba48d4df4be344bb75ce16273
2013-06-02 04:54:53 +02:00
0143805a56 Resolves: #i122332# Don't change sidebar context when switching...
to other application window

(cherry picked from commit 604502e2a4b53f35aedbf0205598a9b691c0d532)

Conflicts:
	sd/source/ui/view/drviewsa.cxx
	sfx2/inc/sfx2/shell.hxx
	sfx2/source/control/shell.cxx
	svx/inc/svx/sidebar/SelectionAnalyzer.hxx
	svx/inc/svx/sidebar/SelectionChangeHandler.hxx

Change-Id: Id3c427e02714ef0d6686a78094e2f7f3b390a693
2013-05-28 17:03:22 +01:00
a6e8a1def6 WaE: private field 'mpBindings' is not used
Change-Id: I58cb45ac54b54f9c0f65640dfad05185b2c01b16
2013-05-20 14:30:51 +03:00
80118379b2 move some new includes files to new include locations
Change-Id: I34b18fb2e0f1eae01eff5b8e849dd5f5744335f6
2013-05-20 11:33:35 +01:00