summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/cellsuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/cellsuno.cxx')
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 80c4f45354ab..d51b81a03b16 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -6422,7 +6422,7 @@ void SAL_CALL ScCellObj::insertTextContent( const uno::Reference<text::XTextRang
ScDocShell* pDocSh = GetDocShell();
if ( pDocSh && xContent.is() )
{
- ScCellFieldObj* pCellField = ScCellFieldObj::getImplementation( xContent );
+ ScEditFieldObj* pCellField = ScEditFieldObj::getImplementation(xContent);
SvxUnoTextRangeBase* pTextRange = ScCellTextCursor::getImplementation( xRange );
if ( pCellField && !pCellField->IsInserted() && pTextRange )
@@ -6469,7 +6469,7 @@ void SAL_CALL ScCellObj::removeTextContent( const uno::Reference<text::XTextCont
SolarMutexGuard aGuard;
if ( xContent.is() )
{
- ScCellFieldObj* pCellField = ScCellFieldObj::getImplementation( xContent );
+ ScEditFieldObj* pCellField = ScEditFieldObj::getImplementation(xContent);
if ( pCellField && pCellField->IsInserted() )
{
//! Testen, ob das Feld in dieser Zelle ist