[Libreoffice-commits] core.git: oox/source

Tor Lillqvist tml at collabora.com
Fri Dec 19 02:46:12 PST 2014


 oox/source/ole/vbaproject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 63b8d48b114762c69f739a2c00a94f020d62d31b
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Dec 19 12:40:00 2014 +0200

    WaE: variable 'nModuleCount' set but not used
    
    Change-Id: If7893fcfbac978710c664cfd013910ece77cda59

diff --git a/oox/source/ole/vbaproject.cxx b/oox/source/ole/vbaproject.cxx
index d9baea0..8e5365f 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


More information about the Libreoffice-commits mailing list