diff options
Diffstat (limited to 'sc/source/core/data/documen9.cxx')
-rwxr-xr-x | sc/source/core/data/documen9.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx index 084ccb7ba977..7d66ece8c570 100755 --- a/sc/source/core/data/documen9.cxx +++ b/sc/source/core/data/documen9.cxx @@ -818,3 +818,10 @@ void ScDocument::SetAsianKerning(sal_Bool bNew) pDrawLayer->SetKernAsianPunctuation( (sal_Bool)nAsianKerning ); } +void ScDocument::ApplyAsianEditSettings( ScEditEngineDefaulter& rEngine ) +{ + rEngine.SetForbiddenCharsTable( xForbiddenCharacters ); + rEngine.SetAsianCompressionMode( GetAsianCompression() ); + rEngine.SetKernAsianPunctuation( GetAsianKerning() ); +} + |