summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-25 17:16:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-25 17:16:14 +0200
commit6810f00d09679644ec5971b235a0ec01dc572a8b (patch)
tree6d09515ab5c58fddb08f1551be75bfe50202947e /pyuno
parentb7bf1ba2136b3d1e031673e7b541c6181e95ff61 (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.cxx2
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;