squash misc warnings
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
void MtfRenderer::setMetafile (const uno::Sequence< sal_Int8 >& rMtf) throw (uno::RuntimeException)
|
||||
void MtfRenderer::setMetafile (const uno::Sequence< sal_Int8 >& /*rMtf*/) throw (uno::RuntimeException)
|
||||
{
|
||||
// printf ("MtfRenderer::setMetafile unimplemented, use fast property set or implement me\n");
|
||||
}
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
// XFastPropertySet
|
||||
// setFastPropertyValue (0, GDIMetaFile*) is used to speedup the rendering
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) throw (::com::sun::star::uno::RuntimeException) { return ::com::sun::star::uno::Any(); }
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 /*nHandle*/) throw (::com::sun::star::uno::RuntimeException) { return ::com::sun::star::uno::Any(); }
|
||||
virtual void SAL_CALL setFastPropertyValue(sal_Int32 nHandle, const ::com::sun::star::uno::Any&) throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
private:
|
||||
|
@@ -474,8 +474,8 @@ void Ruler::ImplDrawTicks( long nMin, long nMax, long nStart, long nCenter )
|
||||
BOOL bNoTicks = FALSE;
|
||||
|
||||
//Amelia
|
||||
long nTickUnit ;
|
||||
long nTick2 ;
|
||||
long nTickUnit = 0;
|
||||
long nTick2 = 0;
|
||||
if ( mnUnitIndex == RULER_UNIT_CHAR )
|
||||
{
|
||||
if ( mnCharWidth == 0 )
|
||||
|
@@ -282,7 +282,7 @@ void SalAbort( const XubString& rErrorText )
|
||||
if( !rErrorText.Len() )
|
||||
std::fprintf( stderr, "Application Error" );
|
||||
else
|
||||
std::fprintf( stderr, ByteString( rErrorText, gsl_getSystemTextEncoding() ).GetBuffer() );
|
||||
std::fprintf( stderr, "%s", ByteString( rErrorText, gsl_getSystemTextEncoding() ).GetBuffer() );
|
||||
abort();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user