summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-05-05 13:46:44 +0200
committerMichael Stahl <mstahl@redhat.com>2015-05-05 15:51:11 +0200
commit8fca0c44e8f21fa2ee1000665856292d5a1c44e9 (patch)
treee750236facc3fd44b051a70aaa0e81be0fc2c002 /sw
parentf24590521c5ffea13c0aecdb2f30fdd39bbfbc45 (diff)
vcl: rename other members of StateChangedType for consistency
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/mmoutputtypepage.cxx2
-rw-r--r--sw/source/ui/fldui/inpdlg.cxx2
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx
index 72c84ccd66df..105613c45650 100644
--- a/sw/source/ui/dbui/mmoutputtypepage.cxx
+++ b/sw/source/ui/dbui/mmoutputtypepage.cxx
@@ -547,7 +547,7 @@ void SwSendMailDialog::ShowDialog()
void SwSendMailDialog::StateChanged( StateChangedType nStateChange )
{
ModelessDialog::StateChanged( nStateChange );
- if(StateChangedType::VISIBLE == nStateChange && !IsVisible())
+ if(StateChangedType::Visible == nStateChange && !IsVisible())
{
m_pImpl->aRemoveIdle.SetIdleHdl( LINK( this, SwSendMailDialog,
RemoveThis ) );
diff --git a/sw/source/ui/fldui/inpdlg.cxx b/sw/source/ui/fldui/inpdlg.cxx
index 1da4ca51f107..6a7c663d6437 100644
--- a/sw/source/ui/fldui/inpdlg.cxx
+++ b/sw/source/ui/fldui/inpdlg.cxx
@@ -122,7 +122,7 @@ void SwFldInputDlg::dispose()
void SwFldInputDlg::StateChanged( StateChangedType nType )
{
- if ( nType == StateChangedType::INITSHOW )
+ if ( nType == StateChangedType::InitShow )
m_pEditED->GrabFocus();
SvxStandardDialog::StateChanged( nType );
}
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index 4a85ad20b394..c342034c5269 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -433,7 +433,7 @@ void SwAddressPreview::KeyInput( const KeyEvent& rKEvt )
void SwAddressPreview::StateChanged( StateChangedType nStateChange )
{
- if(nStateChange == StateChangedType::ENABLE)
+ if(nStateChange == StateChangedType::Enable)
Invalidate();
Window::StateChanged(nStateChange);
}