diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-14 17:56:51 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-15 11:37:06 -0400 |
commit | 7ac77e31a54d0b0545ed039426405f2b0c96a6e3 (patch) | |
tree | 9e00dcbc1255fd8df22e4520a962bf0e311d7a13 /sc/source/ui | |
parent | 188042ad5230e912f3149cc7ea1bb836e084069a (diff) |
Create skeleton accessors for cell text script types.
Change-Id: I5408cdd87f06423a6bb287c855237878859da880
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewutil.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 4b7c02a9bac1..fcd76aa3662b 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -823,7 +823,7 @@ sal_uInt8 ScViewFunc::GetSelectionScriptType() // no selection -> cursor nScript = pDoc->GetScriptType( GetViewData()->GetCurX(), - GetViewData()->GetCurY(), GetViewData()->GetTabNo() ); + GetViewData()->GetCurY(), GetViewData()->GetTabNo(), NULL ); } else { diff --git a/sc/source/ui/view/viewutil.cxx b/sc/source/ui/view/viewutil.cxx index e7400799b1fa..d24d080cfa4b 100644 --- a/sc/source/ui/view/viewutil.cxx +++ b/sc/source/ui/view/viewutil.cxx @@ -71,7 +71,7 @@ sal_uInt16 ScViewUtil::GetEffLanguage( ScDocument* pDoc, const ScAddress& rPos ) { // used for thesaurus - sal_uInt8 nScript = pDoc->GetScriptType( rPos.Col(), rPos.Row(), rPos.Tab() ); + sal_uInt8 nScript = pDoc->GetScriptType( rPos.Col(), rPos.Row(), rPos.Tab(), NULL ); sal_uInt16 nWhich = ( nScript == SCRIPTTYPE_ASIAN ) ? ATTR_CJK_FONT_LANGUAGE : ( ( nScript == SCRIPTTYPE_COMPLEX ) ? ATTR_CTL_FONT_LANGUAGE : ATTR_FONT_LANGUAGE ); const SfxPoolItem* pItem = pDoc->GetAttr( rPos.Col(), rPos.Row(), rPos.Tab(), nWhich); |