Commits

Anonymous committed 3f923b6

#i12587# Inserting/editing arbitrary text objects in chart

Comments (0)

Files changed (1)

chart2/source/controller/main/ElementSelector.cxx

         }
                 
         Reference< chart2::XChartDocument > xChartDoc( xChartController->getModel(), uno::UNO_QUERY );
-        ObjectType eType( ObjectIdentifier::getObjectType( aSelectedOID.getObjectCID() ));
+        ObjectType eType( ObjectIdentifier::getObjectType( aSelectedCID ));
         bool bAddSelectionToList = false;
         if( eType == OBJECTTYPE_DATA_POINT || eType == OBJECTTYPE_DATA_LABEL )
             bAddSelectionToList = true;