diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-07 23:02:48 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-07 23:03:11 +0900 |
commit | eb0497307bf381e7e065fc4b0b0d7b23f6ceeca9 (patch) | |
tree | f8408dea01957f913c4cd748ad38111805244a92 | |
parent | 9af0eb7e998c7bbf514e324919b710a0ff601244 (diff) |
nuke dead code
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
20 files changed, 1 insertions, 423 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx index 48f349a6466e..00f8b5569b0b 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx @@ -216,15 +216,6 @@ void lcl_updateVersionListDirectly(IFileDialog* pDialog) const ::rtl::OUString sURL = lcl_getURLFromShellItem2(iItem); if (sURL.getLength() < 1) return; -/* - INetURLObject aURL(sURL); - if (aURL.GetProtocol() != INET_PROT_FILE) - return; - - ::rtl::OUString sMain = aURL.GetMainURL(INetURLObject::NO_DECODE); - if ( ! ::utl::UCBContentHelper::IsDocument(sURL)) - return; -*/ try { css::uno::Reference< css::embed::XStorage > xStorage = ::comphelper::OStorageHelper::GetStorageFromURL(sURL, css::embed::ElementModes::READ); @@ -250,7 +241,6 @@ void lcl_updateVersionListDirectly(IFileDialog* pDialog) STDMETHODIMP VistaFilePickerEventHandler::OnSelectionChange(IFileDialog* /*pDialog*/) { impl_sendEvent(E_FILE_SELECTION_CHANGED, 0); - //lcl_updateVersionListDirectly(pDialog); return S_OK; } diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx index 33651c59cca4..083d66fab67c 100644 --- a/framework/inc/dispatch/popupmenudispatcher.hxx +++ b/framework/inc/dispatch/popupmenudispatcher.hxx @@ -34,15 +34,9 @@ //_________________________________________________________________________________________________________________ #include <services/frame.hxx> -/* -#include <macros/generic.hxx> -*/ #include <macros/xinterface.hxx> #include <macros/xtypeprovider.hxx> #include <macros/xserviceinfo.hxx> -/* -#include <macros/debug.hxx> -*/ #include <threadhelp/threadhelpbase.hxx> #include <general.h> #include <stdtypes.h> diff --git a/framework/inc/framework/interaction.hxx b/framework/inc/framework/interaction.hxx index caef8e8ff35a..70dd2cf9e809 100644 --- a/framework/inc/framework/interaction.hxx +++ b/framework/inc/framework/interaction.hxx @@ -107,36 +107,6 @@ public: const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > lContinuations ); }; -/*-************************************************************************************************************//** - @short special request for interaction - @descr User must decide between a preselected and another detected filter. - It capsulate communication with any interaction handler and supports an easy - access on interaction results for user of these class. - - @implements XInteractionRequest - - @base WeakImplHelper1 - - @devstatus ready to use - @threadsafe no (used on once position only!) -*//*-*************************************************************************************************************/ -/* -class RequestAmbigousFilter_Impl; -class RequestAmbigousFilter // seems to be unused currently -{ - RequestAmbigousFilter_Impl* pImp; - - // c++ interface -public: - RequestAmbigousFilter( const ::rtl::OUString& sURL, - const ::rtl::OUString& sSelectedFilter , - const ::rtl::OUString& sDetectedFilter ); - ~RequestAmbigousFilter(); - sal_Bool isAbort () const; - ::rtl::OUString getFilter() const; - com::sun::star::uno::Reference < ::com::sun::star::task::XInteractionRequest > GetRequest(); -}; - */ } // namespace framework diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx index 08e82537ab1f..27ae856f4f9f 100644 --- a/framework/source/fwe/dispatch/interaction.cxx +++ b/framework/source/fwe/dispatch/interaction.cxx @@ -213,120 +213,6 @@ uno::Reference < task::XInteractionRequest > RequestFilterSelect::GetRequest() return uno::Reference < task::XInteractionRequest > (pImp); } -/* -class RequestAmbigousFilter_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star::task::XInteractionRequest > -{ -public: - RequestAmbigousFilter_Impl( const ::rtl::OUString& sURL , - const ::rtl::OUString& sSelectedFilter , - const ::rtl::OUString& sDetectedFilter ); - sal_Bool isAbort () const; - ::rtl::OUString getFilter() const; - - virtual ::com::sun::star::uno::Any SAL_CALL getRequest () throw( ::com::sun::star::uno::RuntimeException ); - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( ::com::sun::star::uno::RuntimeException ); - - ::com::sun::star::uno::Any m_aRequest ; - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > m_lContinuations; - ContinuationAbort* m_pAbort ; - ContinuationFilterSelect* m_pFilter ; -}; - -RequestAmbigousFilter::RequestAmbigousFilter( const ::rtl::OUString& sURL, const ::rtl::OUString& sSelectedFilter, - const ::rtl::OUString& sDetectedFilter ) -{ - pImp = new RequestAmbigousFilter_Impl( sURL, sSelectedFilter, sDetectedFilter ); - pImp->acquire(); -} - -RequestAmbigousFilter::~RequestAmbigousFilter() -{ - pImp->release(); -} - -sal_Bool RequestAmbigousFilter::isAbort() const -{ - return pImp->isAbort(); -} - -//--------------------------------------------------------------------------------------------------------- -// return user selected filter -// Return value valid for non aborted interaction only. Please check "isAbort()" before you call these ony! -//--------------------------------------------------------------------------------------------------------- -::rtl::OUString RequestAmbigousFilter::getFilter() const -{ - return pImp->getFilter(); -} - -uno::Reference < task::XInteractionRequest > RequestAmbigousFilter::GetRequest() -{ - return uno::Reference < task::XInteractionRequest > (pImp); -} - -//--------------------------------------------------------------------------------------------------------- -// initialize instance with all neccessary informations -// We use it without any further checks on our member then ...! -//--------------------------------------------------------------------------------------------------------- -RequestAmbigousFilter_Impl::RequestAmbigousFilter_Impl( const ::rtl::OUString& sURL , - const ::rtl::OUString& sSelectedFilter , - const ::rtl::OUString& sDetectedFilter ) -{ - ::rtl::OUString temp; - css::uno::Reference< css::uno::XInterface > temp2; - css::document::AmbigousFilterRequest aFilterRequest( temp , - temp2 , - sURL , - sSelectedFilter , - sDetectedFilter ); - m_aRequest <<= aFilterRequest; - - m_pAbort = new ContinuationAbort ; - m_pFilter = new ContinuationFilterSelect; - - m_lContinuations.realloc( 2 ); - m_lContinuations[0] = css::uno::Reference< css::task::XInteractionContinuation >( m_pAbort ); - m_lContinuations[1] = css::uno::Reference< css::task::XInteractionContinuation >( m_pFilter ); -} - -//--------------------------------------------------------------------------------------------------------- -// return abort state of interaction -// If it is true, return value of method "getFilter()" will be unspecified then! -//--------------------------------------------------------------------------------------------------------- -sal_Bool RequestAmbigousFilter_Impl::isAbort() const -{ - return m_pAbort->isSelected(); -} - -//--------------------------------------------------------------------------------------------------------- -// return user selected filter -// Return value valid for non aborted interaction only. Please check "isAbort()" before you call these ony! -//--------------------------------------------------------------------------------------------------------- -::rtl::OUString RequestAmbigousFilter_Impl::getFilter() const -{ - return m_pFilter->getFilter(); -} - -//--------------------------------------------------------------------------------------------------------- -// handler call it to get type of request -// Is hard coded to "please select filter" here. see ctor for further informations. -//--------------------------------------------------------------------------------------------------------- -css::uno::Any SAL_CALL RequestAmbigousFilter_Impl::getRequest() throw( css::uno::RuntimeException ) -{ - return m_aRequest; -} - -//--------------------------------------------------------------------------------------------------------- -// handler call it to get possible continuations -// We support "abort/select_filter" only here. -// After interaction we support read access on these continuations on our c++ interface to -// return user decision. -//--------------------------------------------------------------------------------------------------------- -css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL RequestAmbigousFilter_Impl::getContinuations() throw( css::uno::RuntimeException ) -{ - return m_lContinuations; -} -*/ - class InteractionRequest_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star::task::XInteractionRequest > { uno::Any m_aRequest; diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx index 64da175b3379..efec7e58177c 100644 --- a/i18npool/inc/transliterationImpl.hxx +++ b/i18npool/inc/transliterationImpl.hxx @@ -89,15 +89,6 @@ public: throw(com::sun::star::i18n::MultipleCharsOutputException, com::sun::star::uno::RuntimeException) ; -/* - virtual void SAL_CALL createCascadeInstance( const com::sun::star::uno::Sequence< rtl::OUString >& modNamelist, - const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException) ; - virtual rtl::OUString SAL_CALL folding_reverse( const rtl::OUString& inStr, sal_Int32 startPos, - sal_Int32 nCount ) throw(com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL transliterateMatch( const rtl::OUString& content, sal_Int32 pos1, sal_Int32 nCount1, - const rtl::OUString& pattern, sal_Int32 pos2, sal_Int32 nCount2 ) - throw(com::sun::star::uno::RuntimeException); -*/ virtual sal_Bool SAL_CALL equals( const rtl::OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, const rtl::OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 ) throw(com::sun::star::uno::RuntimeException); diff --git a/lotuswordpro/source/filter/lwpdocdata.cxx b/lotuswordpro/source/filter/lwpdocdata.cxx index 2f2526c527ce..a54a2ff2d7ac 100644 --- a/lotuswordpro/source/filter/lwpdocdata.cxx +++ b/lotuswordpro/source/filter/lwpdocdata.cxx @@ -60,8 +60,6 @@ #include "lwpfilehdr.hxx" #include "lwpglobalmgr.hxx" -//std::map<sal_uInt16,LwpEditorAttr*> LwpDocData::m_EditorAttrMap; - LwpDocData::LwpDocData(LwpObjectHeader &objHdr, LwpSvStream* pStrm) :LwpObject(objHdr, pStrm)//m_pEditorAttrList(0) {} @@ -340,42 +338,5 @@ void LwpDocData::Parse(IXFStream *pOutputStream) xfMeta.SetEditTime(TimeToOUString(m_nTotalEditTime)); xfMeta.ToXml(pOutputStream); } -/* -OUString LwpDocData::GetEditorName(sal_uInt8 nID) -{ - std::map<sal_uInt16,LwpEditorAttr*>::iterator iter; - iter = m_EditorAttrMap.find(nID); - if (iter != m_EditorAttrMap.end()) - return iter->second->cName.str(); - return A2OUSTR(""); -} - -XFColor LwpDocData::GetHighLightColor(sal_uInt8 nID) -{ - std::map<sal_uInt16,LwpEditorAttr*>::iterator iter; - - iter = m_EditorAttrMap.find(nID); - if (iter != m_EditorAttrMap.end()) - { - LwpColor aLwpColor = iter->second->cHiLiteColor; - XFColor aColor(aLwpColor.GetRed(),aLwpColor.GetGreen(),aLwpColor.GetBlue()); - return aColor; - } - else - { - XFColor aColor(255,255,0);//yellow - return aColor; - } -} -void LwpDocData::Reset() -{ - std::map<sal_uInt16,LwpEditorAttr*>::iterator iter; - for (iter =m_EditorAttrMap.begin();iter != m_EditorAttrMap.end(); iter++) - { - delete iter->second; - iter->second = NULL; - } - m_EditorAttrMap.clear(); -}*/ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx index 8971860926c2..56320836b00a 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.cxx +++ b/lotuswordpro/source/filter/lwpgrfobj.cxx @@ -115,12 +115,6 @@ void LwpGraphicObject::Read() m_pObjStrm->QuickRead(m_sDataFormat,strsize); m_sDataFormat[strsize] = '\0'; } -/* - if (m_sDataFormat!=(unsigned char*)(".lch")) - { - return; - } -*/ sal_uInt32 nServerContextSize = m_pObjStrm->QuickReaduInt32(); unsigned char *pServerContext = NULL; if (nServerContextSize > 0) diff --git a/lotuswordpro/source/filter/lwpoleobject.hxx b/lotuswordpro/source/filter/lwpoleobject.hxx index 8a058bf6dfa3..a433bdfc1bbd 100644 --- a/lotuswordpro/source/filter/lwpoleobject.hxx +++ b/lotuswordpro/source/filter/lwpoleobject.hxx @@ -69,12 +69,6 @@ #include "lwpobjid.hxx" #include "lwpstory.hxx" #include "tools/gen.hxx" -/* -#include <so3/svstor.hxx> -#include <so3/outplace.hxx> -#include <so3/ipobj.hxx> -#include <so3/factory.hxx> -*/ #include <svx/svdoole2.hxx> #include <svx/svdpage.hxx> #include <sfx2/objsh.hxx> diff --git a/lotuswordpro/source/filter/lwpsdwfileloader.cxx b/lotuswordpro/source/filter/lwpsdwfileloader.cxx index 35465a78d899..a1987622325e 100644 --- a/lotuswordpro/source/filter/lwpsdwfileloader.cxx +++ b/lotuswordpro/source/filter/lwpsdwfileloader.cxx @@ -75,52 +75,6 @@ LwpSdwFileLoader::LwpSdwFileLoader(SvStream* pStream, LwpGraphicObject* pGraphic LwpSdwFileLoader::~LwpSdwFileLoader(void) { } -/* -void LwpSdwFileLoader::LoadObjectList(void) -{ - unsigned char BinSignature[2]; - m_pStream->Read(BinSignature,2); - - if (BinSignature[0] == 'S' && BinSignature[1] == 'M') - { - unsigned short nVersion; - m_pStream->Read(&nVersion,2); - - m_pStream->Seek(0); - if (nVersion<0x0102) - { - assert(false); - } - if (nVersion>=0x0102) - { - LwpSdwGroupLoaderV0102 sdwGroupLoader(m_pStream, m_pGraphicObj, m_pOutputStream); - sdwGroupLoader.LoadDrawGroupObject(); - } - } -} -void LwpSdwFileLoader::RegisterStyle() -{ - unsigned char BinSignature[2]; - m_pStream->Read(BinSignature,2); - - if (BinSignature[0] == 'S' && BinSignature[1] == 'M') - { - unsigned short nVersion; - m_pStream->Read(&nVersion,2); - - m_pStream->Seek(0); - if (nVersion<0x0102) - { - assert(false); - } - if (nVersion>=0x0102) - { - LwpSdwGroupLoaderV0102 sdwGroupLoader(m_pStream, m_pGraphicObj, m_pOutputStream); - sdwGroupLoader.RegisterGroupStyle(); - } - } -} -*/ // add by ,03/25/2005 /** * @descr entry of lwp-drawing objects. diff --git a/lotuswordpro/source/filter/utbenvs.cxx b/lotuswordpro/source/filter/utbenvs.cxx index 6fdb838f2bdb..4bbc6b848656 100644 --- a/lotuswordpro/source/filter/utbenvs.cxx +++ b/lotuswordpro/source/filter/utbenvs.cxx @@ -57,20 +57,6 @@ #include <assert.h> namespace OpenStormBento { -/* - * useless in SODC -void LtcUtBenValueStream::GetAmountLeft(sal_uLong * pAmtLeft) -{ - if (cCurrentPosition >= m_ulValueLength) - { - *pAmtLeft = 0; - } - else - { - *pAmtLeft = m_ulValueLength - cCurrentPosition; - } -} -*/ /** * Value stream read function * @date 07/05/2004 diff --git a/lotuswordpro/source/filter/xfilter/xfannotation.hxx b/lotuswordpro/source/filter/xfilter/xfannotation.hxx index a32c1b16111c..254263d022fe 100644 --- a/lotuswordpro/source/filter/xfilter/xfannotation.hxx +++ b/lotuswordpro/source/filter/xfilter/xfannotation.hxx @@ -71,14 +71,11 @@ public: void SetAuthor(rtl::OUString author); - //void Add(IXFContent *pContent); - virtual void ToXml(IXFStream *pStrm); private: rtl::OUString m_strDate; rtl::OUString m_strAuthor; - //XFContentContainer m_aContents; }; inline void XFAnnotation::SetDate(rtl::OUString date) @@ -90,12 +87,7 @@ inline void XFAnnotation::SetAuthor(rtl::OUString author) { m_strAuthor = author; } -/* -inline void XFAnnotation::Add(IXFContent *pContent) -{ - m_aContents.Add(pContent); -} -*/ + inline void XFAnnotation::ToXml(IXFStream *pStrm) { IXFAttrList *pAttrList = pStrm->GetAttrList(); @@ -107,7 +99,6 @@ inline void XFAnnotation::ToXml(IXFStream *pStrm) pAttrList->AddAttribute( A2OUSTR("office:author"), m_strAuthor); pStrm->StartElement( A2OUSTR("office:annotation") ); - //m_aContents.ToXml(pStrm); XFContentContainer::ToXml(pStrm); pStrm->EndElement( A2OUSTR("office:annotation") ); diff --git a/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx b/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx index 864449096a4e..d80e6df00cd8 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx @@ -129,23 +129,7 @@ inline void XFDrawObject::SetTextStyleName(rtl::OUString style) { m_strTextStyle = style; } -/* -inline void XFDrawObject::SetPosition(double x, double y, double width, double height) -{ - SetX(x); - SetY(y); - SetWidth(width); - SetHeight(height); -} -inline void XFDrawObject::SetPosition(XFRect rect) -{ - SetX(rect.GetX()); - SetY(rect.GetY()); - SetWidth(rect.GetWidth()); - SetHeight(rect.GetHeight()); -} -*/ inline void XFDrawObject::SetRotate(double degree, XFPoint aRotatePoint) { m_nFlag |= XFDRAWOBJECT_FLAG_ROTATE; diff --git a/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx b/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx index 7355d2da1628..a714a1c7e28c 100644 --- a/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xffooterstyle.hxx @@ -79,44 +79,6 @@ public: if( top != -1 ) m_aMargin.SetTop(top); } -/* - void SetHeight(float height) - { - m_fHeight = height; - } - - void SetDynamicSpace(sal_Bool dynamic) - { - m_bDynamicSpace = dynamic; - } - virtual void ToXml(IXFStream *pStrm) - { - IXFAttrList *pAttrList = pStrm->GetAttrList(); - pAttrList->Clear(); - - pStrm->StartElement( A2OUSTR("style:footer-style") ); - - if(m_fHeight!=-1) - { - pAttrList->AddAttribute( A2OUSTR("svg:height"), FloatToOUString(m_fHeight) + A2OUSTR("cm") ); - } - - m_aMargin.ToXml(pStrm); - if( m_bDynamicSpace ) - pAttrList->AddAttribute( A2OUSTR("style:dynamic-spacing"), A2OUSTR("true") ); - else - pAttrList->AddAttribute( A2OUSTR("style:dynamic-spacing"), A2OUSTR("false") ); - pStrm->StartElement( A2OUSTR("style:properties") ); - pStrm->EndElement( A2OUSTR("style:properties") ); - - pStrm->EndElement( A2OUSTR("style:footer-style") ); - } - -private: - XFMargins m_aMargin; - sal_Bool m_bDynamicSpace; - float m_fHeight; - */ }; #endif diff --git a/lotuswordpro/source/filter/xfilter/xfsection.cxx b/lotuswordpro/source/filter/xfilter/xfsection.cxx index 3f422a10dee1..eeff45ad3407 100644 --- a/lotuswordpro/source/filter/xfilter/xfsection.cxx +++ b/lotuswordpro/source/filter/xfilter/xfsection.cxx @@ -103,31 +103,4 @@ void XFSection::ToXml(IXFStream *pStrm) pStrm->EndElement( A2OUSTR("text:section") ); } -/* -void XFSection::ToXmlHeader(IXFStream *pStrm) -{ - assert(m_strSectionName.getLength() > 0 ); - - IXFAttrList *pAttrList = pStrm->GetAttrList(); - - pAttrList->Clear(); - rtl::OUString style = GetStyleName(); - if( style.getLength() ) - pAttrList->AddAttribute( A2OUSTR("text:style-name"), style); - //section name - if( m_strSectionName.getLength() ) - pAttrList->AddAttribute( A2OUSTR("text:name"), m_strSectionName); - if( m_bProtected ) - pAttrList->AddAttribute( A2OUSTR("text:protected"), A2OUSTR("true") ); - if( m_bHiden ) - pAttrList->AddAttribute( A2OUSTR("text:display"), A2OUSTR("none") ); - - pStrm->StartElement( A2OUSTR("text:section") ); -} - -void XFSection::ToXmlTail(IXFStream *pStrm) -{ - pStrm->EndElement( A2OUSTR("text:section") ); -} -*/ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/source/filter/xfilter/xfsection.hxx b/lotuswordpro/source/filter/xfilter/xfsection.hxx index fb3acb46c076..a6e1a04c6672 100644 --- a/lotuswordpro/source/filter/xfilter/xfsection.hxx +++ b/lotuswordpro/source/filter/xfilter/xfsection.hxx @@ -82,12 +82,7 @@ public: * @descr Output section obejct. */ virtual void ToXml(IXFStream *pStrm); -/* -private: - void ToXmlHeader(IXFStream *pStrm); - void ToXmlTail(IXFStream *pStrm); -*/ private: rtl::OUString m_strSectionName; sal_Bool m_bProtected; diff --git a/lotuswordpro/source/filter/xfilter/xftable.cxx b/lotuswordpro/source/filter/xfilter/xftable.cxx index c3fc14cbeab3..54915ea41d98 100644 --- a/lotuswordpro/source/filter/xfilter/xftable.cxx +++ b/lotuswordpro/source/filter/xfilter/xftable.cxx @@ -178,12 +178,6 @@ sal_Int32 XFTable::GetRowCount() } return rowMax; -/* - if( m_aRows.size()<1 ) - return 0; - std::map<sal_Int32,XFRow*>::iterator it = m_aRows.end(); - it--; - return it->first;*/ } XFRow* XFTable::GetRow(sal_Int32 row) diff --git a/package/source/zipapi/XUnbufferedStream.cxx b/package/source/zipapi/XUnbufferedStream.cxx index 3acc4dd3112a..faa3e0f943c8 100644 --- a/package/source/zipapi/XUnbufferedStream.cxx +++ b/package/source/zipapi/XUnbufferedStream.cxx @@ -357,21 +357,5 @@ void SAL_CALL XUnbufferedStream::closeInput( ) throw( NotConnectedException, IOException, RuntimeException) { } -/* -void SAL_CALL XUnbufferedStream::seek( sal_Int64 location ) - throw( IllegalArgumentException, IOException, RuntimeException) -{ -} -sal_Int64 SAL_CALL XUnbufferedStream::getPosition( ) - throw(IOException, RuntimeException) -{ - return mnMyCurrent; -} -sal_Int64 SAL_CALL XUnbufferedStream::getLength( ) - throw(IOException, RuntimeException) -{ - return mnZipSize; -} -*/ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/rsc/source/res/rscarray.cxx b/rsc/source/res/rscarray.cxx index 98ca40c3607e..6d5401ebf2bd 100644 --- a/rsc/source/res/rscarray.cxx +++ b/rsc/source/res/rscarray.cxx @@ -233,18 +233,6 @@ ERRTYPE RscArray::GetValueEle else pNode = NULL; -/* - if( pNode ) - { - if( pNode->aInst.pClass->IsDefault( pNode->aInst ) ) - { - GetSuperClass()->Destroy( pNode->aInst ); - GetSuperClass()->Create( &pNode->aInst, rInst ); - pNode->aInst.pClass->SetToDefault( pNode->aInst ); - } - } - else -*/ if( !pNode ) { pNode = new RscInstNode( sal_uInt32(lValue) ); diff --git a/sal/inc/rtl/locale.hxx b/sal/inc/rtl/locale.hxx index 97f7c290a8f8..0be75a43d261 100644 --- a/sal/inc/rtl/locale.hxx +++ b/sal/inc/rtl/locale.hxx @@ -248,15 +248,6 @@ private: OLocale() : pData(rtl_locale_getDefault()) {} -/* - OLocale( const OLocale & obj) - : pData(obj.pData) {} - - OLocale & operator = ( const OLocale & obj) - { pData = obj.pData; - return *this; - } -*/ }; } diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index f072f87ec922..dd9b0486e59f 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -586,10 +586,6 @@ void ScDocument::ResetClip( ScDocument* pSourceDoc, SCTAB nTab ) void ScDocument::DeleteNumberFormat( const sal_uInt32* /* pDelKeys */, sal_uInt32 /* nCount */ ) { -/* - for (sal_uLong i = 0; i < nCount; i++) - xPoolHelper->GetFormTable()->DeleteEntry(pDelKeys[i]); -*/ } void ScDocument::PutCell( SCCOL nCol, SCROW nRow, SCTAB nTab, |