summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/ole/vbaproject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/vbaproject.cxx b/oox/source/ole/vbaproject.cxx
index d9baea00375e..8e5365f92ed0 100644
--- a/oox/source/ole/vbaproject.cxx
+++ b/oox/source/ole/vbaproject.cxx
@@ -331,7 +331,7 @@ void VbaProject::readVbaModules( StorageBase& rVbaPrjStrg )
break;
}
}
- OSL_ENSURE( nModuleCount == maModules.size(), "VbaProject::importVba - invalid module count" );
+ SAL_WARN_IF( nModuleCount != maModules.size(), "oox.ole", "VbaProject::importVba - invalid module count" );
/* The directory does not contain the real type of the modules, it
distinguishes only between 'procedural' and 'document' (the latter