summaryrefslogtreecommitdiff
path: root/oox/source/ole/vbaproject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ole/vbaproject.cxx')
-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 19defae81a9a..0dfb1dc4a133 100644
--- a/oox/source/ole/vbaproject.cxx
+++ b/oox/source/ole/vbaproject.cxx
@@ -486,7 +486,7 @@ void VbaProject::importVba( StorageBase& rVbaPrjStrg, const GraphicHelper& rGrap
for( ::std::vector< OUString >::iterator aIt = aElements.begin(), aEnd = aElements.end(); aIt != aEnd; ++aIt )
{
// try to open the element as storage
- if( !aIt->equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "VBA" ) ) )
+ if( *aIt != "VBA" )
{
StorageRef xSubStrg = rVbaPrjStrg.openSubStorage( *aIt, false );
if( xSubStrg.get() ) try