diff options
-rw-r--r-- | chart2/source/controller/main/ChartController_Tools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx index bfe6fc1535bd..3415ec892bd8 100644 --- a/chart2/source/controller/main/ChartController_Tools.cxx +++ b/chart2/source/controller/main/ChartController_Tools.cxx @@ -509,9 +509,9 @@ void ChartController::executeDispatch_Copy() Reference< datatransfer::XTransferable > xTransferable; { SolarMutexGuard aSolarGuard; - SdrObject* pSelectedObj = 0; if ( m_pDrawModelWrapper ) { + SdrObject* pSelectedObj = 0; ObjectIdentifier aSelOID( m_aSelection.getSelectedOID() ); if ( aSelOID.isAutoGeneratedObject() ) { |