Daniel Rentz  committed 32abfda

container_controls: wrong comparision that prevents VBA import

  • Participants
  • Parent commits 4833c69
  • Branches default

Comments (0)

Files changed (1)

File oox/source/ole/vbaproject.cxx

         into the Basic library of the document specified by the 'maPrjName'
         member. Do not create the Basic library, if there are no modules
         specified. */
-    if( !aModules.empty() && !aDummyModules.empty() ) try
+    if( !aModules.empty() || !aDummyModules.empty() ) try
         // get the basic library
         Reference< XNameContainer > xBasicLib( createBasicLibrary(), UNO_SET_THROW );