summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-16 13:55:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-16 13:56:43 +0100
commit5ebd4bd13c9beb6776407abdcf7a6ff56a76b575 (patch)
tree81498af62d2a2f09ad4c179bbc78d20983f00027
parentb6b22079f4214fddaa39514a43446e6b3ce6fef0 (diff)
Clang -Wunused-variable.
-rw-r--r--sdext/source/presenter/PresenterHelpView.cxx2
-rw-r--r--sdext/source/presenter/PresenterToolBar.cxx2
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)