summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index 589e8ad45a48..3bf65b1f71db 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -1357,8 +1357,7 @@ void SAL_CALL ChartDocumentWrapper::setDelegator(
if( rDelegator.is() )
throw lang::DisposedException("ChartDocumentWrapper is disposed",
static_cast< ::cppu::OWeakObject* >( this ));
- else
- return;
+ return;
}
if( rDelegator.is())