diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-05-05 13:46:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-05-05 15:51:11 +0200 |
commit | 8fca0c44e8f21fa2ee1000665856292d5a1c44e9 (patch) | |
tree | e750236facc3fd44b051a70aaa0e81be0fc2c002 /forms/source/richtext | |
parent | f24590521c5ffea13c0aecdb2f30fdd39bbfbc45 (diff) |
vcl: rename other members of StateChangedType for consistency
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/richtextimplcontrol.hxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextvclcontrol.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index 2f0acb1da700..ce4f22179d53 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -127,7 +127,7 @@ namespace frm */ void notifyZoomChanged(); - /** to be called when the StateChangedType::INITSHOW event arrives + /** to be called when the StateChangedType::InitShow event arrives */ void notifyInitShow(); diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index d7286204921c..80481370836e 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -174,16 +174,16 @@ namespace frm void RichTextControl::StateChanged( StateChangedType _nStateChange ) { - if ( _nStateChange == StateChangedType::STYLE ) + if ( _nStateChange == StateChangedType::Style ) { SetStyle( implInitStyle( GetStyle() ) ); m_pImpl->notifyStyleChanged(); } - else if ( _nStateChange == StateChangedType::ZOOM ) + else if ( _nStateChange == StateChangedType::Zoom ) { m_pImpl->notifyZoomChanged(); } - else if ( _nStateChange == StateChangedType::INITSHOW ) + else if ( _nStateChange == StateChangedType::InitShow ) { m_pImpl->notifyInitShow(); } |