[Libreoffice-commits] core.git: svtools/source
Julien Nabet
serval2412 at yahoo.fr
Thu Aug 22 22:36:08 PDT 2013
svtools/source/contnr/contentenumeration.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7d8b6c311f244fff5ae291c5b83aa2e81bbd44e7
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Aug 23 07:34:56 2013 +0200
cppcheck: reduce scope
Change-Id: Id2f4c6737e8f5290c7e41a42bec0d952207cc40e
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx
index 49b935f..3429f76 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 );
More information about the Libreoffice-commits
mailing list