summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:34 +0200
commit30069114fef2858936c988e8fbc92a69b2ddc8d3 (patch)
tree3382e9f0d2388da576ac5f25e5c59f82e18e31c0 /svtools/source/config
parent06b409a64e954ea3336ee57313311eec1f83c01a (diff)
loplugin:staticcall
Change-Id: If7b285a2214bc878e8464a986538d0445078fcb3
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/apearcfg.cxx6
-rw-r--r--svtools/source/config/colorcfg.cxx4
-rw-r--r--svtools/source/config/extcolorcfg.cxx10
3 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/config/apearcfg.cxx b/svtools/source/config/apearcfg.cxx
index 949e43874312..aec81f1bc17a 100644
--- a/svtools/source/config/apearcfg.cxx
+++ b/svtools/source/config/apearcfg.cxx
@@ -161,7 +161,7 @@ void SvtTabAppearanceCfg::SetMiddleMouseButton ( sal_uInt16 nSet )
void SvtTabAppearanceCfg::SetApplicationDefaults ( Application* pApp )
{
- AllSettings hAppSettings = pApp->GetSettings();
+ AllSettings hAppSettings = Application::GetSettings();
StyleSettings hAppStyle = hAppSettings.GetStyleSettings();
// Look & Feel
@@ -218,10 +218,10 @@ void SvtTabAppearanceCfg::SetApplicationDefaults ( Application* pApp )
hAppSettings.SetMouseSettings( hMouseSettings );
hAppSettings.SetStyleSettings( hAppStyle );
- pApp->MergeSystemSettings ( hAppSettings ); // Allow system-settings to apply
+ Application::MergeSystemSettings ( hAppSettings ); // Allow system-settings to apply
pApp->OverrideSystemSettings ( hAppSettings );
- pApp->SetSettings ( hAppSettings );
+ Application::SetSettings ( hAppSettings );
}
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 7a087c45c8b4..23e7cb1cf419 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -368,7 +368,7 @@ void ColorConfig_Impl::ImplUpdateApplicationSettings()
Application* pApp = GetpApp();
if( pApp )
{
- AllSettings aSettings = pApp->GetSettings();
+ AllSettings aSettings = Application::GetSettings();
StyleSettings aStyleSettings( aSettings.GetStyleSettings() );
ColorConfigValue aRet = GetColorConfigValue(svtools::FONTCOLOR);
@@ -382,7 +382,7 @@ void ColorConfig_Impl::ImplUpdateApplicationSettings()
aStyleSettings.SetFontColor( aFontColor );
aSettings.SetStyleSettings( aStyleSettings );
- pApp->SetSettings( aSettings );
+ Application::SetSettings( aSettings );
}
}
}
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index a7f0ed205a8e..d2a0536613c1 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -530,7 +530,7 @@ void ExtendedColorConfig_Impl::UnlockBroadcast()
m_bBroadcastWhenUnlocked = ExtendedColorConfig::m_pImpl != NULL;
if ( m_bBroadcastWhenUnlocked )
{
- if ( ExtendedColorConfig::m_pImpl->IsEnableBroadcast() )
+ if ( ExtendedColorConfig_Impl::IsEnableBroadcast() )
{
m_bBroadcastWhenUnlocked = false;
ExtendedColorConfig::m_pImpl->Broadcast(SfxSimpleHint(SFX_HINT_COLORS_CHANGED));
@@ -621,12 +621,12 @@ EditableExtendedColorConfig::EditableExtendedColorConfig() :
m_pImpl(new ExtendedColorConfig_Impl),
m_bModified(false)
{
- m_pImpl->LockBroadcast();
+ ExtendedColorConfig_Impl::LockBroadcast();
}
EditableExtendedColorConfig::~EditableExtendedColorConfig()
{
- m_pImpl->UnlockBroadcast();
+ ExtendedColorConfig_Impl::UnlockBroadcast();
if(m_bModified)
m_pImpl->SetModified();
if(m_pImpl->IsModified())
@@ -688,12 +688,12 @@ void EditableExtendedColorConfig::Commit()
void EditableExtendedColorConfig::DisableBroadcast()
{
- m_pImpl->DisableBroadcast();
+ ExtendedColorConfig_Impl::DisableBroadcast();
}
void EditableExtendedColorConfig::EnableBroadcast()
{
- m_pImpl->EnableBroadcast();
+ ExtendedColorConfig_Impl::EnableBroadcast();
}
sal_Int32 EditableExtendedColorConfig::GetComponentCount() const