summaryrefslogtreecommitdiff
path: root/cui
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 /cui
parentf24590521c5ffea13c0aecdb2f30fdd39bbfbc45 (diff)
vcl: rename other members of StateChangedType for consistency
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx2
-rw-r--r--cui/source/dialogs/iconcdlg.cxx2
-rw-r--r--cui/source/options/connpooloptions.cxx2
-rw-r--r--cui/source/tabpages/autocdlg.cxx2
-rw-r--r--cui/source/tabpages/numfmt.cxx4
5 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 8fbb2439ec28..eb8b195c6e22 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -416,7 +416,7 @@ namespace svx
void SuggestionDisplay::StateChanged( StateChangedType nStateChange )
{
- if( StateChangedType::VISIBLE == nStateChange )
+ if( StateChangedType::Visible == nStateChange )
implUpdateDisplay();
}
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index d1c8c3523e9d..6174603b8107 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -120,7 +120,7 @@ void IconChoicePage::StateChanged( StateChangedType nType )
{
Window::StateChanged( nType );
- if ( nType == StateChangedType::CONTROLBACKGROUND )
+ if ( nType == StateChangedType::ControlBackground )
{
ImplInitSettings();
Invalidate();
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index d6e32b4e0441..1e67b366e2e8 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -221,7 +221,7 @@ namespace offapp
void DriverListControl::StateChanged( StateChangedType nStateChange )
{
- if (StateChangedType::ENABLE == nStateChange)
+ if (StateChangedType::Enable == nStateChange)
Window::Invalidate(INVALIDATE_UPDATE);
EditBrowseBox::StateChanged( nStateChange );
}
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 32191b143978..20fcbcfd33b8 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -920,7 +920,7 @@ void OfaAutocorrReplacePage::StateChanged(StateChangedType nStateChange)
{
SfxTabPage::StateChanged(nStateChange);
- if (nStateChange == StateChangedType::INITSHOW)
+ if (nStateChange == StateChangedType::InitShow)
{
setTabs();
}
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 2663c39e2f9d..352077ea2721 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -205,9 +205,9 @@ void SvxNumberPreview::InitSettings( bool bForeground, bool bBackground )
void SvxNumberPreview::StateChanged( StateChangedType nType )
{
- if ( nType == StateChangedType::CONTROLFOREGROUND )
+ if ( nType == StateChangedType::ControlForeground )
InitSettings( true, false );
- else if ( nType == StateChangedType::CONTROLBACKGROUND )
+ else if ( nType == StateChangedType::ControlBackground )
InitSettings( false, true );
Window::StateChanged( nType );