diff options
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 3 | ||||
-rw-r--r-- | cppu/source/uno/lbmap.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index c888910493e0..d03621282919 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -1055,8 +1055,7 @@ static bool loadEnv(OUString const & cLibStem, if (!bMod) return false; - OUString aSymbolName(UNO_INIT_ENVIRONMENT); - uno_initEnvironmentFunc fpInit = reinterpret_cast<uno_initEnvironmentFunc>(aMod.getSymbol(aSymbolName)); + uno_initEnvironmentFunc fpInit = reinterpret_cast<uno_initEnvironmentFunc>(aMod.getSymbol(UNO_INIT_ENVIRONMENT)); if (!fpInit) return false; diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 7da528cb372e..51e1c26dc617 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -418,9 +418,8 @@ static Mapping loadExternalMapping( if (bModule) { - OUString aSymbolName( UNO_EXT_GETMAPPING ); uno_ext_getMappingFunc fpGetMapFunc = - reinterpret_cast<uno_ext_getMappingFunc>(aModule.getSymbol( aSymbolName )); + reinterpret_cast<uno_ext_getMappingFunc>(aModule.getSymbol( UNO_EXT_GETMAPPING )); if (fpGetMapFunc) { |