diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-10 08:47:34 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-10 08:47:34 +0200 |
commit | 47289a6a80706577ba28238c2e82315f0604e3ef (patch) | |
tree | bae2920b06f214e059fe2a2e5ef48a6746b0f415 | |
parent | 581a04f2ce1db710186f2c11585eadd1ff32440d (diff) |
Revert partly cppcheck cleaning
-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 7252cc67553b..3e26ff632eeb 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 ) { |