diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-16 11:19:45 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-16 11:22:15 -0500 |
commit | c5fc0af6f551980d3e147f7d6cf1fdd320b8f1fe (patch) | |
tree | 1ffd5504f1a9ad064771d84305dbfd4b6c32cac7 /chart2/source | |
parent | 05923e058a6b90f05c90d5f9aef4de58233a51ac (diff) |
Remove GetAllMarkedModel() since all it does is call GetMarkedObjModel().
One less indirection makes the code a tad easier to follow.
Change-Id: I8e1113617c09f91c0cad32277ee4e32c78f9f058
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/main/ChartTransferable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartTransferable.cxx b/chart2/source/controller/main/ChartTransferable.cxx index 6a987d077ca8..efc9782c1874 100644 --- a/chart2/source/controller/main/ChartTransferable.cxx +++ b/chart2/source/controller/main/ChartTransferable.cxx @@ -58,7 +58,7 @@ ChartTransferable::ChartTransferable( SdrModel* pDrawModel, SdrObject* pSelected m_xMetaFileGraphic.set( aGraphic.GetXGraphic()); if ( m_bDrawing ) { - m_pMarkedObjModel = ( pExchgView ? pExchgView->GetAllMarkedModel() : NULL ); + m_pMarkedObjModel = ( pExchgView ? pExchgView->GetMarkedObjModel() : NULL ); } delete pExchgView; } |