summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/StatusBarCommandDispatch.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-03-15 13:09:41 +0100
committerIngrid Halama <iha@openoffice.org>2010-03-15 13:09:41 +0100
commit8195643ff81f7a60e46522767c6b6483713f4af1 (patch)
tree42e3e2502b344817a441aa114b404cfbf2e676ef /chart2/source/controller/main/StatusBarCommandDispatch.cxx
parent590a1a5225623eb922e63b02b62e711d153e9d55 (diff)
parentf2cf0b3fde3d8577260c8b12e380d23a27dbae17 (diff)
chart43: merge with DEV300_m75
Diffstat (limited to 'chart2/source/controller/main/StatusBarCommandDispatch.cxx')
-rw-r--r--chart2/source/controller/main/StatusBarCommandDispatch.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/StatusBarCommandDispatch.cxx b/chart2/source/controller/main/StatusBarCommandDispatch.cxx
index 8522d96191e8..d80d37eff7da 100644
--- a/chart2/source/controller/main/StatusBarCommandDispatch.cxx
+++ b/chart2/source/controller/main/StatusBarCommandDispatch.cxx
@@ -95,7 +95,7 @@ void StatusBarCommandDispatch::fireStatusEvent(
{
uno::Any aArg;
Reference< chart2::XChartDocument > xDoc( m_xModifiable, uno::UNO_QUERY );
- aArg <<= ObjectNameProvider::getSelectedObjectText( m_aSelectedCID, xDoc );
+ aArg <<= ObjectNameProvider::getSelectedObjectText( m_aSelectedOID.getObjectCID(), xDoc );
fireStatusEventForURL( C2U(".uno:Context"), aArg, true, xSingleListener );
}
if( bFireModified )
@@ -147,9 +147,9 @@ void SAL_CALL StatusBarCommandDispatch::selectionChanged( const lang::EventObjec
throw (uno::RuntimeException)
{
if( m_xSelectionSupplier.is())
- m_xSelectionSupplier->getSelection() >>= m_aSelectedCID;
+ m_aSelectedOID = ObjectIdentifier( m_xSelectionSupplier->getSelection() );
else
- m_aSelectedCID = OUString();
+ m_aSelectedOID = ObjectIdentifier();
fireAllStatusEvents( 0 );
}