[Libreoffice-commits] .: sc/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Fri Sep 9 23:47:46 PDT 2011
sc/source/ui/vba/vbarange.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 47289a6a80706577ba28238c2e82315f0604e3ef
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Sep 10 08:47:34 2011 +0200
Revert partly cppcheck cleaning
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 7252cc6..3e26ff6 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 )
{
More information about the Libreoffice-commits
mailing list