diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-10-12 00:02:30 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-10-12 00:02:30 +0200 |
commit | c196ea4df329ca39ffd1b26282a0f92567cf64d9 (patch) | |
tree | 038191b24fd56d17c086621d5dc17ed023f9225c /chart2/source/controller/main/ChartController_Tools.cxx | |
parent | 6efa9d1d23cf3f6987282959483ed4d3b763d465 (diff) |
Reduce scope
Change-Id: Idf01d2c4d151aeba411097b72fdaf88e7c08a347
Diffstat (limited to 'chart2/source/controller/main/ChartController_Tools.cxx')
-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() ) { |