diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-10 08:11:19 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-10 08:11:19 +0200 |
commit | 581a04f2ce1db710186f2c11585eadd1ff32440d (patch) | |
tree | 80ae127ab147116e850320ad52cb4b8047521698 /sc/source | |
parent | da25c271cec8721d2ae5907da1de9fdcf7e2eb4c (diff) |
Some cppcheck cleaning
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 3e26ff632eeb..7252cc67553b 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -5488,10 +5488,10 @@ ScVbaRange::AutoFill( const uno::Reference< excel::XRange >& Destination, const // default to include the number of Rows in the source range; SCCOLROW nSourceCount = ( sourceRange.aEnd.Row() - sourceRange.aStart.Row() ) + 1; - SCCOLROW nCount = 0; if ( sourceRange != destRange ) { + SCCOLROW nCount = 0; // Find direction of fill, vertical or horizontal if ( sourceRange.aStart == destRange.aStart ) { |