summaryrefslogtreecommitdiff
path: root/vbahelper
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
commit118c7e834667c41575754b79a9c0435106520e9e (patch)
treebfb3d2f6e1e904a4a19734bb662098f628d050ac /vbahelper
parent5fa4a87a6393151e3d92b60b8686eb0b22ba87e1 (diff)
warnings as errors
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbafontbase.cxx2
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx3
-rw-r--r--vbahelper/source/vbahelper/vbashapes.cxx2
3 files changed, 3 insertions, 4 deletions
diff --git a/vbahelper/source/vbahelper/vbafontbase.cxx b/vbahelper/source/vbahelper/vbafontbase.cxx
index 17baa8ae1612..207dad395cce 100644
--- a/vbahelper/source/vbahelper/vbafontbase.cxx
+++ b/vbahelper/source/vbahelper/vbafontbase.cxx
@@ -246,7 +246,7 @@ VbaFontBase::setColor( const uno::Any& _color ) throw (uno::RuntimeException)
}
void SAL_CALL
-VbaFontBase::setUnderline( const uno::Any& aValue ) throw ( uno::RuntimeException )
+VbaFontBase::setUnderline( const uno::Any& /*aValue*/ ) throw ( uno::RuntimeException )
{
/*
// default
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index 7a20841ec9b5..76ac70c627b4 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 );
diff --git a/vbahelper/source/vbahelper/vbashapes.cxx b/vbahelper/source/vbahelper/vbashapes.cxx
index fba919ddfebb..ca271d10cb4c 100644
--- a/vbahelper/source/vbahelper/vbashapes.cxx
+++ b/vbahelper/source/vbahelper/vbashapes.cxx
@@ -373,7 +373,7 @@ ScVbaShapes::AddTextbox( sal_Int32 _nOrientation, sal_Int32 _nLeft, sal_Int32 _n
}
uno::Any
-ScVbaShapes::AddTextboxInWriter( sal_Int32 _nOrientation, sal_Int32 _nLeft, sal_Int32 _nTop, sal_Int32 _nWidth, sal_Int32 _nHeight ) throw (uno::RuntimeException)
+ScVbaShapes::AddTextboxInWriter( sal_Int32 /*_nOrientation*/, sal_Int32 _nLeft, sal_Int32 _nTop, sal_Int32 _nWidth, sal_Int32 _nHeight ) throw (uno::RuntimeException)
{
rtl::OUString sCreateShapeName( rtl::OUString::createFromAscii( "com.sun.star.drawing.TextShape" ) );
sal_Int32 nXPos = Millimeter::getInHundredthsOfOneMillimeter( _nLeft );