From 7c704c78d3c652504c064b4ac7af55a2c1ee49bb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 21 Jan 2012 15:21:16 +0100 Subject: Removed some unused parameters; added SAL_UNUSED_PARAMETER. SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers. --- sfx2/source/appl/linkmgr2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/appl/linkmgr2.cxx') diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx index 0e8607d61e45..daec440c0c5a 100644 --- a/sfx2/source/appl/linkmgr2.cxx +++ b/sfx2/source/appl/linkmgr2.cxx @@ -318,7 +318,7 @@ void LinkManager::UpdateAllLinks( { // First make a copy of the array in order to update links // links in ... no contact between them! - SvPtrarr aTmpArr( 255, 50 ); + SvPtrarr aTmpArr( 255 ); sal_uInt16 n; for( n = 0; n < aLinkTbl.Count(); ++n ) { -- cgit