[Libreoffice-commits] .: fpicker/source framework/inc framework/source i18npool/inc lotuswordpro/source package/source rsc/source sal/inc sc/source
Takeshi Abe
tabe at kemper.freedesktop.org
Thu Jun 7 07:03:20 PDT 2012
fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx | 10
framework/inc/dispatch/popupmenudispatcher.hxx | 6
framework/inc/framework/interaction.hxx | 30 --
framework/source/fwe/dispatch/interaction.cxx | 114 ----------
i18npool/inc/transliterationImpl.hxx | 9
lotuswordpro/source/filter/lwpdocdata.cxx | 39 ---
lotuswordpro/source/filter/lwpgrfobj.cxx | 6
lotuswordpro/source/filter/lwpoleobject.hxx | 6
lotuswordpro/source/filter/lwpsdwfileloader.cxx | 46 ----
lotuswordpro/source/filter/utbenvs.cxx | 14 -
lotuswordpro/source/filter/xfilter/xfannotation.hxx | 11
lotuswordpro/source/filter/xfilter/xfdrawobj.hxx | 16 -
lotuswordpro/source/filter/xfilter/xffooterstyle.hxx | 38 ---
lotuswordpro/source/filter/xfilter/xfsection.cxx | 27 --
lotuswordpro/source/filter/xfilter/xfsection.hxx | 5
lotuswordpro/source/filter/xfilter/xftable.cxx | 6
package/source/zipapi/XUnbufferedStream.cxx | 16 -
rsc/source/res/rscarray.cxx | 12 -
sal/inc/rtl/locale.hxx | 9
sc/source/core/data/documen2.cxx | 4
20 files changed, 1 insertion(+), 423 deletions(-)
New commits:
commit eb0497307bf381e7e065fc4b0b0d7b23f6ceeca9
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Jun 7 23:02:48 2012 +0900
nuke dead code
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx
index 48f349a..00f8b55 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 33651c5..083d66f 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 caef8e8..70dd2cf 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 08e8253..27ae856 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 64da175..efec7e5 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 2f2526c..a54a2ff 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 8971860..5632083 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 8a058bf..a433bdf 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 35465a7..a198762 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 6fdb838..4bbc6b8 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 a32c1b1..254263d 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 8644490..d80e6df 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 7355d2d..a714a1c 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 3f422a1..eeff45a 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 fb3acb4..a6e1a04 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 c3fc14c..54915ea 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 3acc4dd..faa3e0f 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 98ca40c..6d5401e 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 97f7c29..0be75a4 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 f072f87..dd9b048 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,
More information about the Libreoffice-commits
mailing list