diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-03-10 09:37:43 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-03-10 09:37:43 -0500 |
commit | 99e81a072b0a4b60c695d1ddc1a063cb0abd88a4 (patch) | |
tree | f02cf93584b6b876f44462bbf49254599f22b923 /sc/source/ui/unoobj/tokenuno.cxx | |
parent | 5f94a5e44621da1ca3cf59df7d6cbace46606995 (diff) |
koheiextref01: Have ScExternalRefManager::ApiGuard take ScDocument pointer, to make its declaration one-liner.
Diffstat (limited to 'sc/source/ui/unoobj/tokenuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/tokenuno.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/tokenuno.cxx b/sc/source/ui/unoobj/tokenuno.cxx index 6c2f00c809f0..5e3b3102e14a 100644 --- a/sc/source/ui/unoobj/tokenuno.cxx +++ b/sc/source/ui/unoobj/tokenuno.cxx @@ -141,8 +141,7 @@ uno::Sequence<sheet::FormulaToken> SAL_CALL ScFormulaParserObj::parseFormula( if (mpDocShell) { ScDocument* pDoc = mpDocShell->GetDocument(); - ScExternalRefManager* pRefMgr = pDoc->GetExternalRefManager(); - ScExternalRefManager::ApiGuard aExtRefGuard(pRefMgr); + ScExternalRefManager::ApiGuard aExtRefGuard(pDoc); ScAddress aRefPos( ScAddress::UNINITIALIZED ); ScUnoConversion::FillScAddress( aRefPos, rReferencePos ); |