Kaydet (Commit) 5ebd4bd1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clang -Wunused-variable.

üst b6b22079
......@@ -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)));
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment