diff options
-rw-r--r-- | include/vcl/dockwin.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/dockwin.cxx | 38 |
2 files changed, 0 insertions, 39 deletions
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index 7fb7a89fb4df..f0543ff9ac34 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -254,7 +254,6 @@ protected: using Window::ImplInit; SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); SAL_DLLPRIVATE void ImplInitSettings(); - SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId ); SAL_DLLPRIVATE void DoInitialLayout(); 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) { |