summaryrefslogtreecommitdiff
path: root/canvas/workben
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 13:27:02 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 13:27:02 +0000
commit203ba87eabc94c334121734787bc5aac5982965c (patch)
treeaf1b89efe491829321704fb8ff69a1e8e68ca65c /canvas/workben
parentd601d16d2ddcb62488c719f6c3b801d44ed4b1a3 (diff)
INTEGRATION: CWS presfixes12 (1.4.30); FILE MERGED
2007/04/25 20:41:47 thb 1.4.30.1: #i10000# Made code compile warning free
Diffstat (limited to 'canvas/workben')
-rw-r--r--canvas/workben/canvasdemo.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index 24d9764ca56c..5796051837e2 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: canvasdemo.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 03:32:22 $
+ * last change: $Author: obo $ $Date: 2007-07-17 14:27:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -108,7 +108,7 @@ class TestWindow : public Dialog
Show();
}
virtual ~TestWindow() {}
- virtual void MouseButtonUp( const MouseEvent& rMEvt )
+ virtual void MouseButtonUp( const MouseEvent& /*rMEvt*/ )
{
//TODO: do something cool
EndDialog();
@@ -195,7 +195,7 @@ class DemoRenderer
mxCanvas->drawText( aText, mxDefaultFont, maViewState, aRenderState, 0);
}
- void drawRect( Rectangle rRect, uno::Sequence< double > &aColor, int nWidth )
+ void drawRect( Rectangle rRect, uno::Sequence< double > &aColor, int /*nWidth*/ )
{
uno::Sequence< geometry::RealPoint2D > aPoints(4);
uno::Reference< rendering::XLinePolyPolygon2D > xPoly;
@@ -428,8 +428,6 @@ class DemoRenderer
translate( maBox.Width() * .5, maBox.Height() * .5 );
- const double centerx = 100.0;
- const double centery = 100.0;
const double r= 30.0;
const int num_curves = 3;
@@ -577,7 +575,7 @@ class DemoRenderer
};
-void TestWindow::Paint( const Rectangle& rRect )
+void TestWindow::Paint( const Rectangle& /*rRect*/ )
{
try
{