diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-12 10:25:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-12 11:38:00 +0100 |
commit | 7091666cb9955683eabacaf329c66f10fe29eeb2 (patch) | |
tree | e00a09dce3fd328ebb74ff7f69fe1180666411ca /vcl/source/window/dockwin.cxx | |
parent | drop unused defines and enums (diff) | |
download | core-7091666cb9955683eabacaf329c66f10fe29eeb2.tar.gz core-7091666cb9955683eabacaf329c66f10fe29eeb2.zip |
DockingWindow ResId code needed only by removed ToolBar src support
Change-Id: Ib0dff4b569ac1b95a59b618258036ecf3d2c4e73
Diffstat (limited to 'vcl/source/window/dockwin.cxx')
-rw-r--r-- | vcl/source/window/dockwin.cxx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 9a523c7a1311..0b825980154c 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -348,44 +348,6 @@ void DockingWindow::ImplInitSettings() } } -void DockingWindow::ImplLoadRes( const ResId& rResId ) -{ - Window::ImplLoadRes( rResId ); - - const sal_uInt32 nMask = ReadLongRes(); - - if ( (RSC_DOCKINGWINDOW_XYMAPMODE | RSC_DOCKINGWINDOW_X | - RSC_DOCKINGWINDOW_Y) & nMask ) - { - // use Sizes of the Resource - Point aPos; - MapUnit ePosMap = MapUnit::MapPixel; - - if ( RSC_DOCKINGWINDOW_XYMAPMODE & nMask ) - ePosMap = (MapUnit)ReadLongRes(); - - if ( RSC_DOCKINGWINDOW_X & nMask ) - { - aPos.X() = ReadShortRes(); - aPos.X() = ImplLogicUnitToPixelX( aPos.X(), ePosMap ); - } - - if ( RSC_DOCKINGWINDOW_Y & nMask ) - { - aPos.Y() = ReadShortRes(); - aPos.Y() = ImplLogicUnitToPixelY( aPos.Y(), ePosMap ); - } - - SetFloatingPos( aPos ); - } - - if ( nMask & RSC_DOCKINGWINDOW_FLOATING ) - { - if ( ReadShortRes() != 0 ) - SetFloatingMode( true ); - } -} - DockingWindow::DockingWindow( WindowType nType ) : Window(nType) { |