diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-02 11:26:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-02 12:37:11 +0000 |
commit | 52c2111e4f466edf77e3eee17fc9c283f3b69100 (patch) | |
tree | 2cceb8d9131054a0e7791ce4124e50819c11ccd8 /sc | |
parent | c32aa53a7df7af4ef23b8d235483eabb51463183 (diff) |
callcatcher: remove some unused methods
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xeescher.cxx | 17 | ||||
-rw-r--r-- | sc/source/filter/inc/xeescher.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 3 |
4 files changed, 5 insertions, 18 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index 946b6774d86a..46ef312e5163 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -1109,23 +1109,6 @@ void XclExpChartObj::SaveXml( XclExpXmlStream& rStrm ) pDrawing->endElement( FSNS( XML_xdr, XML_twoCellAnchor ) ); } -void XclExpChartObj::WriteShapeTransformation( sax_fastparser::FSHelperPtr pFS, const XShapeRef& rXShape, bool bFlipH, bool bFlipV, sal_Int32 nRotation ) -{ - ::com::sun::star::awt::Point aPos = rXShape->getPosition(); - ::com::sun::star::awt::Size aSize = rXShape->getSize(); - - pFS->startElementNS( XML_xdr, XML_xfrm, - XML_flipH, bFlipH ? "1" : NULL, - XML_flipV, bFlipV ? "1" : NULL, - XML_rot, nRotation ? I32S( nRotation ) : NULL, - FSEND ); - - pFS->singleElementNS( XML_a, XML_off, XML_x, IS( oox::drawingml::convertHmmToEmu( aPos.X ) ), XML_y, IS( oox::drawingml::convertHmmToEmu( aPos.Y ) ), FSEND ); - pFS->singleElementNS( XML_a, XML_ext, XML_cx, IS( oox::drawingml::convertHmmToEmu( aSize.Width ) ), XML_cy, IS( oox::drawingml::convertHmmToEmu( aSize.Height ) ), FSEND ); - - pFS->endElementNS( XML_xdr, XML_xfrm ); -} - const css::uno::Reference<css::chart::XChartDocument>& XclExpChartObj::GetChartDoc() const { return mxChartDoc; diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx index 87bf7c362013..2279b002dc54 100644 --- a/sc/source/filter/inc/xeescher.hxx +++ b/sc/source/filter/inc/xeescher.hxx @@ -300,7 +300,6 @@ public: /** Writes the OBJ record and the entire chart substream. */ virtual void Save( XclExpStream& rStrm ) SAL_OVERRIDE; virtual void SaveXml( XclExpXmlStream& rStrm ) SAL_OVERRIDE; - void WriteShapeTransformation( sax_fastparser::FSHelperPtr pFS, const XShapeRef& rXShape, bool bFlipH = false, bool bFlipV = false, sal_Int32 nRotation = 0 ); const css::uno::Reference<css::chart::XChartDocument>& GetChartDoc() const; diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 08b4dedf1c37..2078e7ba4d58 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -2051,6 +2051,7 @@ void ScDocShell::GetPageOnFromPageStyleSet( const SfxItemSet* pStyleSet, rbFooter = static_cast<const SfxBoolItem&>(pSet->Get(ATTR_PAGE_ON)).GetValue(); } +#if defined WNT bool ScDocShell::DdeGetData( const OUString& rItem, const OUString& rMimeType, ::com::sun::star::uno::Any & rValue ) @@ -2135,6 +2136,7 @@ bool ScDocShell::DdeSetData( const OUString& rItem, ScImportExport aObj( &aDocument, rItem ); return aObj.IsRef() && aObj.ImportData( rMimeType, rValue ); } +#endif ::sfx2::SvLinkSource* ScDocShell::DdeCreateLinkSource( const OUString& rItem ) { diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 5e7dd488662d..e70ac443c221 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -373,10 +373,13 @@ public: bool& rbHeader, bool& rbFooter ); +#if defined WNT virtual bool DdeGetData( const OUString& rItem, const OUString& rMimeType, ::com::sun::star::uno::Any & rValue ) SAL_OVERRIDE; virtual bool DdeSetData( const OUString& rItem, const OUString& rMimeType, const ::com::sun::star::uno::Any & rValue ) SAL_OVERRIDE; +#endif + virtual ::sfx2::SvLinkSource* DdeCreateLinkSource( const OUString& rItem ) SAL_OVERRIDE; const OUString& GetDdeTextFmt() const { return aDdeTextFmt; } |