diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-25 17:16:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-25 17:16:14 +0200 |
commit | 6810f00d09679644ec5971b235a0ec01dc572a8b (patch) | |
tree | 6d09515ab5c58fddb08f1551be75bfe50202947e /pyuno | |
parent | b7bf1ba2136b3d1e031673e7b541c6181e95ff61 (diff) |
loplugin:staticaccess: Extend loplugin:staticcall to cover all access...
to static members (data, in addition to function) via class member access
syntax. Also covers the (somewhat obscure) access to enumerator members.
Change-Id: Iec54b8df2fdb423c0caf21a0dd0f9fe8fdf33897
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_module.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index e3ab5d702949..000b63dc688c 100644 --- a/pyuno/source/module/pyuno_module.cxx +++ b/pyuno/source/module/pyuno_module.cxx @@ -268,7 +268,7 @@ static PyObject* getComponentContext( iniFileName.append( SAL_CONFIGFILE( "pyuno" ) ); iniFile = iniFileName.makeStringAndClear(); osl::DirectoryItem item; - if( osl::DirectoryItem::get( iniFile, item ) == item.E_None ) + if( osl::DirectoryItem::get( iniFile, item ) == osl::FileBase::E_None ) { // in case pyuno.ini exists, use this file for bootstrapping PyThreadDetach antiguard; |