diff options
Diffstat (limited to 'sc/source/ui/view/gridwin.cxx')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index a7033fe4d943..620d625f8dfc 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5087,9 +5087,9 @@ bool ScGridWindow::GetEditUrlOrError( bool bSpellErr, const Point& rPos, aEngine.SetPaperSize( aPaperSize ); ::std::auto_ptr< EditTextObject > pTextObj; - const EditTextObject* pData; if(pCell->GetCellType() == CELLTYPE_EDIT) { + const EditTextObject* pData; ((ScEditCell*)pCell)->GetData(pData); if (pData) aEngine.SetText(*pData); |