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

Caolán McNamara caolanm at redhat.com
Fri Jul 17 08:48:25 PDT 2015


 connectivity/source/drivers/mozab/MColumnAlias.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 7fbadc4db37e02d78fde34d6fd52feb73cc5dd1f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 17 16:47:23 2015 +0100

    error C2065: ´bFound´ : undeclared identifier
    
    Change-Id: Ibf72f77458d837849fe20361ca751dce2989830c

diff --git a/connectivity/source/drivers/mozab/MColumnAlias.cxx b/connectivity/source/drivers/mozab/MColumnAlias.cxx
index 2a28ef5..89ba2d6 100644
--- a/connectivity/source/drivers/mozab/MColumnAlias.cxx
+++ b/connectivity/source/drivers/mozab/MColumnAlias.cxx
@@ -125,9 +125,7 @@ void OColumnAlias::initialize( const ::com::sun::star::uno::Reference< ::com::su
 
                 OString sAsciiProgrammaticName( OUStringToOString( *pProgrammaticNames, RTL_TEXTENCODING_ASCII_US ) );
 
-            #if OSL_DEBUG_LEVEL > 0
                 bool bFound = false;
-            #endif
                 for (   AliasMap::iterator search = m_aAliasMap.begin();
                         ( search != m_aAliasMap.end() );
                         ++search
@@ -139,15 +137,13 @@ void OColumnAlias::initialize( const ::com::sun::star::uno::Reference< ::com::su
                         m_aAliasMap.erase( search );
                         m_aAliasMap[ sAssignedAlias ] = entry;
 
-                    #if OSL_DEBUG_LEVEL > 0
                         bFound = true;
-                    #endif
 
                         break;
                     }
                 }
 
-                OSL_ENSURE( bFound, "OColumnAlias::setAlias: did not find a programmatic name which exists in the configuration!" );
+                OSL_ENSURE( bFound, "OColumnAlias::setAlias: did not find a programmatic name which exists in the configuration!" ); (void)bFound;
             }
         }
         catch( const Exception& )


More information about the Libreoffice-commits mailing list