summaryrefslogtreecommitdiff
path: root/vbahelper/source/vbahelper/vbahelper.cxx
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2009-09-23 14:06:30 +0000
committerNoel Power <npower@openoffice.org>2009-09-23 14:06:30 +0000
commit87c2bb06d4fceb098831b87d814cc31e87823ca4 (patch)
treea3a43ef8ebb4a876929d3f3ca3caefdada0f7648 /vbahelper/source/vbahelper/vbahelper.cxx
parente3f8b311cc04e3e69348a73f880e93977c0dd2b3 (diff)
warnings as errors
Diffstat (limited to 'vbahelper/source/vbahelper/vbahelper.cxx')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index f3a3e073fd..5ece204ad7 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -856,7 +856,7 @@ double PixelsToPoints( css::uno::Reference< css::awt::XDevice >& xDevice, double
return (fPixels/fConvertFactor)/POINTTO100THMILLIMETERFACTOR;
}
-ConcreteXShapeGeometryAttributes::ConcreteXShapeGeometryAttributes( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::drawing::XShape >& xShape )
+ConcreteXShapeGeometryAttributes::ConcreteXShapeGeometryAttributes( const css::uno::Reference< css::uno::XComponentContext >& /*xContext*/, const css::uno::Reference< css::drawing::XShape >& xShape )
{
m_pShapeHelper.reset( new ShapeHelper( xShape ) );
}
@@ -901,7 +901,6 @@ void setCursorHelper( const uno::Reference< frame::XModel >& xModel, const Point
}
else
{
- const uno::Reference< frame::XModel > xModel( xModel2, uno::UNO_QUERY );
if ( xModel.is() )
{
const uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_SET_THROW );