use more DBG_UNHANDLED_EXCEPTION
so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: https://gerrit.libreoffice.org/52465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
115a853903
commit
48fbfe38f6
@ -49,6 +49,7 @@
|
||||
#include <vcl/graph.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <o3tl/functional.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
@ -807,9 +808,9 @@ Color AccessibleBase::getColor( eColorType eColType )
|
||||
xObjProp->getPropertyValue( aPropName ) >>= nResult;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::accessibility;
|
||||
@ -104,9 +105,9 @@ void AccessibleChartElement::InitTextEdit()
|
||||
aArgs[2] <<= Reference< awt::XWindow >( GetInfo().m_xWindow );
|
||||
xInit->initialize( aArgs );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
#include <algorithm>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -584,9 +585,9 @@ Reference< chart2::XAxis > AxisWrapper::getAxis()
|
||||
xProp->setPropertyValue("Show", uno::Any( false ) );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return xAxis;
|
||||
}
|
||||
|
@ -59,6 +59,7 @@
|
||||
#include <com/sun/star/lang/DisposedException.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <com/sun/star/util/DateTime.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -469,9 +470,9 @@ void WrappedHasLegendProperty::setPropertyValue( const Any& rOuterValue, const R
|
||||
xLegendProp->setPropertyValue("Show", uno::Any( bNewValue ));
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -487,9 +488,9 @@ Any WrappedHasLegendProperty::getPropertyValue( const Reference< beans::XPropert
|
||||
else
|
||||
aRet <<= false;
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return aRet;
|
||||
}
|
||||
@ -536,9 +537,9 @@ void WrappedHasMainTitleProperty::setPropertyValue( const Any& rOuterValue, cons
|
||||
else
|
||||
TitleHelper::removeTitle( TitleHelper::MAIN_TITLE, m_spChart2ModelContact->getChartModel() );
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -549,9 +550,9 @@ Any WrappedHasMainTitleProperty::getPropertyValue( const Reference< beans::XProp
|
||||
{
|
||||
aRet <<= TitleHelper::getTitle( TitleHelper::MAIN_TITLE, m_spChart2ModelContact->getChartModel() ).is();
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return aRet;
|
||||
}
|
||||
@ -598,9 +599,9 @@ void WrappedHasSubTitleProperty::setPropertyValue( const Any& rOuterValue, const
|
||||
else
|
||||
TitleHelper::removeTitle( TitleHelper::SUB_TITLE, m_spChart2ModelContact->getChartModel() );
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -611,9 +612,9 @@ Any WrappedHasSubTitleProperty::getPropertyValue( const Reference< beans::XPrope
|
||||
{
|
||||
aRet <<= TitleHelper::getTitle( TitleHelper::SUB_TITLE, m_spChart2ModelContact->getChartModel() ).is();
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return aRet;
|
||||
}
|
||||
@ -697,9 +698,9 @@ Reference< XDiagram > SAL_CALL ChartDocumentWrapper::getDiagram()
|
||||
{
|
||||
m_xDiagram = new DiagramWrapper( m_spChart2ModelContact );
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -731,9 +732,9 @@ void SAL_CALL ChartDocumentWrapper::setDiagram( const Reference< XDiagram >& xDi
|
||||
m_xDiagram = xDiagram;
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -884,9 +885,9 @@ void SAL_CALL ChartDocumentWrapper::dispose()
|
||||
// this is ok, don't panic
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception &ex)
|
||||
catch (const uno::Exception &)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -916,13 +917,13 @@ void ChartDocumentWrapper::impl_resetAddIn()
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (const uno::RuntimeException& ex)
|
||||
catch (const uno::RuntimeException&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1230,9 +1231,9 @@ uno::Reference< uno::XInterface > SAL_CALL ChartDocumentWrapper::createInstance(
|
||||
|
||||
xResult = static_cast< ::cppu::OWeakObject* >( new DiagramWrapper( m_spChart2ModelContact ));
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1265,9 +1266,9 @@ uno::Reference< uno::XInterface > SAL_CALL ChartDocumentWrapper::createInstance(
|
||||
aArguments[1] <<= true; // bRefreshAddIn
|
||||
xViewInit->initialize(aArguments);
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1370,9 +1371,9 @@ void SAL_CALL ChartDocumentWrapper::setDelegator(
|
||||
{
|
||||
dispose();
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,6 +66,7 @@
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <com/sun/star/lang/XServiceName.hpp>
|
||||
#include <com/sun/star/util/XRefreshable.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::chart::wrapper;
|
||||
@ -1467,9 +1468,9 @@ bool WrappedNumberOfLinesProperty::detectInnerValue( uno::Any& rInnerValue ) con
|
||||
xProp->getPropertyValue( m_aOuterName ) >>= nNumberOfLines;
|
||||
bHasDetectableInnerValue = true;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1510,9 +1511,9 @@ void WrappedNumberOfLinesProperty::setPropertyValue( const Any& rOuterValue, con
|
||||
if( nOldValue == nNewValue )
|
||||
return;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -1537,9 +1538,9 @@ void WrappedNumberOfLinesProperty::setPropertyValue( const Any& rOuterValue, con
|
||||
xProp->setPropertyValue( "NumberOfLines", uno::Any(nNewValue) );
|
||||
xTemplate->changeDiagram( xDiagram );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1758,9 +1759,9 @@ void WrappedAutomaticSizeProperty::setPropertyValue( const Any& rOuterValue, con
|
||||
xInnerPropertySet->setPropertyValue( "RelativeSize", Any() );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <algorithm>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -144,9 +145,9 @@ Reference< beans::XPropertySet > GridWrapper::getInnerPropertySet()
|
||||
sal_Int32 nSubGridIndex = bSubGrid ? 0 : -1;
|
||||
xRet.set( AxisHelper::getGridProperties( xCooSys , nDimensionIndex, MAIN_AXIS_INDEX, nSubGridIndex ) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return xRet;
|
||||
}
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#include <LinePropertiesHelper.hxx>
|
||||
#include <UserDefinedProperties.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -258,9 +259,9 @@ void SAL_CALL MinMaxLineWrapper::setPropertyValues( const uno::Sequence< OUStrin
|
||||
{
|
||||
setPropertyValue( aPropertyName, rValueSeq[nN] );
|
||||
}
|
||||
catch( const beans::UnknownPropertyException& ex )
|
||||
catch( const beans::UnknownPropertyException& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
//todo: store unknown properties elsewhere
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <LinePropertiesHelper.hxx>
|
||||
#include <FillProperties.hxx>
|
||||
#include <UserDefinedProperties.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -234,9 +235,9 @@ void SAL_CALL UpDownBarWrapper::setPropertyValues( const uno::Sequence< OUString
|
||||
{
|
||||
setPropertyValue( aPropertyName, rValueSeq[nN] );
|
||||
}
|
||||
catch( const beans::UnknownPropertyException& ex )
|
||||
catch( const beans::UnknownPropertyException& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
//todo: store unknown properties elsewhere
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <FastPropertyIdRanges.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/chart2/RelativePosition.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using ::com::sun::star::uno::Any;
|
||||
@ -64,9 +65,9 @@ void WrappedAutomaticPositionProperty::setPropertyValue( const Any& rOuterValue,
|
||||
xInnerPropertySet->setPropertyValue( "RelativePosition", Any() );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <FastPropertyIdRanges.hxx>
|
||||
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using ::com::sun::star::uno::Any;
|
||||
@ -74,9 +75,9 @@ void WrappedScaleTextProperty::setPropertyValue( const Any& rOuterValue, const R
|
||||
else
|
||||
xInnerPropertySet->setPropertyValue( aRefSizeName, Any() );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <ControllerLockGuard.hxx>
|
||||
#include <com/sun/star/chart2/XChartDocument.hpp>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using ::com::sun::star::uno::Reference;
|
||||
@ -91,9 +92,9 @@ void WrappedStockProperty::setPropertyValue( const css::uno::Any& rOuterValue, c
|
||||
ControllerLockGuardUNO aCtrlLockGuard( m_spChart2ModelContact->getChartModel() );
|
||||
xTemplate->changeDiagram( xDiagram );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include <vcl/graph.hxx>
|
||||
#include <vcl/GraphicObject.hxx>
|
||||
#include <vcl/outdev.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using ::com::sun::star::uno::Any;
|
||||
@ -429,9 +430,9 @@ beans::PropertyState WrappedSymbolSizeProperty::getPropertyState( const Referenc
|
||||
return beans::PropertyState_DIRECT_VALUE;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return beans::PropertyState_DEFAULT_VALUE;
|
||||
}
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include <vcl/settings.hxx>
|
||||
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -311,9 +312,9 @@ uno::Reference< XChartTypeTemplate > ChartTypeDialogController::getCurrentTempla
|
||||
{
|
||||
setTemplateProperties( xTemplateProps );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1201,9 +1202,9 @@ void CombiColumnLineChartDialogController::fillExtraControls( const ChartTypePar
|
||||
{
|
||||
xTemplateProps->getPropertyValue( "NumberOfLines" ) >>= nNumLines;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
if( nNumLines < 0 )
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include <com/sun/star/chart2/data/XNumericalDataSequence.hpp>
|
||||
#include <com/sun/star/chart2/data/XTextualDataSequence.hpp>
|
||||
#include <com/sun/star/util/XModifiable.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <rtl/math.hxx>
|
||||
|
||||
@ -69,9 +70,9 @@ OUString lcl_getRole(
|
||||
{
|
||||
xProp->getPropertyValue( "Role" ) >>= aResult;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
return aResult;
|
||||
@ -117,9 +118,9 @@ bool lcl_SequenceOfSeriesIsShared(
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return bResult;
|
||||
}
|
||||
@ -954,9 +955,9 @@ void DataBrowserModel::addErrorBarRanges(
|
||||
++rInOutHeaderEnd;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
@ -155,9 +156,9 @@ struct lcl_DataSeriesContainerAppend
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
@ -214,9 +215,9 @@ struct lcl_RolesWithRangeAppend
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
@ -443,9 +444,9 @@ std::vector< Reference< XDataSeriesContainer > >
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return aResult;
|
||||
@ -534,9 +535,9 @@ DialogModel::tRolesWithRanges DialogModel::getRolesWithRanges(
|
||||
addMissingRoles(aResult, aRoles);
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return aResult;
|
||||
}
|
||||
@ -591,9 +592,9 @@ Reference< chart2::XDataSeries > DialogModel::insertSeriesAfter(
|
||||
|
||||
ThreeDHelper::setScheme( xDiagram, e3DScheme );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return xNewSeries;
|
||||
}
|
||||
@ -619,9 +620,9 @@ Reference< data::XLabeledDataSequence > DialogModel::getCategories() const
|
||||
xResult.set( DiagramHelper::getCategoriesFromDiagram( xDiagram ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return xResult;
|
||||
}
|
||||
@ -684,9 +685,9 @@ void DialogModel::detectArguments(
|
||||
Reference< frame::XModel >( m_xChartDocument, uno::UNO_QUERY_THROW ),
|
||||
rOutRangeString, aSequenceMapping, rOutUseColumns, rOutFirstCellAsLabel, rOutHasCategories );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -737,9 +738,9 @@ void DialogModel::setData(
|
||||
ThreeDHelper::setScheme( xDiagram, e3DScheme );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -837,9 +838,9 @@ void DialogModel::applyInterpretedData(
|
||||
OSL_ASSERT( (*aDestIt).is());
|
||||
(*aDestIt)->setDataSeries( *aSrcIt );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
|
||||
#include <com/sun/star/chart2/XTitle.hpp>
|
||||
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -623,9 +624,9 @@ OUString ObjectNameProvider::getHelpText( const OUString& rObjectCID, const Refe
|
||||
fR*fR, rtl_math_StringFormat_G, 4, cDecSeparator, true ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -692,9 +693,9 @@ OUString ObjectNameProvider::getHelpText( const OUString& rObjectCID, const Refe
|
||||
fStdDev, rtl_math_StringFormat_G, 4, cDecSeparator, true ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <RangeSelectionHelper.hxx>
|
||||
#include <RangeSelectionListener.hxx>
|
||||
#include <com/sun/star/awt/XTopWindow.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -53,9 +54,9 @@ Reference< sheet::XRangeSelection > const & RangeSelectionHelper::getRangeSelect
|
||||
if( xDataProvider.is())
|
||||
m_xRangeSelection.set( xDataProvider->getRangeSelection());
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
|
||||
m_xRangeSelection.clear();
|
||||
}
|
||||
@ -84,9 +85,9 @@ void RangeSelectionHelper::raiseRangeSelectionDocument()
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -130,10 +131,10 @@ bool RangeSelectionHelper::chooseRange(
|
||||
xRangeSel->startRangeSelection( aArgs );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
bResult = false;
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
}
|
||||
|
||||
return bResult;
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
#include <com/sun/star/frame/Desktop.hpp>
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -249,9 +250,9 @@ void SAL_CALL CreationWizardUnoDlg::disposing()
|
||||
uno::Reference< frame::XTerminateListener > xListener( this );
|
||||
xDesktop->removeTerminateListener( xListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -66,6 +66,7 @@
|
||||
#include <svx/numinf.hxx>
|
||||
|
||||
#include <svl/cjkoptions.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -238,9 +239,9 @@ void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
if( !bXValuesFound && bYValuesFound )
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <chartview/ChartSfxItemIds.hxx>
|
||||
#include <svl/intitem.hxx>
|
||||
#include <svl/eitem.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -114,9 +115,9 @@ void LegendPositionResources::writeToResources( const uno::Reference< frame::XMo
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -158,9 +159,9 @@ void LegendPositionResources::writeToModel( const css::uno::Reference< frame::XM
|
||||
xProp->setPropertyValue( "RelativePosition" , uno::Any());
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <ThreeDHelper.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -54,9 +55,9 @@ lcl_ModelProperties lcl_getPropertiesFromModel( uno::Reference< frame::XModel >
|
||||
::chart::ThreeDHelper::getRoundedEdgesAndObjectLines( xDiagram, aProps.m_nRoundedEdges, aProps.m_nObjectLines );
|
||||
aProps.m_eScheme = ::chart::ThreeDHelper::detectScheme( xDiagram );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return aProps;
|
||||
}
|
||||
@ -69,9 +70,9 @@ void lcl_setShadeModeAtModel( uno::Reference< frame::XModel > const & xModel, dr
|
||||
::chart::ChartModelHelper::findDiagram( xModel ), uno::UNO_QUERY_THROW );
|
||||
xDiaProp->setPropertyValue( "D3DSceneShadeMode" , uno::Any( aShadeMode ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <rtl/math.hxx>
|
||||
#include <editeng/unoprnms.hxx>
|
||||
#include <com/sun/star/drawing/ProjectionMode.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -220,9 +221,9 @@ void ThreeD_SceneGeometry_TabPage::applyPerspectiveToModel()
|
||||
m_xSceneProperties->setPropertyValue( "D3DScenePerspective" , uno::Any( aMode ));
|
||||
m_xSceneProperties->setPropertyValue( "Perspective" , uno::Any( static_cast<sal_Int32>(m_pMFPerspective->GetValue()) ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
m_bPerspectiveChangePending = false;
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <svx/svx3ditems.hxx>
|
||||
#include <svx/svddef.hxx>
|
||||
#include <vcl/builderfactory.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -137,9 +138,9 @@ namespace
|
||||
xSceneProperties->getPropertyValue( "D3DSceneLightDirection" + aIndex ) >>= aResult.aDirection;
|
||||
xSceneProperties->getPropertyValue( "D3DSceneLightOn" + aIndex ) >>= aResult.bIsEnabled;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN( "chart2", "Property Exception caught. Message: " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
return aResult;
|
||||
@ -163,9 +164,9 @@ namespace
|
||||
xSceneProperties->setPropertyValue( "D3DSceneLightOn" + aIndex,
|
||||
uno::Any( rLightSource.bIsEnabled ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN( "chart2", "Property Exception caught. Message: " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -178,9 +179,9 @@ namespace
|
||||
{
|
||||
xSceneProperties->getPropertyValue("D3DSceneAmbientColor") >>= nResult;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN( "chart2", "Property Exception caught. Message: " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return Color( nResult );
|
||||
}
|
||||
@ -194,9 +195,9 @@ namespace
|
||||
xSceneProperties->setPropertyValue("D3DSceneAmbientColor",
|
||||
uno::makeAny( rColor ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN( "chart2", "Property Exception caught. Message: " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <svtools/miscopt.hxx>
|
||||
|
||||
#include <vcl/layout.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -827,9 +828,9 @@ void ChartTypeTabPage::stateChanged( ChangingResource* /*pResource*/ )
|
||||
uno::Reference<beans::XPropertySet> xPropSet(xDiagram, uno::UNO_QUERY_THROW);
|
||||
xPropSet->getPropertyValue(CHART_UNONAME_SORT_BY_XVALUES) >>= aParameter.bSortByXValues;
|
||||
}
|
||||
catch ( const uno::Exception& ex )
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
//the controls have to be enabled/disabled accordingly
|
||||
fillAllControls( aParameter );
|
||||
@ -891,9 +892,9 @@ void ChartTypeTabPage::selectMainType()
|
||||
uno::Reference<beans::XPropertySet> xPropSet(xDiagram, uno::UNO_QUERY_THROW);
|
||||
xPropSet->getPropertyValue(CHART_UNONAME_SORT_BY_XVALUES) >>= aParameter.bSortByXValues;
|
||||
}
|
||||
catch ( const uno::Exception& ex )
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
fillAllControls( aParameter );
|
||||
@ -975,9 +976,9 @@ void ChartTypeTabPage::initializePage()
|
||||
uno::Reference<beans::XPropertySet> xPropSet(xDiagram, uno::UNO_QUERY_THROW);
|
||||
xPropSet->getPropertyValue(CHART_UNONAME_SORT_BY_XVALUES) >>= aParameter.bSortByXValues;
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
fillAllControls( aParameter );
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
@ -836,10 +837,10 @@ bool DataSourceTabPage::updateModelFromControl( Edit * pField )
|
||||
{
|
||||
xLabeledSeq->setValues( xDataProvider->createDataSequenceByRangeRepresentation( aRange ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
// should work as validation should have happened before
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
else if( xLabeledSeq.is())
|
||||
@ -897,10 +898,10 @@ bool DataSourceTabPage::updateModelFromControl( Edit * pField )
|
||||
{
|
||||
xNewSeq.set( xDataProvider->createDataSequenceByRangeRepresentation( aRange ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
// should work as validation should have happened before
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
if( xNewSeq.is())
|
||||
{
|
||||
@ -928,10 +929,10 @@ bool DataSourceTabPage::updateModelFromControl( Edit * pField )
|
||||
{
|
||||
xNewSeq.set( xDataProvider->createDataSequenceByRangeRepresentation( aRange ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
// should work as validation should have happened before
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
if( xNewSeq.is())
|
||||
{
|
||||
@ -960,10 +961,10 @@ bool DataSourceTabPage::updateModelFromControl( Edit * pField )
|
||||
|
||||
lcl_UpdateCurrentRange( *m_pLB_ROLE, aSelectedRole, aRange );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
bResult = false;
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -983,9 +984,9 @@ bool DataSourceTabPage::updateModelFromControl( Edit * pField )
|
||||
m_rDialogModel.setTimeBasedRange(rInfo.bTimeBased, rInfo.nStart, rInfo.nEnd);
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
#include <com/sun/star/beans/XPropertyState.hpp>
|
||||
#include <com/sun/star/chart2/XFormattedString.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -276,9 +277,9 @@ void CharacterPropertyItemConverter::FillSpecialItem(
|
||||
rOutItemSet.Put( aItem );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -535,9 +536,9 @@ bool CharacterPropertyItemConverter::ApplySpecialItem(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <com/sun/star/chart2/XInternalDataProvider.hpp>
|
||||
#include <com/sun/star/chart/ErrorBarStyle.hpp>
|
||||
#include <com/sun/star/lang/XServiceName.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
@ -58,9 +59,9 @@ void lcl_getErrorValues( const uno::Reference< beans::XPropertySet > & xErrorBar
|
||||
xErrorBarProp->getPropertyValue( "PositiveError" ) >>= rOutPosError;
|
||||
xErrorBarProp->getPropertyValue( "NegativeError" ) >>= rOutNegError;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,9 +77,9 @@ void lcl_getErrorIndicatorValues(
|
||||
xErrorBarProp->getPropertyValue( "ShowPositiveError" ) >>= rOutShowPosError;
|
||||
xErrorBarProp->getPropertyValue( "ShowNegativeError" ) >>= rOutShowNegError;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <com/sun/star/chart2/FillBitmap.hpp>
|
||||
#include <com/sun/star/awt/Gradient.hpp>
|
||||
#include <com/sun/star/container/XNameAccess.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -255,9 +256,9 @@ void GraphicPropertyItemConverter::FillSpecialItem(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const beans::UnknownPropertyException &ex )
|
||||
catch( const beans::UnknownPropertyException & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
break;
|
||||
|
||||
@ -502,9 +503,9 @@ bool GraphicPropertyItemConverter::ApplySpecialItem(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const beans::UnknownPropertyException &ex )
|
||||
catch( const beans::UnknownPropertyException & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <svl/itemiter.hxx>
|
||||
#include <svl/whiter.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -119,9 +120,9 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
|
||||
delete pItem;
|
||||
SAL_WARN( "chart2", ex << " - unknown Property: " << aProperty.first);
|
||||
}
|
||||
catch( const uno::Exception &ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -131,9 +132,9 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
|
||||
{
|
||||
FillSpecialItem( nWhich, rOutItemSet );
|
||||
}
|
||||
catch( const uno::Exception &ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@
|
||||
|
||||
#include <svl/intitem.hxx>
|
||||
#include <svl/eitem.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
@ -150,9 +151,9 @@ bool LegendItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSe
|
||||
bChanged = true;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include <svl/intitem.hxx>
|
||||
#include <svl/ilstitem.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
@ -155,9 +156,9 @@ SeriesOptionsItemConverter::SeriesOptionsItemConverter(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception &ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include <com/sun/star/chart2/XInternalDataProvider.hpp>
|
||||
#include <com/sun/star/chart/ErrorBarStyle.hpp>
|
||||
#include <com/sun/star/lang/XServiceName.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
@ -59,9 +60,9 @@ uno::Reference< beans::XPropertySet > lcl_GetErrorBar(
|
||||
{
|
||||
( xProp->getPropertyValue( bYError ? OUString(CHART_UNONAME_ERRORBAR_Y) : OUString(CHART_UNONAME_ERRORBAR_X) ) >>= xResult );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -83,9 +84,9 @@ void lcl_getErrorValues( const uno::Reference< beans::XPropertySet > & xErrorBar
|
||||
xErrorBarProp->getPropertyValue( "PositiveError" ) >>= rOutPosError;
|
||||
xErrorBarProp->getPropertyValue( "NegativeError" ) >>= rOutNegError;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -101,9 +102,9 @@ void lcl_getErrorIndicatorValues(
|
||||
xErrorBarProp->getPropertyValue( "ShowPositiveError" ) >>= rOutShowPosError;
|
||||
xErrorBarProp->getPropertyValue( "ShowNegativeError" ) >>= rOutShowNegError;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -213,9 +213,9 @@ void ChartController::TheModel::tryTermination()
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch(const uno::Exception& ex)
|
||||
catch(const uno::Exception&)
|
||||
{
|
||||
SAL_WARN( "chart2", "Termination of model failed: " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION( "chart2", "Termination of model failed" );
|
||||
}
|
||||
}
|
||||
|
||||
@ -487,9 +487,9 @@ void SAL_CALL ChartController::attachFrame(
|
||||
m_xLayoutManagerEventBroadcaster->addLayoutManagerEventListener( this );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -842,9 +842,9 @@ void SAL_CALL ChartController::dispose()
|
||||
if( xMBroadcaster.is())
|
||||
xMBroadcaster->removeModifyListener( this );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
#endif
|
||||
aModelRef->tryTermination();
|
||||
@ -856,10 +856,10 @@ void SAL_CALL ChartController::dispose()
|
||||
SolarMutexGuard g;
|
||||
m_aDispatchContainer.DisposeAndClear();
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
assert(!m_xChartView.is());
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,6 +71,7 @@
|
||||
#include <svx/unopage.hxx>
|
||||
|
||||
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
@ -226,9 +227,9 @@ void ChartController::executeDispatch_NewArrangement()
|
||||
aUndoGuard.commit();
|
||||
}
|
||||
}
|
||||
catch( const uno::RuntimeException & ex )
|
||||
catch( const uno::RuntimeException & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -480,9 +481,9 @@ void ChartController::impl_PasteStringAsTextShape( const OUString& rString, cons
|
||||
impl_switchDiagramPositioningToExcludingPositioning();
|
||||
}
|
||||
}
|
||||
catch ( const uno::Exception& ex )
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -846,9 +847,9 @@ void ChartController::executeDispatch_ToggleLegend()
|
||||
bChanged = true;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -76,6 +76,7 @@
|
||||
#include <vcl/weld.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <svtools/acceleratorexecute.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#define DRGPIX 2 // Drag MinMove in Pixel
|
||||
|
||||
@ -480,9 +481,9 @@ void ChartController::execute_Paint(vcl::RenderContext& rRenderContext, const to
|
||||
pDrawViewWrapper->CompleteRedraw(&rRenderContext, vcl::Region(rRect));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
catch( ... )
|
||||
{
|
||||
@ -859,9 +860,9 @@ void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt )
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
//all wanted model changes will take effect
|
||||
//and all unwanted view modifications are cleaned
|
||||
@ -1088,9 +1089,9 @@ void ChartController::execute_Command( const CommandEvent& rCEvt )
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1823,9 +1824,9 @@ bool ChartController::impl_DragDataPoint( const OUString & rCID, double fAdditio
|
||||
bResult = true;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <com/sun/star/document/XImporter.hpp>
|
||||
#include <com/sun/star/document/XFilter.hpp>
|
||||
#include <com/sun/star/frame/XLoadable.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -173,9 +174,9 @@ sal_Bool SAL_CALL ChartFrameLoader::load( const uno::Sequence< beans::PropertyVa
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "CommandDispatch.hxx"
|
||||
#include <CommonFunctors.hxx>
|
||||
#include <com/sun/star/util/URLTransformer.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
@ -158,9 +159,9 @@ void CommandDispatch::fireStatusEventForURL(
|
||||
if( xListener.is())
|
||||
xListener->statusChanged( aEventToSend );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <svx/svdpagv.hxx>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <basegfx/matrix/b2dhommatrix.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -118,9 +119,9 @@ bool DragMethod_PieSegment::EndSdrDrag(bool /*bCopy*/)
|
||||
xPointProperties->setPropertyValue( "Offset", uno::Any( m_fAdditionalOffset+m_fInitialOffset ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -43,6 +43,7 @@
|
||||
#include <com/sun/star/container/XIndexAccess.hpp>
|
||||
#include <com/sun/star/awt/Key.hpp>
|
||||
#include <com/sun/star/awt/KeyModifier.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -497,9 +498,9 @@ void ImplObjectHierarchy::createDataSeriesTree(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -526,9 +527,9 @@ void ImplObjectHierarchy::createAdditionalShapesTree( ObjectHierarchy::tChildCon
|
||||
}
|
||||
}
|
||||
}
|
||||
catch ( const uno::Exception& ex )
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include <editeng/spltitem.hxx>
|
||||
#include <svx/svxdlg.hxx>
|
||||
#include <editeng/widwitem.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
@ -614,9 +615,9 @@ SdrObject* ShapeController::getFirstAdditionalShape()
|
||||
}
|
||||
}
|
||||
}
|
||||
catch ( const uno::Exception& ex )
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return pFirstObj;
|
||||
@ -654,9 +655,9 @@ SdrObject* ShapeController::getLastAdditionalShape()
|
||||
}
|
||||
}
|
||||
}
|
||||
catch ( const uno::Exception& ex )
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return pLastObj;
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <com/sun/star/packages/zip/ZipIOException.hpp>
|
||||
#include <com/sun/star/document/GraphicObjectResolver.hpp>
|
||||
#include <com/sun/star/container/XNameAccess.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -117,9 +118,9 @@ uno::Reference< embed::XStorage > lcl_getWriteStorage(
|
||||
xProp->setPropertyValue( "MediaType", uno::Any( _sMediaType ));
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return xStorage;
|
||||
}
|
||||
@ -170,9 +171,9 @@ uno::Reference< embed::XStorage > lcl_getReadStorage(
|
||||
|
||||
OSL_ENSURE( xStorage.is(), "No Storage" );
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xStorage;
|
||||
@ -390,9 +391,9 @@ ErrCode XMLFilter::impl_Import(
|
||||
xStorage, xSaxParser, xFactory, xGraphicObjectResolver, xImportInfo );
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
|
||||
// something went awry
|
||||
nWarning = ERRCODE_SFX_GENERAL;
|
||||
@ -500,9 +501,9 @@ ErrCode XMLFilter::impl_ImportStream(
|
||||
catch (const io::IOException&)
|
||||
{
|
||||
}
|
||||
catch (const uno::Exception& rEx)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << rEx);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -644,9 +645,9 @@ ErrCode XMLFilter::impl_Export(
|
||||
if ( xTransact.is() )
|
||||
xTransact->commit();
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
|
||||
// something went awry
|
||||
nWarning = ERRCODE_SFX_GENERAL;
|
||||
@ -687,9 +688,9 @@ ErrCode XMLFilter::impl_ExportStream(
|
||||
xStreamProp->setPropertyValue( "Compressed", uno::Any( true ) );//@todo?
|
||||
xStreamProp->setPropertyValue( "UseCommonStoragePasswordEncryption", uno::Any( true ) );
|
||||
}
|
||||
catch (const uno::Exception& rEx)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << rEx );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
xActiveDataSource->setOutputStream(xOutputStream);
|
||||
@ -717,9 +718,9 @@ ErrCode XMLFilter::impl_ExportStream(
|
||||
|
||||
xFilter->filter(m_aMediaDescriptor);
|
||||
}
|
||||
catch (const uno::Exception& rEx)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << rEx );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return ERRCODE_NONE;
|
||||
}
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include <rtl/uuid.h>
|
||||
#include <cppuhelper/queryinterface.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -380,9 +381,9 @@ Axis::~Axis()
|
||||
m_aScaleData.Categories.set(nullptr);
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
m_aSubGridProperties.realloc(0);
|
||||
@ -530,9 +531,9 @@ void SAL_CALL Axis::addModifyListener( const Reference< util::XModifyListener >&
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception &)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -543,9 +544,9 @@ void SAL_CALL Axis::removeModifyListener( const Reference< util::XModifyListener
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <AxisHelper.hxx>
|
||||
#include <com/sun/star/chart2/AxisType.hpp>
|
||||
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
@ -179,9 +180,9 @@ BaseCoordinateSystem::~BaseCoordinateSystem()
|
||||
ModifyListenerHelper::removeListenerFromAllElements( i, m_xModifyEventForwarder );
|
||||
ModifyListenerHelper::removeListenerFromAllElements( m_aChartTypes, m_xModifyEventForwarder );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
}
|
||||
|
||||
@ -292,9 +293,9 @@ void SAL_CALL BaseCoordinateSystem::addModifyListener( const Reference< util::XM
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
}
|
||||
|
||||
@ -305,9 +306,9 @@ void SAL_CALL BaseCoordinateSystem::removeModifyListener( const Reference< util:
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,6 +67,7 @@
|
||||
#include <com/sun/star/util/XModifyBroadcaster.hpp>
|
||||
|
||||
#include <svl/zforlist.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using ::com::sun::star::uno::Sequence;
|
||||
using ::com::sun::star::uno::Reference;
|
||||
@ -871,9 +872,9 @@ void SAL_CALL ChartModel::setArguments( const Sequence< beans::PropertyValue >&
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
unlockControllers();
|
||||
}
|
||||
@ -980,9 +981,9 @@ uno::Any SAL_CALL ChartModel::queryInterface( const uno::Type& aType )
|
||||
if( m_xOldModelAgg.is())
|
||||
aResult = m_xOldModelAgg->queryAggregation( aType );
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1059,9 +1060,9 @@ embed::VisualRepresentation SAL_CALL ChartModel::getPreferredVisualRepresentatio
|
||||
|
||||
aResult.Data <<= aMetafile;
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return aResult;
|
||||
@ -1093,9 +1094,9 @@ uno::Any SAL_CALL ChartModel::getTransferData( const datatransfer::DataFlavor& a
|
||||
aResult = xTransferable->getTransferData( aFlavor );
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return aResult;
|
||||
|
@ -56,6 +56,7 @@
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -131,13 +132,13 @@ Reference< embed::XStorage > lcl_createStorage(
|
||||
xStorageFact->createInstanceWithArguments( aStorageArgs ), uno::UNO_QUERY_THROW );
|
||||
OSL_ENSURE( xStorage.is(), "No Storage" );
|
||||
}
|
||||
catch(const css::ucb::ContentCreationException& rEx)
|
||||
catch(const css::ucb::ContentCreationException&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << rEx );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
catch(const css::ucb::CommandFailedException& rEx)
|
||||
catch(const css::ucb::CommandFailedException&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << rEx );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xStorage;
|
||||
@ -184,9 +185,9 @@ Reference< document::XFilter > ChartModel::impl_createFilter(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
OSL_ENSURE( xFilter.is(), "Filter not found via factory" );
|
||||
}
|
||||
@ -315,9 +316,9 @@ void SAL_CALL ChartModel::storeToURL(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -345,9 +346,9 @@ void ChartModel::impl_store(
|
||||
xExporter->setSourceDocument( Reference< lang::XComponent >( this ));
|
||||
xFilter->filter( aMD );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -458,16 +459,16 @@ void ChartModel::insertDefaultChart()
|
||||
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
ChartModelHelper::setIncludeHiddenCells( false, *this );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
setModified( false );
|
||||
unlockControllers();
|
||||
@ -533,9 +534,9 @@ void SAL_CALL ChartModel::load(
|
||||
if( aMDHelper.ISSET_URL )
|
||||
aURL = aMDHelper.URL;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if( xStorage.is())
|
||||
@ -728,9 +729,9 @@ void SAL_CALL ChartModel::modified( const lang::EventObject& rEvenObject)
|
||||
css::uno::Reference<css::chart2::XChartTypeTemplate> xChartTypeTemplate(aTemplateAndService.first);
|
||||
xChartTypeTemplate->changeDiagramData(xDiagram, xDataSource, aArguments);
|
||||
}
|
||||
catch (const uno::Exception & ex)
|
||||
catch (const uno::Exception &)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex);
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
unlockControllers();
|
||||
}
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -141,9 +142,9 @@ DataPoint::~DataPoint()
|
||||
&& xPropertySet.is())
|
||||
ModifyListenerHelper::removeListener( xPropertySet, m_xModifyEventForwarder );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -226,9 +227,9 @@ void SAL_CALL DataPoint::addModifyListener( const uno::Reference< util::XModifyL
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -239,9 +240,9 @@ void SAL_CALL DataPoint::removeModifyListener( const uno::Reference< util::XModi
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <com/sun/star/container/NoSuchElementException.hpp>
|
||||
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -211,9 +212,9 @@ DataSeries::~DataSeries()
|
||||
&& xPropertySet.is())
|
||||
ModifyListenerHelper::removeListener( xPropertySet, m_xModifyEventForwarder );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -481,9 +482,9 @@ void SAL_CALL DataSeries::addModifyListener( const Reference< util::XModifyListe
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -494,9 +495,9 @@ void SAL_CALL DataSeries::removeModifyListener( const Reference< util::XModifyLi
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -40,6 +40,7 @@
|
||||
|
||||
#include <com/sun/star/drawing/HomogenMatrix.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
@ -327,9 +328,9 @@ Diagram::~Diagram()
|
||||
ModifyListenerHelper::removeListener( m_xTitle, m_xModifyEventForwarder );
|
||||
ModifyListenerHelper::removeListener( m_xLegend, m_xModifyEventForwarder );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -553,9 +554,9 @@ void SAL_CALL Diagram::addModifyListener( const Reference< util::XModifyListener
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -566,9 +567,9 @@ void SAL_CALL Diagram::removeModifyListener( const Reference< util::XModifyListe
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <PropertyHelper.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -180,9 +181,9 @@ void SAL_CALL FormattedString::addModifyListener( const uno::Reference< util::XM
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -193,9 +194,9 @@ void SAL_CALL FormattedString::removeModifyListener( const uno::Reference< util:
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -174,9 +175,9 @@ void SAL_CALL GridProperties::addModifyListener( const Reference< util::XModifyL
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -187,9 +188,9 @@ void SAL_CALL GridProperties::removeModifyListener( const Reference< util::XModi
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <com/sun/star/chart2/RelativePosition.hpp>
|
||||
#include <com/sun/star/chart2/RelativeSize.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -206,9 +207,9 @@ void SAL_CALL Legend::addModifyListener( const Reference< util::XModifyListener
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -219,9 +220,9 @@ void SAL_CALL Legend::removeModifyListener( const Reference< util::XModifyListen
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <rtl/uuid.h>
|
||||
#include <cppuhelper/queryinterface.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -159,9 +160,9 @@ void SAL_CALL PageBackground::addModifyListener( const uno::Reference< util::XMo
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -172,9 +173,9 @@ void SAL_CALL PageBackground::removeModifyListener( const uno::Reference< util::
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <com/sun/star/style/XStyle.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -170,9 +171,9 @@ void SAL_CALL StockBar::addModifyListener( const uno::Reference< util::XModifyLi
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -183,9 +184,9 @@ void SAL_CALL StockBar::removeModifyListener( const uno::Reference< util::XModif
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include <rtl/uuid.h>
|
||||
#include <cppuhelper/queryinterface.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -308,9 +309,9 @@ void SAL_CALL Title::addModifyListener( const uno::Reference< util::XModifyListe
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -321,9 +322,9 @@ void SAL_CALL Title::removeModifyListener( const uno::Reference< util::XModifyLi
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <com/sun/star/drawing/LineJoint.hpp>
|
||||
#include <rtl/uuid.h>
|
||||
#include <cppuhelper/queryinterface.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -163,9 +164,9 @@ void SAL_CALL Wall::addModifyListener( const uno::Reference< util::XModifyListen
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -176,9 +177,9 @@ void SAL_CALL Wall::removeModifyListener( const uno::Reference< util::XModifyLis
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <PropertyHelper.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -156,9 +157,9 @@ sal_Int32 AreaChartTypeTemplate::getDimension() const
|
||||
const_cast< AreaChartTypeTemplate * >( this )->
|
||||
getFastPropertyValue( PROP_AREA_TEMPLATE_DIMENSION ) >>= nDim;
|
||||
}
|
||||
catch( const beans::UnknownPropertyException & ex )
|
||||
catch( const beans::UnknownPropertyException & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return nDim;
|
||||
@ -210,9 +211,9 @@ Reference< chart2::XChartType > AreaChartTypeTemplate::getChartTypeForIndex( sal
|
||||
xResult.set( xFact->createInstance(
|
||||
CHART2_SERVICE_NAME_CHARTTYPE_AREA ), uno::UNO_QUERY_THROW );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <com/sun/star/chart2/DataPointGeometry3D.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -203,9 +204,9 @@ Reference< chart2::XChartType > BarChartTypeTemplate::getChartTypeForIndex( sal_
|
||||
xResult.set( xFact->createInstance(
|
||||
CHART2_SERVICE_NAME_CHARTTYPE_COLUMN ), uno::UNO_QUERY_THROW );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -257,9 +258,9 @@ void SAL_CALL BarChartTypeTemplate::applyStyle(
|
||||
getFastPropertyValue( aAGeometry3D, PROP_BAR_TEMPLATE_GEOMETRY3D );
|
||||
DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints( xSeries, "Geometry3D", aAGeometry3D );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <PropertyHelper.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -166,9 +167,9 @@ Reference< chart2::XChartType > BubbleChartTypeTemplate::getChartTypeForIndex( s
|
||||
xResult.set( xFact->createInstance(
|
||||
CHART2_SERVICE_NAME_CHARTTYPE_BUBBLE ), uno::UNO_QUERY_THROW );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -188,9 +189,9 @@ Reference< chart2::XChartType > SAL_CALL BubbleChartTypeTemplate::getChartTypeFo
|
||||
|
||||
ChartTypeTemplate::copyPropertiesFromOldToNewCoordinateSystem( aFormerlyUsedChartTypes, xResult );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
#include <com/sun/star/util/XCloneable.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -109,9 +110,9 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::interpretDataSource(
|
||||
bNextIsYValues = (nDataSeqCount-(nDataIdx+1)) >= 2;//two or more left
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -256,9 +257,9 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::reinterpretDataSeries(
|
||||
xSink->setData( aNewSequences );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -278,9 +279,9 @@ sal_Bool SAL_CALL BubbleDataInterpreter::isDataCompatible(
|
||||
if( aSeq.getLength() != 3 )
|
||||
return false;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <servicenames_charttypes.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -190,9 +191,9 @@ CandleStickChartType::~CandleStickChartType()
|
||||
&& xPropertySet.is())
|
||||
ModifyListenerHelper::removeListener( xPropertySet, m_xModifyEventForwarder );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <com/sun/star/chart2/AxisType.hpp>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -249,9 +250,9 @@ void SAL_CALL ChartType::addModifyListener( const uno::Reference< util::XModifyL
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -262,9 +263,9 @@ void SAL_CALL ChartType::removeModifyListener( const uno::Reference< util::XModi
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <com/sun/star/lang/XServiceName.hpp>
|
||||
#include <com/sun/star/chart/ChartSolidType.hpp>
|
||||
#include <com/sun/star/chart2/CurveStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
@ -246,14 +247,14 @@ uno::Reference< uno::XInterface > SAL_CALL ChartTypeManager::createInstance(
|
||||
aServiceSpecifier, m_xContext );
|
||||
}
|
||||
// catch( registry::InvalidValueException & ex )
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
// couldn't create service via factory
|
||||
|
||||
// As XMultiServiceFactory does not specify, what to do in case
|
||||
// createInstance is called with an unknown service-name, this
|
||||
// function will just return an empty XInterface.
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
SAL_WARN("chart2", "Couldn't instantiate service: "<< aServiceSpecifier );
|
||||
xResult.set( nullptr );
|
||||
}
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include <com/sun/star/chart2/AxisType.hpp>
|
||||
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
||||
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
@ -167,9 +168,9 @@ uno::Reference< XDiagram > SAL_CALL ChartTypeTemplate::createDiagramByDataSource
|
||||
Sequence< Reference< XChartType > > aOldChartTypesSeq;
|
||||
FillDiagram( xDia, aData.Series, aData.Categories, aOldChartTypesSeq );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xDia;
|
||||
@ -248,9 +249,9 @@ void SAL_CALL ChartTypeTemplate::changeDiagram( const uno::Reference< XDiagram >
|
||||
|
||||
FillDiagram( xDiagram, aSeriesSeq, aData.Categories, aOldChartTypesSeq );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -299,9 +300,9 @@ void SAL_CALL ChartTypeTemplate::changeDiagramData(
|
||||
xDSCnt->setDataSeries( aSeriesSeq[i] );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -358,9 +359,9 @@ sal_Bool SAL_CALL ChartTypeTemplate::matchesTemplate(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return bResult;
|
||||
@ -408,9 +409,9 @@ void SAL_CALL ChartTypeTemplate::applyStyle(
|
||||
lcl_ensureCorrectLabelPlacement( xSeries->getDataPointByIndex(aAttributedDataPointIndexList[nN]), aAvailablePlacements );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -665,9 +666,9 @@ void ChartTypeTemplate::adaptScales(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -779,9 +780,9 @@ void ChartTypeTemplate::FillDiagram(
|
||||
createChartTypes( aSeriesSeq, aCoordinateSystems, aOldChartTypesSeq );
|
||||
applyStyles( xDiagram );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -849,9 +850,9 @@ void ChartTypeTemplate::createChartTypes(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
|
||||
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -224,9 +225,9 @@ void ColumnLineChartTypeTemplate::createChartTypes(
|
||||
xDSCnt->setDataSeries( aLineSeq );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -336,9 +337,9 @@ sal_Bool SAL_CALL ColumnLineChartTypeTemplate::matchesTemplate(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return bResult;
|
||||
@ -372,9 +373,9 @@ Reference< XChartType > SAL_CALL ColumnLineChartTypeTemplate::getChartTypeForNew
|
||||
CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY_THROW );
|
||||
ChartTypeTemplate::copyPropertiesFromOldToNewCoordinateSystem( aFormerlyUsedChartTypes, xResult );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -95,9 +96,9 @@ InterpretedData SAL_CALL DataInterpreter::interpretDataSource(
|
||||
SetRole( aData[i]->getValues(), "values-y");
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -174,9 +175,9 @@ InterpretedData SAL_CALL DataInterpreter::reinterpretDataSeries(
|
||||
xSink->setData( aNewSequences );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -197,9 +198,9 @@ sal_Bool SAL_CALL DataInterpreter::isDataCompatible(
|
||||
if( aSeq.getLength() != 1 )
|
||||
return false;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -291,9 +292,9 @@ Reference< data::XDataSource > SAL_CALL DataInterpreter::mergeInterpretedData(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -313,9 +314,9 @@ OUString DataInterpreter::GetRole( const Reference< data::XDataSequence > & xSeq
|
||||
Reference< beans::XPropertySet > xProp( xSeq, uno::UNO_QUERY_THROW );
|
||||
xProp->getPropertyValue( "Role") >>= aResult;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return aResult;
|
||||
}
|
||||
@ -329,9 +330,9 @@ void DataInterpreter::SetRole( const Reference< data::XDataSequence > & xSeq, co
|
||||
Reference< beans::XPropertySet > xProp( xSeq, uno::UNO_QUERY_THROW );
|
||||
xProp->setPropertyValue( "Role", uno::Any( rRole ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
#include <com/sun/star/beans/Property.hpp>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
@ -116,9 +117,9 @@ uno::Reference<chart2::XChartType> GL3DBarChartTypeTemplate::getChartTypeForInde
|
||||
CHART_UNONAME_ROUNDED_EDGE, getFastPropertyValue(PROP_GL3DCHARTTYPE_ROUNDED_EDGE));
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception & ex)
|
||||
catch (const uno::Exception &)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -157,9 +158,9 @@ GL3DBarChartTypeTemplate::getChartTypeForNewSeries( const uno::Sequence<uno::Ref
|
||||
chart->setPropertyValue(CHART_UNONAME_ROUNDED_EDGE, uno::Any(bVal));
|
||||
xResult = chart.get();
|
||||
}
|
||||
catch (const uno::Exception & ex)
|
||||
catch (const uno::Exception &)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <com/sun/star/chart2/Symbol.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -239,9 +240,9 @@ sal_Bool SAL_CALL LineChartTypeTemplate::matchesTemplate(
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -268,9 +269,9 @@ sal_Bool SAL_CALL LineChartTypeTemplate::matchesTemplate(
|
||||
setFastPropertyValue_NoBroadcast( PROP_LINECHARTTYPE_TEMPLATE_CURVE_RESOLUTION, xChartTypeProp->getPropertyValue(CHART_UNONAME_CURVE_RESOLUTION) );
|
||||
setFastPropertyValue_NoBroadcast( PROP_LINECHARTTYPE_TEMPLATE_SPLINE_ORDER, xChartTypeProp->getPropertyValue(CHART_UNONAME_SPLINE_ORDER) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -299,9 +300,9 @@ Reference< chart2::XChartType > LineChartTypeTemplate::getChartTypeForIndex( sal
|
||||
CHART_UNONAME_SPLINE_ORDER, getFastPropertyValue( PROP_LINECHARTTYPE_TEMPLATE_SPLINE_ORDER ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -332,9 +333,9 @@ Reference< chart2::XChartType > SAL_CALL LineChartTypeTemplate::getChartTypeForN
|
||||
CHART_UNONAME_SPLINE_ORDER, getFastPropertyValue( PROP_LINECHARTTYPE_TEMPLATE_SPLINE_ORDER ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -356,9 +357,9 @@ void SAL_CALL LineChartTypeTemplate::applyStyle(
|
||||
DataSeriesHelper::switchLinesOnOrOff( xProp, m_bHasLines );
|
||||
DataSeriesHelper::makeLinesThickOrThin( xProp, m_nDim==2 );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <com/sun/star/chart2/SymbolStyle.hpp>
|
||||
#include <com/sun/star/chart2/Symbol.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -72,9 +73,9 @@ void SAL_CALL NetChartTypeTemplate::applyStyle(
|
||||
DataSeriesHelper::switchLinesOnOrOff( xProp, m_bHasLines );
|
||||
DataSeriesHelper::makeLinesThickOrThin( xProp, true );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,9 +136,9 @@ sal_Bool SAL_CALL NetChartTypeTemplate::matchesTemplate(
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -171,9 +172,9 @@ Reference< chart2::XChartType > NetChartTypeTemplate::getChartTypeForIndex( sal_
|
||||
xResult.set( xFact->createInstance(
|
||||
CHART2_SERVICE_NAME_CHARTTYPE_NET ), uno::UNO_QUERY_THROW );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <com/sun/star/drawing/FillStyle.hpp>
|
||||
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
|
||||
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <rtl/math.hxx>
|
||||
|
||||
@ -194,9 +195,9 @@ sal_Int32 PieChartTypeTemplate::getDimension() const
|
||||
const_cast< PieChartTypeTemplate * >( this )->
|
||||
getFastPropertyValue( PROP_PIE_TEMPLATE_DIMENSION ) >>= nDim;
|
||||
}
|
||||
catch( const beans::UnknownPropertyException & ex )
|
||||
catch( const beans::UnknownPropertyException & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return nDim;
|
||||
@ -247,9 +248,9 @@ void PieChartTypeTemplate::adaptScales(
|
||||
xAxis->setScaleData( aScaleData );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -289,9 +290,9 @@ void PieChartTypeTemplate::createChartTypes(
|
||||
aFlatSeriesSeq, rCoordSys[0], getStackMode( 0 ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -359,9 +360,9 @@ sal_Bool SAL_CALL PieChartTypeTemplate::matchesTemplate(
|
||||
|
||||
bResult = ( eOffsetMode == ePieOffsetMode );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
bResult = false;
|
||||
}
|
||||
}
|
||||
@ -399,9 +400,9 @@ Reference< chart2::XChartType > PieChartTypeTemplate::getChartTypeForIndex( sal_
|
||||
}
|
||||
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -427,9 +428,9 @@ Reference< chart2::XChartType > SAL_CALL PieChartTypeTemplate::getChartTypeForNe
|
||||
}
|
||||
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -518,9 +519,9 @@ void SAL_CALL PieChartTypeTemplate::applyStyle(
|
||||
// vary colors by point
|
||||
xProp->setPropertyValue( "VaryColorsByPoint", uno::Any( true ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -555,9 +556,9 @@ void SAL_CALL PieChartTypeTemplate::resetStyles( const Reference< chart2::XDiagr
|
||||
xAxis->setScaleData( aScaleData );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <com/sun/star/chart2/Symbol.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -210,9 +211,9 @@ void SAL_CALL ScatterChartTypeTemplate::applyStyle(
|
||||
if( m_nDim==3 )
|
||||
DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints( xSeries, "BorderStyle", uno::Any( drawing::LineStyle_NONE ) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -271,9 +272,9 @@ sal_Bool SAL_CALL ScatterChartTypeTemplate::matchesTemplate(
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -300,9 +301,9 @@ sal_Bool SAL_CALL ScatterChartTypeTemplate::matchesTemplate(
|
||||
setFastPropertyValue_NoBroadcast( PROP_SCATTERCHARTTYPE_TEMPLATE_CURVE_RESOLUTION, xChartTypeProp->getPropertyValue(CHART_UNONAME_CURVE_RESOLUTION) );
|
||||
setFastPropertyValue_NoBroadcast( PROP_SCATTERCHARTTYPE_TEMPLATE_SPLINE_ORDER, xChartTypeProp->getPropertyValue(CHART_UNONAME_SPLINE_ORDER) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -331,9 +332,9 @@ Reference< chart2::XChartType > ScatterChartTypeTemplate::getChartTypeForIndex(
|
||||
CHART_UNONAME_SPLINE_ORDER, getFastPropertyValue( PROP_SCATTERCHARTTYPE_TEMPLATE_SPLINE_ORDER ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -364,9 +365,9 @@ Reference< chart2::XChartType > SAL_CALL ScatterChartTypeTemplate::getChartTypeF
|
||||
CHART_UNONAME_SPLINE_ORDER, getFastPropertyValue( PROP_SCATTERCHARTTYPE_TEMPLATE_SPLINE_ORDER ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include <PropertyHelper.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -249,9 +250,9 @@ void SAL_CALL StockChartTypeTemplate::applyStyle(
|
||||
}
|
||||
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -383,9 +384,9 @@ void StockChartTypeTemplate::createChartTypes(
|
||||
Reference< XChartTypeContainer > xCTCnt( rCoordSys[ 0 ], uno::UNO_QUERY_THROW );
|
||||
xCTCnt->setChartTypes( comphelper::containerToSequence(aChartTypeVec) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -463,9 +464,9 @@ sal_Bool SAL_CALL StockChartTypeTemplate::matchesTemplate(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return bResult;
|
||||
@ -484,9 +485,9 @@ Reference< XChartType > SAL_CALL StockChartTypeTemplate::getChartTypeForNewSerie
|
||||
CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY_THROW );
|
||||
ChartTypeTemplate::copyPropertiesFromOldToNewCoordinateSystem( aFormerlyUsedChartTypes, xResult );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <CommonConverters.hxx>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -243,9 +244,9 @@ InterpretedData SAL_CALL StockDataInterpreter::interpretDataSource(
|
||||
xSink->setData( aSequences[nGroupIndex][nSeriesIdx] );
|
||||
aResultSeries[nGroupIndex][nSeriesIdx].set( xSeries );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -301,9 +302,9 @@ sal_Bool SAL_CALL StockDataInterpreter::isDataCompatible(
|
||||
if( aSeq.getLength() != nNumberOfNecessarySequences )
|
||||
return false;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
#include <com/sun/star/util/XCloneable.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -93,9 +94,9 @@ chart2::InterpretedData SAL_CALL XYDataInterpreter::interpretDataSource(
|
||||
SetRole( aData[nDataIdx]->getValues(), "values-y");
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -215,9 +216,9 @@ chart2::InterpretedData SAL_CALL XYDataInterpreter::reinterpretDataSeries(
|
||||
xSink->setData( aNewSequences );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -238,9 +239,9 @@ sal_Bool SAL_CALL XYDataInterpreter::isDataCompatible(
|
||||
if( aSeq.getLength() != 2 )
|
||||
return false;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include <com/sun/star/util/XCloneable.hpp>
|
||||
#include <com/sun/star/lang/XServiceName.hpp>
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
@ -289,9 +290,9 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if( ! aKeyMap.empty())
|
||||
@ -835,9 +836,9 @@ std::vector< Reference< XAxis > > AxisHelper::getAllAxesOfCoordinateSystem(
|
||||
aAxisVector.push_back( xAxis );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1112,9 +1113,9 @@ void AxisHelper::setRTLAxisLayout( const Reference< XCoordinateSystem >& xCooSys
|
||||
xVerticalMainAxis->setScaleData(aScale);
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
|
||||
try
|
||||
@ -1137,9 +1138,9 @@ void AxisHelper::setRTLAxisLayout( const Reference< XCoordinateSystem >& xCooSys
|
||||
xVerticalSecondaryAxis->setScaleData(aScale);
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include <comphelper/sequenceashashmap.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
@ -324,9 +325,9 @@ void SAL_CALL CachedDataSequence::addModifyListener( const Reference< util::XMod
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -337,9 +338,9 @@ void SAL_CALL CachedDataSequence::removeModifyListener( const Reference< util::X
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include <com/sun/star/embed/Aspects.hpp>
|
||||
#include <com/sun/star/embed/XVisualObject.hpp>
|
||||
#include <com/sun/star/view/XSelectionChangeListener.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -96,9 +97,9 @@ uno::Reference< XDiagram > ChartModelHelper::findDiagram( const uno::Reference<
|
||||
if( xChartDoc.is())
|
||||
return xChartDoc->getFirstDiagram();
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <com/sun/star/chart/DataLabelPlacement.hpp>
|
||||
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
||||
#include <com/sun/star/chart/MissingValueTreatment.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -554,9 +555,9 @@ sal_Int32 ChartTypeHelper::getNumberOfDisplayedSeries(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
return nNumberOfSeries;
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <com/sun/star/util/XModifyListener.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -45,9 +46,9 @@ void ChartViewHelper::setViewToDirtyState( const uno::Reference< frame::XModel >
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
} //namespace chart
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
|
||||
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
@ -408,9 +409,9 @@ void setStackModeAtSeries(
|
||||
aAxisIndexSet.insert(nAxisIndex);
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -455,9 +456,9 @@ sal_Int32 getAttachedAxisIndex( const Reference< chart2::XDataSeries > & xSeries
|
||||
xProp->getPropertyValue( "AttachedAxisIndex" ) >>= nRet;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return nRet;
|
||||
}
|
||||
@ -478,9 +479,9 @@ sal_Int32 getNumberFormatKeyFromAxis(
|
||||
if( xAxisProp.is())
|
||||
xAxisProp->getPropertyValue(CHART_UNONAME_NUMFMT) >>= nResult;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return nResult;
|
||||
@ -525,9 +526,9 @@ void deleteSeries(
|
||||
xSeriesCnt->setDataSeries( comphelper::containerToSequence( aSeries ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
#include <com/sun/star/chart/ChartDataRowSource.hpp>
|
||||
#include <com/sun/star/chart/ErrorBarStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <iterator>
|
||||
|
||||
@ -107,9 +108,9 @@ void lcl_addErrorBarRanges(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -371,9 +372,9 @@ bool DataSourceHelper::detectRangeSegmentation(
|
||||
DiagramHelper::getCategoriesFromDiagram( xChartDocument->getFirstDiagram() ));
|
||||
rOutHasCategories = xCategories.is();
|
||||
}
|
||||
catch( uno::Exception & ex )
|
||||
catch( uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return bSomethingDetected;
|
||||
}
|
||||
@ -414,9 +415,9 @@ bool DataSourceHelper::allArgumentsForRectRangeDetected(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return (bHasCellRangeRepresentation && bHasDataRowSource && bHasFirstCellAsLabel);
|
||||
|
@ -58,6 +58,7 @@
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -100,9 +101,9 @@ DiagramHelper::tTemplateWithServiceName
|
||||
bTemplateFound = true;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -181,9 +182,9 @@ void DiagramHelper::setVertical(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -304,9 +305,9 @@ void DiagramHelper::setStackMode(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -425,9 +426,9 @@ StackMode DiagramHelper::getStackModeFromChartType(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return eStackMode;
|
||||
@ -457,9 +458,9 @@ sal_Int32 DiagramHelper::getDimension( const Reference< XDiagram > & xDiagram )
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return nResult;
|
||||
@ -519,9 +520,9 @@ void DiagramHelper::setDimension(
|
||||
else if( nNewDimensionCount==2 && eStackMode == StackMode::ZStacked )
|
||||
DiagramHelper::setStackMode( xDiagram, StackMode::NONE );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -553,9 +554,9 @@ void DiagramHelper::replaceCoordinateSystem(
|
||||
if( xCategories.is() )
|
||||
DiagramHelper::setCategoriesToDiagram( xCategories, xDiagram );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -591,9 +592,9 @@ bool DiagramHelper::attachSeriesToAxis( bool bAttachToMainAxis
|
||||
xProp->setPropertyValue( "AttachedAxisIndex", uno::Any( nNewAxisIndex ) );
|
||||
bChanged = true;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -693,9 +694,9 @@ std::vector< Reference< XDataSeries > >
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return aResult;
|
||||
@ -800,9 +801,9 @@ std::vector< Reference< XAxis > > lcl_getAxisHoldingCategoriesFromDiagram(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
|
||||
if( aRet.empty() )
|
||||
@ -843,9 +844,9 @@ bool DiagramHelper::isCategoryDiagram(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -906,18 +907,18 @@ Reference< data::XLabeledDataSequence >
|
||||
{
|
||||
xProp->setPropertyValue( "Role", uno::Any( OUString("categories") ) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
@ -1032,9 +1033,9 @@ void lcl_switchToDateCategories( const Reference< XChartDocument >& xChartDoc, c
|
||||
{
|
||||
xKeyProps = xNumberFormats->getByKey( nNumberFormat );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
sal_Int32 nType = util::NumberFormat::UNDEFINED;
|
||||
if( xKeyProps.is() )
|
||||
@ -1225,9 +1226,9 @@ Sequence< Reference< XChartType > >
|
||||
std::back_inserter( aResult ));
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1522,9 +1523,9 @@ sal_Int32 DiagramHelper::getGeometry3D(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,7 @@
|
||||
|
||||
#include <rtl/math.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -401,9 +402,9 @@ void SAL_CALL ErrorBar::addModifyListener( const uno::Reference< util::XModifyLi
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -414,9 +415,9 @@ void SAL_CALL ErrorBar::removeModifyListener( const uno::Reference< util::XModif
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <com/sun/star/chart2/AxisType.hpp>
|
||||
#include <com/sun/star/util/NumberFormat.hpp>
|
||||
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -120,9 +121,9 @@ ExplicitCategoriesProvider::ExplicitCategoriesProvider( const Reference< chart2:
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <FormattedStringHelper.hxx>
|
||||
#include <PropertyHelper.hxx>
|
||||
#include <com/sun/star/chart2/FormattedString.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -49,9 +50,9 @@ Sequence< Reference< chart2::XFormattedString2 > >
|
||||
xTextProperties, Reference< beans::XPropertySet >( xFormStr, uno::UNO_QUERY_THROW ) );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return Sequence< Reference< XFormattedString2 > >( & xFormStr, 1 );
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include <unotools/charclass.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <comphelper/sequenceashashmap.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -393,9 +394,9 @@ InternalDataProvider::InternalDataProvider(
|
||||
ftor( rxScreen );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <LabeledDataSequence.hxx>
|
||||
#include <ModifyListenerHelper.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -122,9 +123,9 @@ void SAL_CALL LabeledDataSequence::addModifyListener( const Reference< util::XMo
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,9 +136,9 @@ void SAL_CALL LabeledDataSequence::removeModifyListener( const Reference< util::
|
||||
Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <com/sun/star/chart2/XChartDocument.hpp>
|
||||
#include <com/sun/star/chart2/XLegend.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using ::com::sun::star::uno::Reference;
|
||||
@ -97,9 +98,9 @@ uno::Reference< chart2::XLegend > LegendHelper::getLegend(
|
||||
OSL_FAIL("need diagram for creation of legend");
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return xResult;
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include <com/sun/star/util/XModifyListener.hpp>
|
||||
#include <com/sun/star/util/XCloseListener.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -344,9 +345,9 @@ void CloseableLifeTimeManager::impl_doClose()
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception& ex )
|
||||
catch( const uno::Exception& )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if(xCloseable.is())
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <com/sun/star/drawing/LineDash.hpp>
|
||||
#include <com/sun/star/drawing/LineJoint.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -110,9 +111,9 @@ bool LinePropertiesHelper::IsLineVisible( const css::uno::Reference<
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return bRet;
|
||||
}
|
||||
@ -135,9 +136,9 @@ void LinePropertiesHelper::SetLineVisible( const css::uno::Reference<
|
||||
xLineProperties->setPropertyValue( "LineTransparence", uno::Any( sal_Int16(0) ) );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -154,9 +155,9 @@ void LinePropertiesHelper::SetLineInvisible( const css::uno::Reference<
|
||||
xLineProperties->setPropertyValue( "LineStyle", uno::Any( drawing::LineStyle_NONE ) );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -170,9 +171,9 @@ void LinePropertiesHelper::SetLineColor( const css::uno::Reference<
|
||||
xLineProperties->setPropertyValue( "LineColor", uno::Any( nColor ) );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <WeakListenerAdapter.hxx>
|
||||
|
||||
#include <cppuhelper/interfacecontainer.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -113,9 +114,9 @@ void ModifyEventForwarder::AddListener( const Reference< util::XModifyListener >
|
||||
|
||||
m_aModifyListeners.addListener( cppu::UnoType<decltype(xListenerToAdd)>::get(), xListenerToAdd );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -136,9 +137,9 @@ void ModifyEventForwarder::RemoveListener( const Reference< util::XModifyListene
|
||||
|
||||
m_aModifyListeners.removeListener( cppu::UnoType<decltype(aListener)>::get(), xListenerToRemove );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
|
||||
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -373,9 +374,9 @@ OUString ObjectIdentifier::createClassifiedIdentifierForObject(
|
||||
//datapoint?
|
||||
//Gridproperties
|
||||
}
|
||||
catch(const uno::Exception& ex)
|
||||
catch(const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if( eObjectType != OBJECTTYPE_UNKNOWN )
|
||||
@ -455,9 +456,9 @@ OUString ObjectIdentifier::createClassifiedIdentifierForObject(
|
||||
//datapoint?
|
||||
//Gridproperties
|
||||
}
|
||||
catch(const uno::Exception& ex)
|
||||
catch(const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if( eObjectType != OBJECTTYPE_UNKNOWN )
|
||||
@ -1384,9 +1385,9 @@ Reference< beans::XPropertySet > ObjectIdentifier::getObjectPropertySet(
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch(const uno::Exception& ex)
|
||||
catch(const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return xObjectProperties;
|
||||
}
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/container/XNameContainer.hpp>
|
||||
#include <osl/diagnose.h>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -48,9 +49,9 @@ struct lcl_EqualsElement
|
||||
{
|
||||
return (m_xAccess->getByName( rName ) == m_aValue);
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -161,9 +162,9 @@ OUString lcl_addNamedPropertyUniqueNameToTable(
|
||||
// element found => return name
|
||||
return *aIt;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return rPreferredName;
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <com/sun/star/chart/ErrorBarStyle.hpp>
|
||||
#include <com/sun/star/drawing/XShape.hpp>
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -180,9 +181,9 @@ void RangeHighlighter::determineRanges()
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -226,9 +227,9 @@ void RangeHighlighter::fillRangesForErrorBars(
|
||||
(xErrorBar->getPropertyValue( "ErrorBarStyle") >>= nStyle) &&
|
||||
nStyle == css::chart::ErrorBarStyle::FROM_DATA );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if( bUsesRangesAsErrorBars )
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <com/sun/star/chart2/XTitled.hpp>
|
||||
#include <com/sun/star/chart2/XTitle.hpp>
|
||||
#include <com/sun/star/chart2/XDataSeries.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -83,9 +84,9 @@ void ReferenceSizeProvider::setValuesAtTitle(
|
||||
|
||||
setValuesAtPropertySet( xTitleProp, /* bAdaptFontSizes = */ false );
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -113,9 +114,9 @@ void ReferenceSizeProvider::setValuesAtAllDataSeries()
|
||||
elem->getDataPointByIndex( aPointIndexes[i] ) );
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
//it is important to correct the datapoint properties first as they do reference the series properties
|
||||
@ -156,9 +157,9 @@ void ReferenceSizeProvider::setValuesAtPropertySet(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -291,9 +292,9 @@ ReferenceSizeProvider::AutoResizeState ReferenceSizeProvider::getAutoResizeState
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (const uno::Exception& ex)
|
||||
catch (const uno::Exception&)
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include <strings.hrc>
|
||||
#include <DiagramHelper.hxx>
|
||||
#include <com/sun/star/chart2/XChartDocument.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::chart2;
|
||||
@ -197,9 +198,9 @@ void RegressionCurveHelper::initializeCurveCalculator(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -249,9 +250,9 @@ bool RegressionCurveHelper::hasMeanValueLine(
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -282,9 +283,9 @@ uno::Reference< chart2::XRegressionCurve >
|
||||
return aCurves[i];
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -337,9 +338,9 @@ void RegressionCurveHelper::removeMeanValueLine(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -418,9 +419,9 @@ bool RegressionCurveHelper::removeAllExceptMeanValueLine(
|
||||
bRemovedSomething = true;
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
return bRemovedSomething;
|
||||
@ -454,9 +455,9 @@ void RegressionCurveHelper::removeEquations(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -492,9 +493,9 @@ uno::Reference< chart2::XRegressionCurve > RegressionCurveHelper::getFirstCurveN
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
@ -516,9 +517,9 @@ uno::Reference< chart2::XRegressionCurve > RegressionCurveHelper::getRegressionC
|
||||
return aCurves[aIndex];
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
@ -566,9 +567,9 @@ SvxChartRegress RegressionCurveHelper::getRegressionType(
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
|
||||
return eResult;
|
||||
@ -714,9 +715,9 @@ void RegressionCurveHelper::resetEquationPosition(
|
||||
if( xEqProp->getPropertyValue( aPosPropertyName ).hasValue())
|
||||
xEqProp->setPropertyValue( aPosPropertyName, uno::Any());
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <rtl/math.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
@ -252,9 +253,9 @@ void SAL_CALL RegressionCurveModel::addModifyListener( const uno::Reference< uti
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -265,9 +266,9 @@ void SAL_CALL RegressionCurveModel::removeModifyListener( const uno::Reference<
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/chart2/RelativePosition.hpp>
|
||||
#include <com/sun/star/awt/Size.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -237,9 +238,9 @@ void SAL_CALL RegressionEquation::addModifyListener( const uno::Reference< util:
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->addModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -250,9 +251,9 @@ void SAL_CALL RegressionEquation::removeModifyListener( const uno::Reference< ut
|
||||
uno::Reference< util::XModifyBroadcaster > xBroadcaster( m_xModifyEventForwarder, uno::UNO_QUERY_THROW );
|
||||
xBroadcaster->removeModifyListener( aListener );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <RelativeSizeHelper.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -75,9 +76,9 @@ void RelativeSizeHelper::adaptFontSizes(
|
||||
calculate( fFontHeight, rOldReferenceSize, rNewReferenceSize ))));
|
||||
}
|
||||
}
|
||||
catch( const Exception & ex )
|
||||
catch( const Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <com/sun/star/chart2/data/XNumericalDataSequence.hpp>
|
||||
#include <com/sun/star/chart2/data/XDataSink.hpp>
|
||||
#include <com/sun/star/chart/ErrorBarStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
using ::com::sun::star::uno::Sequence;
|
||||
using ::com::sun::star::uno::Reference;
|
||||
@ -150,9 +151,9 @@ void lcl_setXMLRangePropertyAtDataSequence(
|
||||
if( xInfo.is() && xInfo->hasPropertyByName( aXMLRangePropName ))
|
||||
xProp->setPropertyValue( aXMLRangePropName, uno::Any( rXMLRange ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <com/sun/star/beans/XPropertyState.hpp>
|
||||
#include <com/sun/star/chart2/XDiagram.hpp>
|
||||
#include <com/sun/star/drawing/LineStyle.hpp>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
namespace chart
|
||||
{
|
||||
@ -970,9 +971,9 @@ void ThreeDHelper::switchRightAngledAxes( const Reference< beans::XPropertySet >
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1025,9 +1026,9 @@ void ThreeDHelper::setRotationAngleToDiagram(
|
||||
lcl_rotateLights( aNewRotation*aInverseOldRotation, xSceneProperties );
|
||||
}
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1102,9 +1103,9 @@ double ThreeDHelper::getCameraDistance(
|
||||
|
||||
ensureCameraDistanceRange( fCameraDistance );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
return fCameraDistance;
|
||||
}
|
||||
@ -1130,9 +1131,9 @@ void ThreeDHelper::setCameraDistance(
|
||||
|
||||
xSceneProperties->setPropertyValue( "D3DCameraGeometry", uno::Any( aCG ));
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1180,9 +1181,9 @@ ThreeDLookScheme ThreeDHelper::detectScheme( const uno::Reference< XDiagram >& x
|
||||
if( xDiagramProps.is() )
|
||||
xDiagramProps->getPropertyValue( "D3DSceneShadeMode" )>>= aShadeMode;
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
if( lcl_isSimpleScheme( aShadeMode, nRoundedEdges, nObjectLines, xDiagram ) )
|
||||
@ -1230,9 +1231,9 @@ void ThreeDHelper::setScheme( const uno::Reference< XDiagram >& xDiagram, ThreeD
|
||||
|
||||
lcl_setLightsForScheme( xProp, aScheme );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
}
|
||||
@ -1287,9 +1288,9 @@ void ThreeDHelper::setDefaultIllumination( const uno::Reference< beans::XPropert
|
||||
xSceneProperties->setPropertyValue( UNO_NAME_3D_SCENE_LIGHTON_7, uno::Any( false ) );
|
||||
xSceneProperties->setPropertyValue( UNO_NAME_3D_SCENE_LIGHTON_8, uno::Any( false ) );
|
||||
}
|
||||
catch( const uno::Exception & ex )
|
||||
catch( const uno::Exception & )
|
||||
{
|
||||
SAL_WARN("chart2", "Exception caught. " << ex );
|
||||
DBG_UNHANDLED_EXCEPTION("chart2");
|
||||
}
|
||||
|
||||
ThreeDLookScheme aScheme = (aShadeMode==drawing::ShadeMode_FLAT) ? ThreeDLookScheme_Simple : ThreeDLookScheme_Realistic;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user