Kaydet (Commit) 3e2a450a authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: gcc 4.6.0 various warnings

üst 7feee86a
......@@ -2173,6 +2173,7 @@ basegfx::B2DPolygon Polygon::getB2DPolygon() const
// assert invalid polygons
OSL_ENSURE(bControlA == bControlB, "Polygon::getB2DPolygon: Invalid source polygon (!)");
(void)bControlB;
if(a < nCount)
{
......
......@@ -158,6 +158,8 @@ SvPersistStream& operator >> ( SvPersistStream & rStm,
aStr += ByteString::CreateFromInt64(nObjLen);
DBG_ERROR( aStr.GetBuffer() );
}
#else
(void)nObjLen;
#endif
return rStm;
}
......@@ -762,6 +764,8 @@ UINT32 SvPersistStream::ReadObj
aStr += ByteString::CreateFromInt32( nClassId );
aStr += " registered";
DBG_WARNING( aStr.GetBuffer() );
#else
(void)nObjLen;
#endif
SetError( ERRCODE_IO_NOFACTORY );
return 0;
......@@ -881,7 +885,7 @@ SvStream& operator >>
{
SvPersistBase * pEle;
// Lesen, ohne in die Tabellen einzutragen
UINT32 nId = rThis.ReadObj( pEle, FALSE );
sal_uIntPtr nId = rThis.ReadObj( pEle, FALSE );
if( rThis.GetError() )
break;
......
......@@ -104,8 +104,6 @@ SAL_IMPLEMENT_MAIN()
printf("rtl_TextEncoding getBestMSEncodingByChar(sal_Unicode c)\n");
printf("{\n");
bool bFirstOutput = true;
sal_Unicode c = 0;
while (c < 0xFFFF)
{
......@@ -134,7 +132,6 @@ SAL_IMPLEMENT_MAIN()
sal_Unicode cEnd = c;
printf(" if (c < 0x%x)\n", c);
printf(" return %s;\n", aConverters[nMostCapable].getName());
bFirstOutput = false;
while(c < 0xFFFF)
{
bool bNothingCapable = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment