WrappedAxisAndGridExistenceProperties.cxx (cde9e8dc) | WrappedAxisAndGridExistenceProperties.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 --- 296 unchanged lines hidden (view full) --- 305} 306 307Any WrappedAxisTitleExistenceProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const 308 throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) 309{ 310 sal_Bool bHasTitle = sal_False; 311 312 Reference< chart2::XTitle > xTitle( TitleHelper::getTitle( m_eTitleType, m_spChart2ModelContact->getChartModel() ) ); | 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 --- 296 unchanged lines hidden (view full) --- 305} 306 307Any WrappedAxisTitleExistenceProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const 308 throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) 309{ 310 sal_Bool bHasTitle = sal_False; 311 312 Reference< chart2::XTitle > xTitle( TitleHelper::getTitle( m_eTitleType, m_spChart2ModelContact->getChartModel() ) ); |
313 if( xTitle.is() && (TitleHelper::getCompleteString( xTitle ).getLength() != 0) ) | 313 if( xTitle.is() && (TitleHelper::getCompleteString( xTitle ).isEmpty() == false) ) |
314 bHasTitle = sal_True; 315 316 Any aRet; 317 aRet <<= bHasTitle; 318 return aRet; 319 320} 321 --- 120 unchanged lines hidden --- | 314 bHasTitle = sal_True; 315 316 Any aRet; 317 aRet <<= bHasTitle; 318 return aRet; 319 320} 321 --- 120 unchanged lines hidden --- |