[Libreoffice-commits] .: Branch 'feature/gnumake2.1' - sc/source
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sun Jan 16 16:19:38 PST 2011
sc/source/ui/vba/vbarange.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 07743f46e4b49405ec1f19fb74bf54bd5648dedb
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Jan 16 18:18:15 2011 -0600
undo a broken cppcheck-induced change
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index dd746eb..445a08b 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -5394,10 +5394,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