summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-18 18:55:56 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-18 18:55:56 -0500
commit1c1fbc6123545b16ba10679192ca85b1d939fad8 (patch)
treeecb31948cb3060c9b8c99f7bb13bd00de356a534 /sc/source/filter/xcl97
parent39a09318dc2162a4f4edeed7c7d67149258201e2 (diff)
Better cell anchoring. (fdo#33205)
Diffstat (limited to 'sc/source/filter/xcl97')
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index b72eaf1563ff..eb82c188592c 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -978,7 +978,7 @@ GetEditAs( XclObjAny& rObj )
if( const SdrObject* pShape = EscherEx::GetSdrObject( rObj.GetShape() ) )
{
// OOXTODO: returning "twoCell"
- switch( ScDrawLayer::GetAnchor( pShape ) )
+ switch( ScDrawLayer::GetAnchorType( *pShape ) )
{
case SCA_CELL: return "oneCell";
default: break;