This patch removes bogus comments found in the dochdl directory
including empty Beschreibung (translation: description) statements
Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
sw/source/ui/dochdl/gloshdl.cxx | 62 ++---------------------
sw/source/ui/dochdl/selglos.cxx | 2 -
sw/source/ui/dochdl/swdtflvr.cxx | 106 --------------------------------------
3 files changed, 4 insertions(+), 166 deletions(-)
diff --git a/sw/source/ui/dochdl/gloshdl.cxx b/sw/source/ui/dochdl/gloshdl.cxx
index acfe918..ed38bf8 100644
--- a/sw/source/ui/dochdl/gloshdl.cxx
+++ b/sw/source/ui/dochdl/gloshdl.cxx
@@ -89,11 +89,10 @@ typedef TextBlockInfo_Impl* TextBlockInfo_ImplPtr;
SV_DECL_PTRARR_DEL( TextBlockInfoArr, TextBlockInfo_ImplPtr, 0, 4 )
SV_IMPL_PTRARR( TextBlockInfoArr, TextBlockInfo_ImplPtr )
SV_IMPL_REF( SwDocShell )
+
/*------------------------------------------------------------------------
Beschreibung: Dialog fuer Bearbeiten Vorlagen
------------------------------------------------------------------------*/
-
-
void SwGlossaryHdl::GlossaryDlg()
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
@@ -125,8 +124,6 @@ void SwGlossaryHdl::GlossaryDlg()
gerufen, wird die Gruppe temp. erzeugt fuer einen
schnelleren Zugriff
------------------------------------------------------------------------*/
-
-
void SwGlossaryHdl::SetCurGroup(const String &rGrp, BOOL bApi, BOOL bAlwaysCreateNew )
{
String sGroup(rGrp);
@@ -180,21 +177,11 @@ void SwGlossaryHdl::SetCurGroup(const String &rGrp, BOOL bApi, BOOL
bAlwaysCreat
}
}
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
-
USHORT SwGlossaryHdl::GetGroupCnt() const
{
return rStatGlossaries.GetGroupCnt();
}
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
-
String SwGlossaryHdl::GetGroupName( USHORT nId, String* pTitle )
{
String sRet = rStatGlossaries.GetGroupName(nId);
@@ -216,10 +203,6 @@ String SwGlossaryHdl::GetGroupName( USHORT nId, String* pTitle )
}
return sRet;
}
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
BOOL SwGlossaryHdl::NewGroup(String &rGrpName, const String& rTitle)
{
@@ -227,6 +210,7 @@ BOOL SwGlossaryHdl::NewGroup(String &rGrpName, const String& rTitle)
FindGroupName(rGrpName);
return rStatGlossaries.NewGroupDoc(rGrpName, rTitle);
}
+
/* -----------------23.11.98 13:10-------------------
* Umbenennen eines Textbausteins
* --------------------------------------------------*/
@@ -259,9 +243,7 @@ BOOL SwGlossaryHdl::RenameGroup(const String & rOld, String& rNew, const String&
}
return bRet;
}
-/* -----------------27.11.98 13:49-------------------
- *
- * --------------------------------------------------*/
+
BOOL SwGlossaryHdl::CopyOrMove( const String& rSourceGroupName, String& rSourceShortName,
const String& rDestGroupName, const String& rLongName, BOOL bMove )
{
@@ -292,8 +274,6 @@ BOOL SwGlossaryHdl::CopyOrMove( const String& rSourceGroupName, String& rSource
/*------------------------------------------------------------------------
Beschreibung: Loeschen einer Textbausteindatei-Gruppe
------------------------------------------------------------------------*/
-
-
BOOL SwGlossaryHdl::DelGroup(const String &rGrpName)
{
String sGroup(rGrpName);
@@ -315,38 +295,26 @@ BOOL SwGlossaryHdl::DelGroup(const String &rGrpName)
/*------------------------------------------------------------------------
Beschreibung: Anzahl Textbausteine erfragen
------------------------------------------------------------------------*/
-
-
USHORT SwGlossaryHdl::GetGlossaryCnt()
{
return pCurGrp ? pCurGrp->GetCount() : 0;
}
-/*------------------------------------------------------------------------
- Beschreibung:
-------------------------------------------------------------------------*/
-
-
String SwGlossaryHdl::GetGlossaryName( USHORT nId )
{
ASSERT(nId < GetGlossaryCnt(), Textbausteinarray ueberindiziert.);
return pCurGrp->GetLongName( nId );
}
-/* -----------------30.11.98 13:18-------------------
- *
- * --------------------------------------------------*/
+
String SwGlossaryHdl::GetGlossaryShortName(USHORT nId)
{
ASSERT(nId < GetGlossaryCnt(), Textbausteinarray ueberindiziert.);
return pCurGrp->GetShortName( nId );
}
-
/*------------------------------------------------------------------------
Beschreibung: Kurzname erfragen
------------------------------------------------------------------------*/
-
-
String SwGlossaryHdl::GetGlossaryShortName(const String &rName)
{
String sReturn;
@@ -366,8 +334,6 @@ String SwGlossaryHdl::GetGlossaryShortName(const String &rName)
/*------------------------------------------------------------------------
Beschreibung: Kuerzel fuer Textbaustein bereits verwendet?
------------------------------------------------------------------------*/
-
-
BOOL SwGlossaryHdl::HasShortName(const String& rShortName) const
{
SwTextBlocks *pBlock = pCurGrp ? pCurGrp
@@ -378,9 +344,6 @@ BOOL SwGlossaryHdl::HasShortName(const String& rShortName) const
return bRet;
}
-/* -----------------------------20.03.01 10:52--------------------------------
-
- ---------------------------------------------------------------------------*/
BOOL SwGlossaryHdl::ConvertToNew(SwTextBlocks& /*rOld*/)
{
/*if( rOld.IsOld() )
@@ -403,7 +366,6 @@ BOOL SwGlossaryHdl::ConvertToNew(SwTextBlocks& /*rOld*/)
/*------------------------------------------------------------------------
Beschreibung: Erzeugen eines Textbausteines
------------------------------------------------------------------------*/
-
BOOL SwGlossaryHdl::NewGlossary(const String& rName, const String& rShortName,
BOOL bCreateGroup, BOOL bNoAttr)
{
@@ -439,8 +401,6 @@ BOOL SwGlossaryHdl::NewGlossary(const String& rName, const String& rShortName,
/*------------------------------------------------------------------------
Beschreibung: Loeschen eines Textbausteines
------------------------------------------------------------------------*/
-
-
BOOL SwGlossaryHdl::DelGlossary(const String &rShortName)
{
SwTextBlocks *pGlossary = pCurGrp ? pCurGrp
@@ -460,8 +420,6 @@ BOOL SwGlossaryHdl::DelGlossary(const String &rShortName)
/*------------------------------------------------------------------------
Beschreibung: Kurzform expandieren
------------------------------------------------------------------------*/
-
-
BOOL SwGlossaryHdl::ExpandGlossary()
{
ASSERT(pWrtShell->CanInsert(), illegal);
@@ -642,8 +600,6 @@ BOOL SwGlossaryHdl::Expand( const String& rShortName,
/*------------------------------------------------------------------------
Beschreibung: Textbaustein einfuegen
------------------------------------------------------------------------*/
-
-
BOOL SwGlossaryHdl::InsertGlossary(const String &rName)
{
ASSERT(pWrtShell->CanInsert(), illegal);
@@ -690,8 +646,6 @@ BOOL SwGlossaryHdl::InsertGlossary(const String &rName)
/*------------------------------------------------------------------------
Beschreibung: Macro setzen / erfragen
------------------------------------------------------------------------*/
-
-
void SwGlossaryHdl::SetMacros(const String& rShortName,
const SvxMacro* pStart,
const SvxMacro* pEnd,
@@ -745,8 +699,6 @@ void SwGlossaryHdl::GetMacros( const String &rShortName,
/*------------------------------------------------------------------------
Beschreibung: ctor, dtor
------------------------------------------------------------------------*/
-
-
SwGlossaryHdl::SwGlossaryHdl(SfxViewFrame* pVwFrm, SwWrtShell *pSh)
: rStatGlossaries( *::GetGlossaries() ),
aCurGrp( rStatGlossaries.GetDefName() ),
@@ -756,7 +708,6 @@ SwGlossaryHdl::SwGlossaryHdl(SfxViewFrame* pVwFrm, SwWrtShell *pSh)
{
}
-
SwGlossaryHdl::~SwGlossaryHdl()
{
if( pCurGrp )
@@ -766,8 +717,6 @@ SwGlossaryHdl::~SwGlossaryHdl()
/*------------------------------------------------------------------------
Beschreibung: Umbenennen eines Textbausteines
------------------------------------------------------------------------*/
-
-
BOOL SwGlossaryHdl::Rename(const String& rOldShort, const String& rNewShortName,
const String& rNewName )
{
@@ -835,9 +784,6 @@ BOOL SwGlossaryHdl::FindGroupName(String & rGroup)
return rStatGlossaries.FindGroupName(rGroup);
}
-/* -----------------29.07.99 08:34-------------------
-
- --------------------------------------------------*/
BOOL SwGlossaryHdl::CopyToClipboard(SwWrtShell& rSh, const String& rShortName)
{
SwTextBlocks *pGlossary = pCurGrp ? pCurGrp
diff --git a/sw/source/ui/dochdl/selglos.cxx b/sw/source/ui/dochdl/selglos.cxx
index 1c05981..513072b 100644
--- a/sw/source/ui/dochdl/selglos.cxx
+++ b/sw/source/ui/dochdl/selglos.cxx
@@ -67,9 +67,7 @@ SwSelGlossaryDlg::SwSelGlossaryDlg(Window * pParent, const String &rShortName)
dtor ueberladen
--------------------------------------------------*/
SwSelGlossaryDlg::~SwSelGlossaryDlg() {}
-/* -----------------25.10.99 08:33-------------------
- --------------------------------------------------*/
IMPL_LINK(SwSelGlossaryDlg, DoubleClickHdl, ListBox*, /*pBox*/)
{
EndDialog(RET_OK);
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index 211e5d0..7191aff 100644
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -233,9 +233,6 @@ public:
}
};
-
-// -----------------------------------------------------------------------
-
SwTransferable::SwTransferable( SwWrtShell& rSh )
: pWrtShell( &rSh ),
pCreatorView( 0 ),
@@ -266,8 +263,6 @@ SwTransferable::SwTransferable( SwWrtShell& rSh )
}
}
-// -----------------------------------------------------------------------
-
SwTransferable::~SwTransferable()
{
Application::GetSolarMutex().acquire();
@@ -318,8 +313,6 @@ SwTransferable::~SwTransferable()
Application::GetSolarMutex().release();
}
-// -----------------------------------------------------------------------
-
static SwDoc * lcl_GetDoc(SwDocFac & rDocFac)
{
SwDoc *const pDoc = rDocFac.GetDoc();
@@ -331,8 +324,6 @@ static SwDoc * lcl_GetDoc(SwDocFac & rDocFac)
return pDoc;
}
-// -----------------------------------------------------------------------
-
void SwTransferable::ObjectReleased()
{
SwModule *pMod = SW_MOD();
@@ -342,8 +333,6 @@ void SwTransferable::ObjectReleased()
pMod->pXSelection = 0;
}
-// -----------------------------------------------------------------------
-
void SwTransferable::AddSupportedFormats()
{
// only need if we are the current XSelection Object
@@ -354,8 +343,6 @@ void SwTransferable::AddSupportedFormats()
}
}
-// -----------------------------------------------------------------------
-
void SwTransferable::InitOle( SfxObjectShell* pDoc, SwDoc& rDoc )
{
//OleVisArea einstellen. Linke obere Ecke der Seite und Groesse
@@ -366,8 +353,6 @@ void SwTransferable::InitOle( SfxObjectShell* pDoc, SwDoc& rDoc )
rDoc.set(IDocumentSettingAccess::BROWSE_MODE, true );
}
-// -----------------------------------------------------------------------
-
uno::Reference < embed::XEmbeddedObject > SwTransferable::FindOLEObj( sal_Int64& nAspect ) const
{
uno::Reference < embed::XEmbeddedObject > xObj;
@@ -387,8 +372,6 @@ uno::Reference < embed::XEmbeddedObject > SwTransferable::FindOLEObj( sal_Int64&
return xObj;
}
-// -----------------------------------------------------------------------
-
Graphic* SwTransferable::FindOLEReplacementGraphic() const
{
if( pClpDocFac )
@@ -406,17 +389,12 @@ Graphic* SwTransferable::FindOLEReplacementGraphic() const
return NULL;
}
-
-// -----------------------------------------------------------------------
-
void SwTransferable::RemoveDDELinkFormat( const Window& rWin )
{
RemoveFormat( SOT_FORMATSTR_ID_LINK );
CopyToClipboard( (Window*)&rWin );
}
-// -----------------------------------------------------------------------
-
sal_Bool SwTransferable::GetData( const DATA_FLAVOR& rFlavor )
{
sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor );
@@ -621,8 +599,6 @@ sal_Bool SwTransferable::GetData( const DATA_FLAVOR& rFlavor )
return bOK;
}
-// -----------------------------------------------------------------------
-
sal_Bool SwTransferable::WriteObject( SotStorageStreamRef& xStream,
void* pObject, sal_uInt32 nObjectType,
const DATA_FLAVOR& /*rFlavor*/ )
@@ -769,8 +745,6 @@ sal_Bool SwTransferable::WriteObject( SotStorageStreamRef& xStream,
return bRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::Cut()
{
int nRet = Copy( TRUE );
@@ -779,8 +753,6 @@ int SwTransferable::Cut()
return nRet;
}
-// -----------------------------------------------------------------------
-
void SwTransferable::DeleteSelection()
{
if(!pWrtShell)
@@ -794,8 +766,6 @@ void SwTransferable::DeleteSelection()
pWrtShell->EndUndo( UNDO_DELETE );
}
-// -----------------------------------------------------------------------
-
int SwTransferable::PrepareForCopy( BOOL bIsCut )
{
int nRet = 1;
@@ -1014,8 +984,6 @@ int SwTransferable::Copy( BOOL bIsCut )
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::CalculateAndCopy()
{
if(!pWrtShell)
@@ -1035,8 +1003,6 @@ int SwTransferable::CalculateAndCopy()
return 1;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::CopyGlossary( SwTextBlocks& rGlossary,
const String& rStr )
{
@@ -1089,7 +1055,6 @@ static inline uno::Reference < XTransferable > * lcl_getTransferPointer (
uno::R
{
return &xRef;
}
-// -----------------------------------------------------------------------
BOOL SwTransferable::IsPaste( const SwWrtShell& rSh,
const TransferableDataHelper& rData )
@@ -1132,8 +1097,6 @@ BOOL SwTransferable::IsPaste( const SwWrtShell& rSh,
return bIsPaste;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::Paste( SwWrtShell& rSh, TransferableDataHelper& rData )
{
USHORT nEventAction, nAction=0,
@@ -1178,8 +1141,6 @@ int SwTransferable::Paste( SwWrtShell& rSh, TransferableDataHelper& rData )
nDestination, FALSE, FALSE );
}
-// -----------------------------------------------------------------------
-
int SwTransferable::PasteData( TransferableDataHelper& rData,
SwWrtShell& rSh, USHORT nAction, ULONG nFormat,
USHORT nDestination, BOOL bIsPasteFmt,
@@ -1543,8 +1504,6 @@ ASSERT( pPt, "EXCHG_OUT_ACTION_MOVE_PRIVATE: was soll hier passieren?" );
return nRet;
}
-// -----------------------------------------------------------------------
-
USHORT SwTransferable::GetSotDestination( const SwWrtShell& rSh,
const Point* pPt )
{
@@ -1628,8 +1587,6 @@ JP 13.07.98: Bug 52637: es wird ein URL-Feld erkannt also werden nur die
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteFileContent( TransferableDataHelper& rData,
SwWrtShell& rSh, ULONG nFmt, BOOL bMsg )
{
@@ -1725,8 +1682,6 @@ int SwTransferable::_PasteFileContent( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteOLE( TransferableDataHelper& rData, SwWrtShell& rSh,
ULONG nFmt, BYTE nActionFlags, BOOL bMsg )
{
@@ -1948,11 +1903,6 @@ int SwTransferable::_PasteOLE( TransferableDataHelper& rData, SwWrtShell&
rSh,
return nRet;
}
-// -----------------------------------------------------------------------
-
-
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteTargetURL( TransferableDataHelper& rData,
SwWrtShell& rSh, USHORT nAction,
const Point* pPt, BOOL bInsertGRF )
@@ -2032,9 +1982,6 @@ int SwTransferable::_PasteTargetURL( TransferableDataHelper& rData,
return nRet;
}
-
-// -----------------------------------------------------------------------
-
void SwTransferable::SetSelInShell( SwWrtShell& rSh, BOOL bSelectFrm,
const Point* pPt )
{
@@ -2070,8 +2017,6 @@ void SwTransferable::SetSelInShell( SwWrtShell& rSh, BOOL bSelectFrm,
}
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteDDE( TransferableDataHelper& rData,
SwWrtShell& rWrtShell, BOOL bReReadGrf,
BOOL bMsg )
@@ -2236,8 +2181,6 @@ int SwTransferable::_PasteDDE( TransferableDataHelper& rData,
return 1;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteSdrFormat( TransferableDataHelper& rData,
SwWrtShell& rSh, USHORT nAction,
const Point* pPt, BYTE nActionFlags )
@@ -2257,8 +2200,6 @@ int SwTransferable::_PasteSdrFormat( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteGrf( TransferableDataHelper& rData, SwWrtShell& rSh,
ULONG nFmt, USHORT nAction, const Point* pPt,
BYTE nActionFlags, BOOL /*bMsg*/ )
@@ -2425,8 +2366,6 @@ int SwTransferable::_PasteGrf( TransferableDataHelper& rData, SwWrtShell& rSh,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteImageMap( TransferableDataHelper& rData,
SwWrtShell& rSh )
{
@@ -2452,8 +2391,6 @@ int SwTransferable::_PasteImageMap( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteAsHyperlink( TransferableDataHelper& rData,
SwWrtShell& rSh, ULONG nFmt )
{
@@ -2498,8 +2435,6 @@ int SwTransferable::_PasteAsHyperlink( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteFileName( TransferableDataHelper& rData,
SwWrtShell& rSh, ULONG nFmt,
USHORT nAction, const Point* pPt,
@@ -2599,8 +2534,6 @@ int SwTransferable::_PasteFileName( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteDBData( TransferableDataHelper& rData,
SwWrtShell& rSh, ULONG nFmt, BOOL bLink,
const Point* pDragPt, BOOL bMsg )
@@ -2703,8 +2636,6 @@ int SwTransferable::_PasteDBData( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_PasteFileList( TransferableDataHelper& rData,
SwWrtShell& rSh, BOOL bLink,
const Point* pPt, BOOL bMsg )
@@ -2744,8 +2675,6 @@ int SwTransferable::_PasteFileList( TransferableDataHelper& rData,
return nRet;
}
-// -----------------------------------------------------------------------
-
BOOL SwTransferable::_CheckForURLOrLNKFile( TransferableDataHelper& rData,
String& rFileName, String* pTitle )
{
@@ -2773,8 +2702,6 @@ ASSERT( !&rFileName, "how do we read today .URL - Files?" );
return bIsURLFile;
}
-// -----------------------------------------------------------------------
-
BOOL SwTransferable::IsPasteSpecial( const SwWrtShell& rWrtShell,
const TransferableDataHelper& rData )
{
@@ -2784,8 +2711,6 @@ BOOL SwTransferable::IsPasteSpecial( const SwWrtShell& rWrtShell,
return aClipboardFmtItem.Count() > 0;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::PasteFormat( SwWrtShell& rSh,
TransferableDataHelper& rData,
ULONG nFormat )
@@ -2828,8 +2753,6 @@ int SwTransferable::PasteFormat( SwWrtShell& rSh,
return nRet;
}
-// -----------------------------------------------------------------------
-
int SwTransferable::_TestAllowedFormat( const TransferableDataHelper& rData,
ULONG nFormat, USHORT nDestination )
{
@@ -2846,8 +2769,6 @@ int SwTransferable::_TestAllowedFormat( const TransferableDataHelper& rData,
return EXCHG_INOUT_ACTION_NONE != nAction;
}
-// -----------------------------------------------------------------------
-
/**
* the list of formats which will be offered to the user in the 'Paste
* Special...' dialog and the paste button menu
@@ -2870,15 +2791,12 @@ static USHORT aPasteSpecialIds[] =
0
};
-
int SwTransferable::PasteUnformatted( SwWrtShell& rSh, TransferableDataHelper& rData )
{
// Plain text == unformatted
return SwTransferable::PasteFormat( rSh, rData, SOT_FORMAT_STRING );
}
-// -----------------------------------------------------------------------
-
int SwTransferable::PasteSpecial( SwWrtShell& rSh, TransferableDataHelper& rData, ULONG&
rFormatUsed )
{
int nRet = 0;
@@ -2950,7 +2868,6 @@ int SwTransferable::PasteSpecial( SwWrtShell& rSh, TransferableDataHelper&
rData
return nRet;
}
-
void SwTransferable::FillClipFmtItem( const SwWrtShell& rSh,
const TransferableDataHelper& rData,
SvxClipboardFmtItem & rToFill )
@@ -3217,9 +3134,6 @@ void SwTransferable::DragFinished( sal_Int8 nAction )
((SwViewOption *)pWrtShell->GetViewOptions())->SetIdle( bOldIdle );
}
-
-/* */
-
int SwTransferable::PrivatePaste( SwWrtShell& rShell )
{
// erst den SelectionType erfragen, dann Action-Klammerung !!!!
@@ -3582,9 +3496,7 @@ void SwTransferable::ClearSelection( SwWrtShell& rSh,
TransferableHelper::ClearSelection( rSh.GetWin() );
}
}
-/* -----------------3/31/2003 11:46AM----------------
- --------------------------------------------------*/
const Sequence< sal_Int8 >& SwTransferable::getUnoTunnelId()
{
static Sequence< sal_Int8 > aSeq;
@@ -3597,9 +3509,7 @@ const Sequence< sal_Int8 >& SwTransferable::getUnoTunnelId()
}
return aSeq;
}
-/* -----------------3/31/2003 11:46AM----------------
- --------------------------------------------------*/
sal_Int64 SwTransferable::getSomething( const Sequence< sal_Int8 >& rId ) throw( RuntimeException )
{
sal_Int64 nRet;
@@ -3629,10 +3539,6 @@ SwTransferable* SwTransferable::GetSwTransferable( const
TransferableDataHelper&
}
-/* */
-
-// -----------------------------------------------------------------------
-
SwTrnsfrDdeLink::SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh )
: rTrnsfr( rTrans ), pDocShell( 0 ),
bDelBookmrk( FALSE ), bInDisconnect( FALSE )
@@ -3688,16 +3594,12 @@ SwTrnsfrDdeLink::SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh )
}
}
-// -----------------------------------------------------------------------
-
SwTrnsfrDdeLink::~SwTrnsfrDdeLink()
{
if( refObj.Is() )
Disconnect( TRUE );
}
-// -----------------------------------------------------------------------
-
void SwTrnsfrDdeLink::DataChanged( const String& ,
const uno::Any& )
{
@@ -3710,8 +3612,6 @@ void SwTrnsfrDdeLink::DataChanged( const String& ,
}
}
-// -----------------------------------------------------------------------
-
BOOL SwTrnsfrDdeLink::WriteData( SvStream& rStrm )
{
if( !refObj.Is() || !FindDocShell() )
@@ -3782,8 +3682,6 @@ BOOL SwTrnsfrDdeLink::WriteData( SvStream& rStrm )
return true;
}
-// -----------------------------------------------------------------------
-
void SwTrnsfrDdeLink::Disconnect( BOOL bRemoveDataAdvise )
{
//JP 29.01.96 Bug 24432:
@@ -3834,8 +3732,6 @@ void SwTrnsfrDdeLink::Disconnect( BOOL bRemoveDataAdvise )
bInDisconnect = bOldDisconnect;
}
-// -----------------------------------------------------------------------
-
BOOL SwTrnsfrDdeLink::FindDocShell()
{
TypeId aType( TYPE( SwDocShell ) );
@@ -3855,8 +3751,6 @@ BOOL SwTrnsfrDdeLink::FindDocShell()
return FALSE;
}
-// -----------------------------------------------------------------------
-
void SwTrnsfrDdeLink::Closed()
{
if( !bInDisconnect && refObj.Is() )
Context
- [Libreoffice] [PATCH 1/2] Cleanup: remove bogus comments from dochdl directory · Prashant Shah
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.