summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-05-31 10:45:50 +0200
committerJan Holesovsky <kendy@suse.cz>2011-05-31 10:45:50 +0200
commitca39c0ee5fb571693f96fe32f55b814d74e5b756 (patch)
tree61059dca291da35c9eac7e275d0866598eeff2ee /formula
parent9e1f58bf469984c19cd60031074eb60da56453a2 (diff)
parentd974d2ada8a61acf48fb0a9e3e4fa4744016dcda (diff)
Merge commit 'libreoffice-3.4.0.2'
Conflicts: basic/source/app/app.cxx basic/source/runtime/iosys.cxx desktop/unx/source/start.c sfx2/source/appl/appdata.cxx sfx2/source/appl/appinit.cxx sfx2/source/inc/appdata.hxx svx/AllLangResTarget_svx.mk sysui/desktop/productversion.mk sysui/desktop/share/makefile.mk
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index ab266ddd9b7e..5e695de116fc 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -669,7 +669,11 @@ void FormulaDlg_Impl::MakeTree(IStructHelper* _pTree,SvLBoxEntry* pParent,Formul
// #i101512# for output, the original token is needed
FormulaToken* pOrigToken = (_pToken->GetType() == svFAP) ? _pToken->GetFAPOrigToken() : _pToken;
uno::Sequence<sheet::FormulaToken> aArgs(1);
- aArgs[0] = m_aTokenMap.find(pOrigToken)->second;
+ ::std::map<FormulaToken*,sheet::FormulaToken>::const_iterator itr = m_aTokenMap.find(pOrigToken);
+ if (itr == m_aTokenMap.end())
+ return;
+
+ aArgs[0] = itr->second;
try
{
const table::CellAddress aRefPos(m_pHelper->getReferencePosition());