summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-12-19 12:40:00 +0200
committerTor Lillqvist <tml@collabora.com>2014-12-19 12:43:34 +0200
commit63b8d48b114762c69f739a2c00a94f020d62d31b (patch)
tree4e6d179967941319584e586b727c264677819185 /oox
parente52bbff12c7a9f898a753229370fa0b621ba9003 (diff)
WaE: variable 'nModuleCount' set but not used
Change-Id: If7893fcfbac978710c664cfd013910ece77cda59
Diffstat (limited to 'oox')
-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