summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/contnr/contentenumeration.cxx2
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 );