summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-26 13:38:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 13:38:26 +0000
commit80a4f7e6617819c68ecd604d951baecc9ba0fb38 (patch)
tree6aaea48bb96c949d3978e5fc99a2551753413dc2
parent87ef3dc00ae9534414c6d22fc9000496c0234ddc (diff)
WaE: gcc 4.6.0 various warnings
-rw-r--r--sd/source/ui/view/viewshel.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 35d01f01f720..bbd7cbb4ba7e 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -812,11 +812,7 @@ void ViewShell::Resize (void)
// end of included AdjustPosSizePixel.
Size aS (GetParentWindow()->GetOutputSizePixel());
- Size aVisSizePixel = GetActiveWindow()->GetOutputSizePixel();
- Rectangle aVisArea = GetParentWindow()->PixelToLogic(
- Rectangle( Point(0,0), aVisSizePixel));
Rectangle aCurrentVisArea (GetDocSh()->GetVisArea(ASPECT_CONTENT));
- Rectangle aWindowRect = GetActiveWindow()->LogicToPixel(aCurrentVisArea);
if (GetDocSh()->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED
&& IsMainViewShell())
{