.. _Remove 'local' or 'protected' Qualifier:

Remove 'local' or 'protected' Qualifier
=======================================

An error is triggered when accessing hidden API, for example local fields of a super class, or protected functions of another object.

.. figure:: ../../images/common/sv_quick_fix_illegal_access_list.png

Place the editor cursor on the error's line and press :kbd:`Ctrl+1`, select **Remove 'local' qualifier** or **Remove 'protected' qualifier** from the list of quick fix proposals and press  :kbd:`Enter`.

The declaration of the field is revealed in the editor, and the local qualifier is removed. 

.. figure:: ../../images/common/sv_quick_fix_illegal_access_after.png


