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 /sc | |
parent | Some cppcheck cleaning (diff) | |
download | core-47289a6a80706577ba28238c2e82315f0604e3ef.tar.gz core-47289a6a80706577ba28238c2e82315f0604e3ef.zip |
Revert partly cppcheck cleaning
Diffstat (limited to 'sc')
-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 ) { |