ChartTypeDialogController.cxx (cde9e8dc) ChartTypeDialogController.cxx (9ec58d04)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 281 unchanged lines hidden (view full) ---

290}
291uno::Reference< XChartTypeTemplate > ChartTypeDialogController::getCurrentTemplate(
292 const ChartTypeParameter& rParameter
293 , const uno::Reference< lang::XMultiServiceFactory >& xTemplateManager ) const
294{
295 uno::Reference< XChartTypeTemplate > xTemplate(0);
296
297 rtl::OUString aServiceName( this->getServiceNameForParameter( rParameter ) );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 281 unchanged lines hidden (view full) ---

290}
291uno::Reference< XChartTypeTemplate > ChartTypeDialogController::getCurrentTemplate(
292 const ChartTypeParameter& rParameter
293 , const uno::Reference< lang::XMultiServiceFactory >& xTemplateManager ) const
294{
295 uno::Reference< XChartTypeTemplate > xTemplate(0);
296
297 rtl::OUString aServiceName( this->getServiceNameForParameter( rParameter ) );
298 if(aServiceName.getLength())
298 if( !aServiceName.isEmpty() )
299 {
300 xTemplate.set( xTemplateManager->createInstance( aServiceName ), uno::UNO_QUERY );
301 if(xTemplate.is())
302 {
303 uno::Reference< beans::XPropertySet > xTemplateProps( xTemplate, uno::UNO_QUERY );
304 if(xTemplateProps.is())
305 {
306 try

--- 977 unchanged lines hidden ---
299 {
300 xTemplate.set( xTemplateManager->createInstance( aServiceName ), uno::UNO_QUERY );
301 if(xTemplate.is())
302 {
303 uno::Reference< beans::XPropertySet > xTemplateProps( xTemplate, uno::UNO_QUERY );
304 if(xTemplateProps.is())
305 {
306 try

--- 977 unchanged lines hidden ---