diff options
-rw-r--r-- | framework/source/services/backingwindow.cxx | 6 | ||||
-rw-r--r-- | framework/source/services/backingwindow.hxx | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 4a0d508dbe..d178426ecd 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -132,8 +132,7 @@ BackingWindow::BackingWindow( Window* i_pParent ) : mbInitControls( false ), mnLayoutStyle( 0 ), mpAccExec( NULL ), - mnBtnPos( 120 ), - mnBtnTop( 150 ) + mnBtnPos( 120 ) { mnColumnWidth[0] = mnColumnWidth[1] = 0; mnTextColumnWidth[0] = mnTextColumnWidth[1] = 0; @@ -723,9 +722,6 @@ void BackingWindow::Resize() nYPos += nPDelta - nDiff; nYPos += nWDelta/2 - nDiff; - - if( mnLayoutStyle != 1 ) - nYPos = maControlRect.Top() + mnBtnTop; maWriterButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos, nYPos ), Size( mnTextColumnWidth[0], maButtonImageSize.Height() ) ); maDrawButton.SetPosSizePixel( Point( maControlRect.Left() + mnBtnPos + mnColumnWidth[0], nYPos ), Size( mnTextColumnWidth[1], maButtonImageSize.Height() ) ); diff --git a/framework/source/services/backingwindow.hxx b/framework/source/services/backingwindow.hxx index b8fd46073c..2c5e75d027 100644 --- a/framework/source/services/backingwindow.hxx +++ b/framework/source/services/backingwindow.hxx @@ -122,7 +122,6 @@ namespace framework svt::AcceleratorExecute* mpAccExec; long mnBtnPos; - long mnBtnTop; static const int nItemId_Extensions = 1; static const int nItemId_Reg = 2; |