summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/ChartFrameloader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/ChartFrameloader.cxx')
-rw-r--r--chart2/source/controller/main/ChartFrameloader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartFrameloader.cxx b/chart2/source/controller/main/ChartFrameloader.cxx
index e14a064fcbdd..b55d6ee48f58 100644
--- a/chart2/source/controller/main/ChartFrameloader.cxx
+++ b/chart2/source/controller/main/ChartFrameloader.cxx
@@ -104,8 +104,8 @@ sal_Bool SAL_CALL ChartFrameLoader::load( const uno::Sequence< beans::PropertyVa
}
//create the controller(+XWindow)
- uno::Reference< frame::XController > xController = nullptr;
- uno::Reference< awt::XWindow > xComponentWindow = nullptr;
+ uno::Reference< frame::XController > xController;
+ uno::Reference< awt::XWindow > xComponentWindow;
{
xController.set(
m_xCC->getServiceManager()->createInstanceWithContext(