changefileheader2: #i10000#: convert files with CR/LF characters to CR only
This commit is contained in:
parent
98830d0c79
commit
1333cd2250
7 changed files with 42 additions and 42 deletions
|
@ -94,22 +94,22 @@ public:
|
|||
APPHELPER_XSERVICEINFO_DECL()
|
||||
APPHELPER_SERVICE_FACTORY_HELPER(ElementSelectorToolbarController)
|
||||
|
||||
// XInterface
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL acquire() throw ();
|
||||
virtual void SAL_CALL release() throw ();
|
||||
|
||||
// XInitialization
|
||||
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
|
||||
// XStatusListener
|
||||
virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException );
|
||||
// XToolbarController
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL createItemWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& Parent ) throw (::com::sun::star::uno::RuntimeException);
|
||||
// XInterface
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL acquire() throw ();
|
||||
virtual void SAL_CALL release() throw ();
|
||||
|
||||
// XInitialization
|
||||
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
|
||||
// XStatusListener
|
||||
virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException );
|
||||
// XToolbarController
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL createItemWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& Parent ) throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
private:
|
||||
//no default constructor
|
||||
ElementSelectorToolbarController(){}
|
||||
|
||||
ElementSelectorToolbarController(){}
|
||||
|
||||
private:
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> m_xCC;
|
||||
::std::auto_ptr< SelectorListBox > m_apSelectorListBox;
|
||||
|
|
|
@ -88,12 +88,12 @@ bool ChartData::createDefaultData() throw()
|
|||
{
|
||||
if( hasInternalData() )
|
||||
{
|
||||
uno::Reference< lang::XInitialization > xIni(m_xInternalDataProvider,uno::UNO_QUERY);
|
||||
uno::Reference< lang::XInitialization > xIni(m_xInternalDataProvider,uno::UNO_QUERY);
|
||||
if ( xIni.is() )
|
||||
{
|
||||
uno::Sequence< uno::Any > aArgs(1);
|
||||
beans::NamedValue aParam(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateDefaultData")),uno::makeAny(sal_True));
|
||||
aArgs[0] <<= aParam;
|
||||
uno::Sequence< uno::Any > aArgs(1);
|
||||
beans::NamedValue aParam(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateDefaultData")),uno::makeAny(sal_True));
|
||||
aArgs[0] <<= aParam;
|
||||
xIni->initialize(aArgs);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -366,7 +366,7 @@ void ImplChartModel::CreateDefaultChart()
|
|||
xLegendProperties->setPropertyValue( C2U( "LineColor" ), uno::makeAny( static_cast< sal_Int32 >( 0xb3b3b3 ) )); // gray30
|
||||
xLegendProperties->setPropertyValue( C2U( "FillColor" ), uno::makeAny( static_cast< sal_Int32 >( 0xe6e6e6 ) ) ); // gray10
|
||||
|
||||
if( bIsRTL )
|
||||
if( bIsRTL )
|
||||
xLegendProperties->setPropertyValue( C2U( "AnchorPosition" ), uno::makeAny( chart2::LegendPosition_LINE_START ));
|
||||
}
|
||||
if(xDiagram.is())
|
||||
|
|
|
@ -320,17 +320,17 @@ void SplineCalculater::CalculateCubicSplines(
|
|||
rResult.SequenceY.realloc(0);
|
||||
rResult.SequenceZ.realloc(0);
|
||||
|
||||
sal_Int32 nOuterCount = rInput.SequenceX.getLength();
|
||||
if( !nOuterCount )
|
||||
sal_Int32 nOuterCount = rInput.SequenceX.getLength();
|
||||
if( !nOuterCount )
|
||||
return;
|
||||
|
||||
rResult.SequenceX.realloc(nOuterCount);
|
||||
rResult.SequenceY.realloc(nOuterCount);
|
||||
rResult.SequenceX.realloc(nOuterCount);
|
||||
rResult.SequenceY.realloc(nOuterCount);
|
||||
rResult.SequenceZ.realloc(nOuterCount);
|
||||
|
||||
for( sal_Int32 nOuter = 0; nOuter < nOuterCount; ++nOuter )
|
||||
{
|
||||
if( rInput.SequenceX[nOuter].getLength() <= 1 )
|
||||
for( sal_Int32 nOuter = 0; nOuter < nOuterCount; ++nOuter )
|
||||
{
|
||||
if( rInput.SequenceX[nOuter].getLength() <= 1 )
|
||||
continue; //we need at least two points
|
||||
|
||||
sal_Int32 nMaxIndexPoints = rInput.SequenceX[nOuter].getLength()-1; // is >=1
|
||||
|
@ -458,17 +458,17 @@ void SplineCalculater::CalculateBSplines(
|
|||
rResult.SequenceY.realloc(0);
|
||||
rResult.SequenceZ.realloc(0);
|
||||
|
||||
sal_Int32 nOuterCount = rInput.SequenceX.getLength();
|
||||
if( !nOuterCount )
|
||||
sal_Int32 nOuterCount = rInput.SequenceX.getLength();
|
||||
if( !nOuterCount )
|
||||
return; // no input
|
||||
|
||||
rResult.SequenceX.realloc(nOuterCount);
|
||||
rResult.SequenceY.realloc(nOuterCount);
|
||||
rResult.SequenceX.realloc(nOuterCount);
|
||||
rResult.SequenceY.realloc(nOuterCount);
|
||||
rResult.SequenceZ.realloc(nOuterCount);
|
||||
|
||||
for( sal_Int32 nOuter = 0; nOuter < nOuterCount; ++nOuter )
|
||||
{
|
||||
if( rInput.SequenceX[nOuter].getLength() <= 1 )
|
||||
for( sal_Int32 nOuter = 0; nOuter < nOuterCount; ++nOuter )
|
||||
{
|
||||
if( rInput.SequenceX[nOuter].getLength() <= 1 )
|
||||
continue; // need at least 2 control points
|
||||
|
||||
sal_Int32 n = rInput.SequenceX[nOuter].getLength()-1; // maximum index of control points
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
LIBRARY sampleaddin
|
||||
DESCRIPTION 'Sample Chart AddIn'
|
||||
HEAPSIZE 0
|
||||
EXPORTS
|
||||
component_getImplementationEnvironment
|
||||
component_writeInfo
|
||||
component_getFactory
|
||||
LIBRARY sampleaddin
|
||||
DESCRIPTION 'Sample Chart AddIn'
|
||||
HEAPSIZE 0
|
||||
EXPORTS
|
||||
component_getImplementationEnvironment
|
||||
component_writeInfo
|
||||
component_getFactory
|
||||
|
|
|
@ -158,7 +158,7 @@ Reference< XFormulaParser > ScFormulaParserPool::getFormulaParser( const OUStrin
|
|||
ScParserFactoryMap& rFactoryMap = ScParserFactorySingleton::get();
|
||||
rxParser = rFactoryMap.createFormulaParser( xComponent, rNamespace );
|
||||
}
|
||||
catch( Exception& )
|
||||
catch( Exception& )
|
||||
{
|
||||
}
|
||||
return rxParser;
|
||||
|
|
|
@ -159,12 +159,12 @@ uno::Any SAL_CALL ScShapeObj::queryInterface( const uno::Type& rType )
|
|||
|
||||
void SAL_CALL ScShapeObj::acquire() throw()
|
||||
{
|
||||
OWeakObject::acquire();
|
||||
OWeakObject::acquire();
|
||||
}
|
||||
|
||||
void SAL_CALL ScShapeObj::release() throw()
|
||||
{
|
||||
OWeakObject::release();
|
||||
OWeakObject::release();
|
||||
}
|
||||
|
||||
void ScShapeObj::GetShapePropertySet()
|
||||
|
|
Loading…
Reference in a new issue