diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-08-23 07:34:56 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-08-23 07:35:45 +0200 |
commit | 7d8b6c311f244fff5ae291c5b83aa2e81bbd44e7 (patch) | |
tree | a95ba2e9e06f6c52716914eae9eed37750bd0f8f /svtools | |
parent | 3906f303716a5fe8b0ed34eb4e756243b0af25a2 (diff) |
cppcheck: reduce scope
Change-Id: Id2f4c6737e8f5290c7e41a42bec0d952207cc40e
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/contentenumeration.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx index 49b935ff3dce..3429f760a62c 100644 --- a/svtools/source/contnr/contentenumeration.cxx +++ b/svtools/source/contnr/contentenumeration.cxx @@ -198,7 +198,6 @@ namespace svt { } - bool bCancelled = false; if ( xResultSet.is() ) { Reference< XRow > xRow( xResultSet, UNO_QUERY ); @@ -209,6 +208,7 @@ namespace svt SortingData_Impl* pData; DateTime aDT; + bool bCancelled = false; while ( !bCancelled && xResultSet->next() ) { sal_Bool bIsHidden = xRow->getBoolean( ROW_IS_HIDDEN ); |