diff options
author | Ocke Janssen <oj@openoffice.org> | 2011-03-04 07:53:39 +0100 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2011-03-04 07:53:39 +0100 |
commit | c3fd001f6178efa4db03e1277f1c12e395ccfaed (patch) | |
tree | df994747708e08ea608ee5d12514d4b19e348ed9 /sc/source/ui | |
parent | ce6308e4fad2281241bf4ca78280eba29f744d43 (diff) | |
parent | c3e2f4768a46a4a1545d9f7385b242c5a79553ae (diff) |
Automated merge with file:///d:\tools\master\ooo
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 23eb1abd2d82..f6250cdd8cb4 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1268,7 +1268,12 @@ void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelec } if ( nPage >= 0 ) - pPDFData->SetLinkDest( aIter->nLinkId, pPDFData->CreateDest( aArea, nPage ) ); + { + if ( aIter->nLinkId != -1 ) + pPDFData->SetLinkDest( aIter->nLinkId, pPDFData->CreateDest( aArea, nPage ) ); + else + pPDFData->DescribeRegisteredDest( aIter->nDestId, aArea, nPage ); + } } } else |