From e99c70d2687ec6768070bc3ed7ee73ed9bbad196 Mon Sep 17 00:00:00 2001 From: Elton Chung Date: Sun, 5 Feb 2012 15:58:18 +0800 Subject: Remove unused code --- vbahelper/source/vbahelper/vbacolorformat.cxx | 6 ------ vbahelper/source/vbahelper/vbacolorformat.hxx | 1 - vbahelper/source/vbahelper/vbalineformat.cxx | 6 ------ vbahelper/source/vbahelper/vbalineformat.hxx | 1 - 4 files changed, 14 deletions(-) (limited to 'vbahelper') diff --git a/vbahelper/source/vbahelper/vbacolorformat.cxx b/vbahelper/source/vbahelper/vbacolorformat.cxx index 19cf96e71135..1764adae7672 100644 --- a/vbahelper/source/vbahelper/vbacolorformat.cxx +++ b/vbahelper/source/vbahelper/vbacolorformat.cxx @@ -63,12 +63,6 @@ ScVbaColorFormat::ScVbaColorFormat( const uno::Reference< XHelperInterface >& xP } } -void -ScVbaColorFormat::setColorFormat( sal_Int16 _ntype ) -{ - m_nColorFormatType = _ntype; -} - // Attribute sal_Int32 SAL_CALL ScVbaColorFormat::getRGB() throw (uno::RuntimeException) diff --git a/vbahelper/source/vbahelper/vbacolorformat.hxx b/vbahelper/source/vbahelper/vbacolorformat.hxx index c0e023dc5ce7..351012f88c2a 100644 --- a/vbahelper/source/vbahelper/vbacolorformat.hxx +++ b/vbahelper/source/vbahelper/vbacolorformat.hxx @@ -111,7 +111,6 @@ private: protected: virtual rtl::OUString& getServiceImplName(); virtual css::uno::Sequence getServiceNames(); - void setColorFormat( sal_Int16 nType ); public: ScVbaColorFormat( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< ov::XHelperInterface > xInternalParent, const css::uno::Reference< css::drawing::XShape > xShape, const sal_Int16 nColorFormatType ); diff --git a/vbahelper/source/vbahelper/vbalineformat.cxx b/vbahelper/source/vbahelper/vbalineformat.cxx index 4a66960763dc..2366f7705c7e 100644 --- a/vbahelper/source/vbahelper/vbalineformat.cxx +++ b/vbahelper/source/vbahelper/vbalineformat.cxx @@ -44,12 +44,6 @@ ScVbaLineFormat::ScVbaLineFormat( const uno::Reference< ov::XHelperInterface >& m_nLineWeight = 1; } -sal_Int32 -ScVbaLineFormat::calculateArrowheadSize() const -{ - return 0; -} - sal_Int32 ScVbaLineFormat::convertLineStartEndNameToArrowheadStyle( rtl::OUString sLineName ) { diff --git a/vbahelper/source/vbahelper/vbalineformat.hxx b/vbahelper/source/vbahelper/vbalineformat.hxx index 4e74ae827227..330fe8af54fc 100644 --- a/vbahelper/source/vbahelper/vbalineformat.hxx +++ b/vbahelper/source/vbahelper/vbalineformat.hxx @@ -47,7 +47,6 @@ protected: virtual css::uno::Sequence getServiceNames(); sal_Int32 convertLineStartEndNameToArrowheadStyle( rtl::OUString sLineName ); rtl::OUString convertArrowheadStyleToLineStartEndName( sal_Int32 nArrowheadStyle ) throw (css::uno::RuntimeException); - sal_Int32 calculateArrowheadSize() const; public: ScVbaLineFormat( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::drawing::XShape > xShape ); -- cgit