diff options
author | Thomas Benisch <tbe@openoffice.org> | 2009-11-18 17:01:34 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2009-11-18 17:01:34 +0000 |
commit | bf5a4ac980b8646b13cbb4a812d39b74cdcce686 (patch) | |
tree | 53186098ff8e4af4f7585cd8cb00f5e4f2282399 /chart2/source/controller/accessibility | |
parent | 492ba8430b6e037514b02139ce9f623bd9dded0c (diff) |
#i12587# Inserting/editing arbitrary text objects in chart
Diffstat (limited to 'chart2/source/controller/accessibility')
-rw-r--r-- | chart2/source/controller/accessibility/AccessibleBase.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index f5f30b15377e..a6dadc374610 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -840,17 +840,7 @@ void SAL_CALL AccessibleBase::grabFocus() Reference< view::XSelectionSupplier > xSelSupp( GetInfo().m_xSelectionSupplier ); if ( xSelSupp.is() ) { - uno::Any aSelection; - AccessibleUniqueId aId = GetId(); - if ( aId.isAutoGeneratedObject() ) - { - aSelection = uno::makeAny( aId.getObjectCID() ); - } - else if ( aId.isAdditionalShape() ) - { - aSelection = uno::makeAny( aId.getAdditionalShape() ); - } - xSelSupp->select( aSelection ); + xSelSupp->select( GetId().getAny() ); } } |