diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-20 15:15:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-20 15:15:57 +0200 |
commit | 6c1c9c4a57ca29c2ba8749a945a476f082ccac44 (patch) | |
tree | e645a9473b4a6e3d39de1c27fd40426e391033c2 /extensions | |
parent | ccf9d889fd3b21473e201b0d25a714d10474bc96 (diff) |
fix build
after my commit e3990370f832c8a69d1b6b22ec315dc0616d5535
"loplugin:unusedfields extensions"
Change-Id: Ia9d10e7df88e9a82cf5c8bd883346ead3debd2bd
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/plugin/unx/unxmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/plugin/unx/unxmgr.cxx b/extensions/source/plugin/unx/unxmgr.cxx index 7f45607238e0..3e82c38dfb0b 100644 --- a/extensions/source/plugin/unx/unxmgr.cxx +++ b/extensions/source/plugin/unx/unxmgr.cxx @@ -207,9 +207,9 @@ static void CheckPluginRegistryFiles( const OString& rPath, list< PluginDescript struct dirent* pDirEnt = nullptr; struct stat aStat; struct dirent u; - while( pDIR && ! readdir_r( pDIR, &u.asDirent, &pDirEnt ) && pDirEnt ) + while( pDIR && ! readdir_r( pDIR, &u, &pDirEnt ) && pDirEnt ) { - char* pBaseName = u.asDirent.d_name; + char* pBaseName = u.d_name; if( rtl_str_compare( ".", pBaseName ) && rtl_str_compare( "..", pBaseName ) ) { OStringBuffer aBuf( 1024 ); @@ -269,9 +269,9 @@ Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() th { DIR* pDIR = opendir(aPath.getStr()); struct dirent* pDirEnt = nullptr; - while( pDIR && ! readdir_r( pDIR, &u.asDirent, &pDirEnt ) && pDirEnt ) + while( pDIR && ! readdir_r( pDIR, &u, &pDirEnt ) && pDirEnt ) { - char* pBaseName = u.asDirent.d_name; + char* pBaseName = u.d_name; if( pBaseName[0] != '.' || pBaseName[1] != '.' || pBaseName[2] != 0 ) |