diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 11:08:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-04 11:34:07 +0000 |
commit | 5b04c9063cc9dd77dc55c361df081812af38cdbd (patch) | |
tree | 827cd9405e68df853362ac6a021c4619bf4a6bc3 /sc | |
parent | bf48090e0a81c6490ee938eabaef4e791df85229 (diff) |
remove unused and commented out code
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/dptabdat.hxx | 1 | ||||
-rw-r--r-- | sc/inc/drwlayer.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/dptabdat.cxx | 5 | ||||
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlstyli.hxx | 24 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 2 |
6 files changed, 0 insertions, 39 deletions
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx index aba6060506d6..8a6c617a44fd 100644 --- a/sc/inc/dptabdat.hxx +++ b/sc/inc/dptabdat.hxx @@ -141,7 +141,6 @@ public: virtual long GetMembersCount( long nDim ); virtual const ScDPItemData* GetMemberByIndex( long nDim, long nIndex ); virtual const ScDPItemData* GetMemberById( long nDim, long nId); - virtual SCROW GetIdOfItemData( long nDim, const ScDPItemData& rData ); virtual long GetSourceDim( long nDim ); virtual long Compare( long nDim, long nDataId1, long nDataId2); diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index 0329f6c7ad5a..adb0c49623f8 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -119,7 +119,6 @@ public: ScDocument* GetDocument() const { return pDoc; } - void UpdateBasic(); // set DocShell Basic in DrawPages void UseHyphenator(); sal_Bool GetPrintArea( ScRange& rRange, sal_Bool bSetHor, sal_Bool bSetVer ) const; diff --git a/sc/source/core/data/dptabdat.cxx b/sc/source/core/data/dptabdat.cxx index f8483909dfd1..c92c23f964fb 100644 --- a/sc/source/core/data/dptabdat.cxx +++ b/sc/source/core/data/dptabdat.cxx @@ -273,11 +273,6 @@ const ScDPItemData* ScDPTableData::GetMemberById( long nDim, long nId) return GetCacheTable().getCache()->GetItemDataById(nDim, static_cast<SCROW>(nId)); } -SCROW ScDPTableData::GetIdOfItemData( long nDim, const ScDPItemData& rData ) -{ - return GetCacheTable().getCache()->GetIdByItemData((SCCOL) nDim, rData ); - } - const std::vector< SCROW >& ScDPTableData::GetColumnEntries( long nColumn ) { return GetCacheTable().getFieldEntries( nColumn ); diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 16b8e6c07943..aeb84e276830 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -326,12 +326,6 @@ sal_Bool ScDrawLayer::HasObjects() const return bFound; } -void ScDrawLayer::UpdateBasic() -{ - // don't create basic until it is needed - //! remove this method? -} - SdrModel* ScDrawLayer::AllocModel() const { // Allocated model (for clipboard etc) must not have a pointer diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx index 4ac9d54bacec..09d61bae311f 100644 --- a/sc/source/filter/xml/xmlstyli.hxx +++ b/sc/source/filter/xml/xmlstyli.hxx @@ -46,22 +46,6 @@ public: SvXMLImport& rImport); virtual ~ScXMLCellImportPropertyMapper(); - /** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set */ -/* virtual sal_Bool handleSpecialItem( - XMLPropertyState& rProperty, - ::std::vector< XMLPropertyState >& rProperties, - const ::rtl::OUString& rValue, - const SvXMLUnitConverter& rUnitConverter, - const SvXMLNamespaceMap& rNamespaceMap ) const;*/ - - /** this method is called for every item that has the MID_FLAG_NO_ITEM_IMPORT flag set */ -/* virtual sal_Bool handleNoItem( - sal_Int32 nIndex, - ::std::vector< XMLPropertyState >& rProperties, - const ::rtl::OUString& rValue, - const SvXMLUnitConverter& rUnitConverter, - const SvXMLNamespaceMap& rNamespaceMap ) const;*/ - /** This method is called when all attributes have been processed. It may be used to remove items that are incomplete */ virtual void finished( ::std::vector< XMLPropertyState >& rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const; @@ -180,8 +164,6 @@ protected: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); -// virtual SvXMLImportPropertyMapper *GetImpPropMapper(); - public: XMLTableStylesContext( SvXMLImport& rImport, sal_uInt16 nPrfx , @@ -190,12 +172,6 @@ public: const bool bAutoStyles ); virtual ~XMLTableStylesContext(); - // Create child element. -/* virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, - const ::rtl::OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList > & xAttrList );*/ - virtual void EndElement(); virtual UniReference < SvXMLImportPropertyMapper > GetImportPropertyMapper( diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index 84b74e05e684..1039219706ca 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -105,8 +105,6 @@ void ScDocShell::InitItems() // andere Anpassungen nach dem Anlegen des DrawLayers pDrawLayer->SetNotifyUndoActionHdl( LINK( pDocFunc, ScDocFunc, NotifyDrawUndo ) ); - - pDrawLayer->UpdateBasic(); // DocShell-Basic in DrawPages setzen } else { |