summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-25 17:17:47 +0200
committerNoel Grandin <noel@peralex.com>2015-11-26 13:26:25 +0200
commita508f639a033cefe10ad78a09d3b3c46c162aad9 (patch)
tree597720af61860cae97cffd84c638bcaa73e8e381 /sdext
parentabc6071b7a8af354a56c91e4caecd8afc79f55cc (diff)
mark UNO structs as SAL_WARN_UNUSED, where possible
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx2
-rw-r--r--sdext/source/presenter/PresenterSlideSorter.cxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 999047328f5c..3ecbbf4425a1 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -1019,8 +1019,6 @@ awt::Rectangle SAL_CALL PresenterAccessible::AccessibleObject::getBounds()
{
ThrowIfDisposed();
- awt::Rectangle aBox;
-
const awt::Point aLocation (GetRelativeLocation());
const awt::Size aSize (GetSize());
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index 58e5ebef7814..3ce9138dc472 100644
--- a/sdext/source/presenter/PresenterSlideSorter.cxx
+++ b/sdext/source/presenter/PresenterSlideSorter.cxx
@@ -1001,7 +1001,6 @@ void PresenterSlideSorter::PaintPreview (
// Paint a border around the preview.
if (mxPreviewFrame.is())
{
- const geometry::RealRectangle2D aBox (0, 0, aSize.Width, aSize.Height);
const util::Color aFrameColor (0x00000000);
PresenterCanvasHelper::SetDeviceColor(aRenderState, aFrameColor);
rxCanvas->drawPolyPolygon(mxPreviewFrame, aViewState, aRenderState);