diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterHelpView.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx index c7ca5c462cd5..b314dcc7194f 100644 --- a/sdext/source/presenter/PresenterHelpView.cxx +++ b/sdext/source/presenter/PresenterHelpView.cxx @@ -375,8 +375,6 @@ void PresenterHelpView::ProcessString ( PresenterConfigurationAccess::GetProperty(rsProperties, A2S("Left")) >>= sLeftText; OUString sRightText; PresenterConfigurationAccess::GetProperty(rsProperties, A2S("Right")) >>= sRightText; - - const awt::Rectangle aWindowBox (mxWindow->getPosSize()); mpTextContainer->push_back( ::boost::shared_ptr<Block>( new Block(sLeftText, sRightText, mpFont->mxFont, mnMaximalWidth))); diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 905c2f3700ac..23a19cd0a18f 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -832,8 +832,6 @@ geometry::RealSize2D PresenterToolBar::CalculatePartSize ( if (mxWindow.is()) { - const awt::Rectangle aWindowBox (mxWindow->getPosSize()); - // Calculate the summed width of all elements. ElementContainerPart::const_iterator iElement; for (iElement=rpPart->begin(); iElement!=rpPart->end(); ++iElement) |