summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 14:12:10 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:13 +0200
commit593515e529d75f08f4d3766dac78b1792aea4be4 (patch)
treea82b7d8b52106727304b092273e3b8cc7c9175d0 /sc
parentee094bd46f55118993c72af719dc046476f9f311 (diff)
loplugin:staticmethods
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen9.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 639eebb15a17..2ec2a1753679 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -647,7 +647,7 @@ void ScDocument::SetForbiddenCharacters(const rtl::Reference<SvxForbiddenCharact
{
xForbiddenCharacters = rNew;
if ( pEditEngine )
- pEditEngine->SetForbiddenCharsTable( xForbiddenCharacters );
+ EditEngine::SetForbiddenCharsTable( xForbiddenCharacters );
if ( pDrawLayer )
pDrawLayer->SetForbiddenCharsTable( xForbiddenCharacters );
}
@@ -698,7 +698,7 @@ void ScDocument::SetAsianKerning(bool bNew)
void ScDocument::ApplyAsianEditSettings( ScEditEngineDefaulter& rEngine )
{
- rEngine.SetForbiddenCharsTable( xForbiddenCharacters );
+ EditEngine::SetForbiddenCharsTable( xForbiddenCharacters );
rEngine.SetAsianCompressionMode( GetAsianCompression() );
rEngine.SetKernAsianPunctuation( GetAsianKerning() );
}