[Libreoffice-commits] core.git: 4 commits - sw/source
Philipp Riemer
ruderphilipp at gmail.com
Fri Aug 9 13:45:40 PDT 2013
sw/source/core/doc/SwStyleNameMapper.cxx | 19 ++++++----
sw/source/core/doc/doc.cxx | 2 -
sw/source/core/doc/docbasic.cxx | 5 --
sw/source/core/doc/docbm.cxx | 3 -
sw/source/core/doc/docchart.cxx | 4 --
sw/source/core/doc/doccomp.cxx | 2 -
sw/source/core/doc/doccorr.cxx | 6 ---
sw/source/core/doc/docdde.cxx | 9 -----
sw/source/core/doc/docdesc.cxx | 2 -
sw/source/core/doc/docdraw.cxx | 2 -
sw/source/core/doc/docedt.cxx | 7 +--
sw/source/core/doc/docfld.cxx | 1
sw/source/core/doc/docfly.cxx | 1
sw/source/core/doc/docfmt.cxx | 4 --
sw/source/core/doc/docftn.cxx | 12 +-----
sw/source/core/doc/docglos.cxx | 4 --
sw/source/core/doc/doclay.cxx | 3 -
sw/source/core/doc/docnew.cxx | 2 -
sw/source/core/doc/docnum.cxx | 8 +---
sw/source/core/doc/docredln.cxx | 9 -----
sw/source/core/doc/docruby.cxx | 2 -
sw/source/core/doc/doctxm.cxx | 2 -
sw/source/core/doc/docxforms.cxx | 4 --
sw/source/core/doc/extinput.cxx | 3 -
sw/source/core/doc/fmtcol.cxx | 12 ------
sw/source/core/doc/ftnidx.cxx | 7 ---
sw/source/core/doc/gctable.cxx | 3 -
sw/source/core/doc/htmltbl.cxx | 24 +++----------
sw/source/core/doc/lineinfo.cxx | 3 -
sw/source/core/doc/list.cxx | 1
sw/source/core/doc/notxtfrm.cxx | 10 -----
sw/source/core/doc/number.cxx | 15 --------
sw/source/core/doc/poolfmt.cxx | 19 +---------
sw/source/core/doc/sortopt.cxx | 1
sw/source/core/doc/swserv.cxx | 55 ++++++++++++-------------------
sw/source/core/doc/tblafmt.cxx | 17 ---------
sw/source/core/doc/tblrwcl.cxx | 18 ++--------
sw/source/core/doc/visiturl.cxx | 1
38 files changed, 56 insertions(+), 246 deletions(-)
New commits:
commit 7fe335602eeddcf2b75ab9c43388f2ddfdbdabd4
Author: Philipp Riemer <ruderphilipp at gmail.com>
Date: Fri Aug 9 22:43:48 2013 +0200
fixed indentation
Change-Id: I82895b9c933bc3c9a10e5fc1b1679c59d195d4c3
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 5f433d3..512121f 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -2009,8 +2009,8 @@ class SwHyphArgs : public SwInterHyphInfo
xub_StrLen nPamLen;
public:
- SwHyphArgs( const SwPaM *pPam, const Point &rPoint,
- sal_uInt16* pPageCount, sal_uInt16* pPageStart );
+ SwHyphArgs( const SwPaM *pPam, const Point &rPoint,
+ sal_uInt16* pPageCount, sal_uInt16* pPageStart );
void SetPam( SwPaM *pPam ) const;
inline void SetNode( SwNode *pNew ) { pNode = pNew; }
inline const SwNode *GetNode() const { return pNode; }
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 1d123ed..1fac06b 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -1132,12 +1132,12 @@ SwFmt* SwDoc::GetFmtFromPool( sal_uInt16 nId )
{
case POOLGRP_CHARFMT:
pNewFmt = _MakeCharFmt(aNm, pDeriveFmt, false, true);
- break;
+ break;
case POOLGRP_FRAMEFMT:
pNewFmt = _MakeFrmFmt(aNm, pDeriveFmt, false, true);
- break;
+ break;
default:
- break;
+ break;
}
}
diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx
index 7a80e39..c472ac3 100644
--- a/sw/source/core/doc/swserv.cxx
+++ b/sw/source/core/doc/swserv.cxx
@@ -229,31 +229,31 @@ sal_Bool SwServerObject::IsLinkInServer( const SwBaseLink* pChkLnk ) const
// Get LinkManager
const ::sfx2::SvBaseLinks& rLnks = pNds->GetDoc()->GetLinkManager().GetLinks();
-// To avoid recursions: convert ServerType!
-SwServerObject::ServerModes eSave = eType;
-if( !pChkLnk )
- ((SwServerObject*)this)->eType = NONE_SERVER;
- for( sal_uInt16 n = rLnks.size(); n; )
- {
- const ::sfx2::SvBaseLink* pLnk = &(*rLnks[ --n ]);
- if( pLnk && OBJECT_CLIENT_GRF != pLnk->GetObjType() &&
- pLnk->ISA( SwBaseLink ) &&
- !((SwBaseLink*)pLnk)->IsNoDataFlag() &&
- ((SwBaseLink*)pLnk)->IsInRange( nSttNd, nEndNd, nStt, nEnd ))
- {
- if( pChkLnk )
+ // To avoid recursions: convert ServerType!
+ SwServerObject::ServerModes eSave = eType;
+ if( !pChkLnk )
+ ((SwServerObject*)this)->eType = NONE_SERVER;
+ for( sal_uInt16 n = rLnks.size(); n; )
{
- if( pLnk == pChkLnk ||
- ((SwBaseLink*)pLnk)->IsRecursion( pChkLnk ) )
- return sal_True;
+ const ::sfx2::SvBaseLink* pLnk = &(*rLnks[ --n ]);
+ if( pLnk && OBJECT_CLIENT_GRF != pLnk->GetObjType() &&
+ pLnk->ISA( SwBaseLink ) &&
+ !((SwBaseLink*)pLnk)->IsNoDataFlag() &&
+ ((SwBaseLink*)pLnk)->IsInRange( nSttNd, nEndNd, nStt, nEnd ))
+ {
+ if( pChkLnk )
+ {
+ if( pLnk == pChkLnk ||
+ ((SwBaseLink*)pLnk)->IsRecursion( pChkLnk ) )
+ return sal_True;
+ }
+ else if( ((SwBaseLink*)pLnk)->IsRecursion( (SwBaseLink*)pLnk ) )
+ ((SwBaseLink*)pLnk)->SetNoDataFlag();
+ }
}
- else if( ((SwBaseLink*)pLnk)->IsRecursion( (SwBaseLink*)pLnk ) )
- ((SwBaseLink*)pLnk)->SetNoDataFlag();
- }
- }
-if( !pChkLnk )
- // *((int*)&eType) = eSave;
- ((SwServerObject*)this)->eType = eSave;
+ if( !pChkLnk )
+ // *((int*)&eType) = eSave;
+ ((SwServerObject*)this)->eType = eSave;
}
return sal_False;
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index c5b594c..be7ee31 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -192,10 +192,10 @@ void _CheckBoxWidth( const SwTableLine& rLine, SwTwips nSize );
for (SwRowFrm* pFrm=aIter.First(); pFrm; pFrm=aIter.Next())\
{ \
if ( pFrm->GetTabLine() == GetTabLines()[i] ) \
- { \
- OSL_ENSURE( pFrm->GetUpper()->IsTabFrm(), \
+ { \
+ OSL_ENSURE( pFrm->GetUpper()->IsTabFrm(), \
"Table layout does not match table structure" ); \
- } \
+ } \
} \
} \
}
commit 028875ca5e007650932af4111cc9913fe33adc94
Author: Philipp Riemer <ruderphilipp at gmail.com>
Date: Fri Aug 9 22:43:28 2013 +0200
deleted code that was commented out
Change-Id: Ifc59843bc460ccba0feeafc45ebaaca1ea4a55fe
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 89eb3a1..cdc7bda0 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -659,7 +659,6 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
case POS_OVERLAP_BEFORE:
case POS_OVERLAP_BEHIND:
if( pRedl->IsOwnRedline( *pNewRedl ) &&
-// 1 == pRedl->GetStackCount() &&
pRedl->CanCombine( *pNewRedl ))
{
// If that's the case we can merge it, meaning
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index 1a6c848..c5b594c 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -2842,10 +2842,7 @@ static bool lcl_InsOtherBox( SwTableLine* pLine, CR_SetBoxWidth& rParam,
pTmpBox = pTmpBox->GetUpper()->GetUpper();
nBoxPos = pTmpBox->GetUpper()->GetTabBoxes().GetPos( pTmpBox );
}
-// if( nBoxPos )
- nTmpWidth = pTmpBox->GetFrmFmt()->GetFrmSize().GetWidth();
-// else
-// nTmpWidth = 0;
+ nTmpWidth = pTmpBox->GetFrmFmt()->GetFrmSize().GetWidth();
}
if( nTmpWidth < nDiff || nTmpWidth - nDiff < MINLAY )
commit c6e54b85348f27bb82ec922f8a0d092af08d66d7
Author: Philipp Riemer <ruderphilipp at gmail.com>
Date: Fri Aug 9 22:42:50 2013 +0200
comments work
Change-Id: Icdccb178d575977f3e9736dcf47e8b23fd9aaf33
diff --git a/sw/source/core/doc/SwStyleNameMapper.cxx b/sw/source/core/doc/SwStyleNameMapper.cxx
index 191a22a..4fe5508 100644
--- a/sw/source/core/doc/SwStyleNameMapper.cxx
+++ b/sw/source/core/doc/SwStyleNameMapper.cxx
@@ -663,7 +663,7 @@ const NameToIdHash & SwStyleNameMapper::getHashTable ( SwGetPoolIdFromName eFlag
return *pHash;
}
-// This gets the UI Name from the programmatic name
+// This gets the UI name from the programmatic name
const OUString& SwStyleNameMapper::GetUIName(const OUString& rName,
SwGetPoolIdFromName const eFlags)
{
@@ -671,7 +671,7 @@ const OUString& SwStyleNameMapper::GetUIName(const OUString& rName,
return nId != USHRT_MAX ? GetUIName( nId, rName ) : rName;
}
-// Get the programmatic Name from the UI name
+// Get the programmatic name from the UI name
const OUString& SwStyleNameMapper::GetProgName(
const OUString& rName, SwGetPoolIdFromName const eFlags)
{
@@ -823,26 +823,26 @@ void SwStyleNameMapper::fillNameFromId(
rFillName = getNameFromId(nId, rFillName, bProgName);
}
-// Get the UI Name from the pool ID
+// Get the UI name from the pool ID
void SwStyleNameMapper::FillUIName(sal_uInt16 const nId, OUString& rFillName)
{
fillNameFromId(nId, rFillName, false);
}
-// Get the UI Name from the pool ID
+// Get the UI name from the pool ID
const OUString& SwStyleNameMapper::GetUIName(
sal_uInt16 const nId, const OUString& rName)
{
return getNameFromId(nId, rName, false);
}
-// Get the programmatic Name from the pool ID
+// Get the programmatic name from the pool ID
void SwStyleNameMapper::FillProgName(sal_uInt16 nId, OUString& rFillName)
{
fillNameFromId(nId, rFillName, true);
}
-// Get the programmatic Name from the pool ID
+// Get the programmatic name from the pool ID
const OUString&
SwStyleNameMapper::GetProgName(sal_uInt16 const nId, const OUString& rName)
{
diff --git a/sw/source/core/doc/docftn.cxx b/sw/source/core/doc/docftn.cxx
index 7cf10d5..e539302 100644
--- a/sw/source/core/doc/docftn.cxx
+++ b/sw/source/core/doc/docftn.cxx
@@ -33,7 +33,7 @@
#include <poolfmt.hxx>
#include <ftninfo.hxx>
-/*********************** SwFtnInfo ***************************/
+/*********************** SwEndNoteInfo ***************************/
SwEndNoteInfo& SwEndNoteInfo::operator=(const SwEndNoteInfo& rInfo)
{
@@ -209,6 +209,8 @@ void SwEndNoteInfo::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
CheckRegistration( pOld, pNew );
}
+/*********************** SwFtnInfo ***************************/
+
SwFtnInfo& SwFtnInfo::operator=(const SwFtnInfo& rInfo)
{
SwEndNoteInfo::operator=(rInfo);
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx
index e4cffeb..2a2bb2f8 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -212,13 +212,13 @@ SwHTMLTableLayout::~SwHTMLTableLayout()
delete[] aCells;
}
-// The border width are calculated like in Netscape:
-// Outer border: BORDER + CELLSPACING + CELLPADDING
-// Inner border: CELLSPACING + CELLPADDING
-// However, we respect the border width in SW if bSwBorders is set,
-// so that we don't wrap wrongly.
-// We also need to respect the distance to the content. Even if
-// only the opposite side has a border.
+/// The border widths are calculated like in Netscape:
+/// Outer border: BORDER + CELLSPACING + CELLPADDING
+/// Inner border: CELLSPACING + CELLPADDING
+/// However, we respect the border widths in SW if bSwBorders is set,
+/// so that we don't wrap wrongly.
+/// We also need to respect the distance to the content. Even if
+/// only the opposite side has a border.
sal_uInt16 SwHTMLTableLayout::GetLeftCellSpace( sal_uInt16 nCol, sal_uInt16 nColSpan,
sal_Bool bSwBorders ) const
{
commit c99476fcfc1aedcac60df399c6b5efeff1b23045
Author: Philipp Riemer <ruderphilipp at gmail.com>
Date: Fri Aug 9 22:41:31 2013 +0200
deleted needless blank lines in sw/source/core/doc/
Change-Id: I5349ab03f7d2a4e66bf8ac5ef67382f47eb5b5d5
diff --git a/sw/source/core/doc/SwStyleNameMapper.cxx b/sw/source/core/doc/SwStyleNameMapper.cxx
index d8ac49a..191a22a 100644
--- a/sw/source/core/doc/SwStyleNameMapper.cxx
+++ b/sw/source/core/doc/SwStyleNameMapper.cxx
@@ -662,6 +662,7 @@ const NameToIdHash & SwStyleNameMapper::getHashTable ( SwGetPoolIdFromName eFlag
#endif
return *pHash;
}
+
// This gets the UI Name from the programmatic name
const OUString& SwStyleNameMapper::GetUIName(const OUString& rName,
SwGetPoolIdFromName const eFlags)
@@ -670,7 +671,6 @@ const OUString& SwStyleNameMapper::GetUIName(const OUString& rName,
return nId != USHRT_MAX ? GetUIName( nId, rName ) : rName;
}
-
// Get the programmatic Name from the UI name
const OUString& SwStyleNameMapper::GetProgName(
const OUString& rName, SwGetPoolIdFromName const eFlags)
@@ -710,6 +710,7 @@ void SwStyleNameMapper::FillProgName(
fillNameFromId(nId, rFillName, true);
}
}
+
// Get the UI name from the programmatic name in rName and put it into rFillName
void SwStyleNameMapper::FillUIName(
const OUString& rName, OUString& rFillName,
@@ -827,6 +828,7 @@ void SwStyleNameMapper::FillUIName(sal_uInt16 const nId, OUString& rFillName)
{
fillNameFromId(nId, rFillName, false);
}
+
// Get the UI Name from the pool ID
const OUString& SwStyleNameMapper::GetUIName(
sal_uInt16 const nId, const OUString& rName)
@@ -839,6 +841,7 @@ void SwStyleNameMapper::FillProgName(sal_uInt16 nId, OUString& rFillName)
{
fillNameFromId(nId, rFillName, true);
}
+
// Get the programmatic Name from the pool ID
const OUString&
SwStyleNameMapper::GetProgName(sal_uInt16 const nId, const OUString& rName)
@@ -853,6 +856,7 @@ sal_uInt16 SwStyleNameMapper::GetPoolIdFromUIName(
NameToIdHash::const_iterator aIter = rHashMap.find(rName);
return aIter != rHashMap.end() ? (*aIter).second : USHRT_MAX;
}
+
// Get the Pool ID from the programmatic name
sal_uInt16 SwStyleNameMapper::GetPoolIdFromProgName(
const OUString& rName, SwGetPoolIdFromName const eFlags)
@@ -1038,7 +1042,6 @@ const ::std::vector<OUString>& SwStyleNameMapper::GetNumRuleProgNameArray()
return *pNumRuleProgNameArray;
}
-
const OUString
SwStyleNameMapper::GetSpecialExtraProgName(const OUString& rExtraUIName)
{
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 7b0ff63..ff71f35 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <doc.hxx>
#include <UndoManager.hxx>
#include <hintids.hxx>
@@ -2364,7 +2363,6 @@ bool SwDoc::RestoreInvisibleContent()
return bRet;
}
-
bool SwDoc::ConvertFieldsToText()
{
bool bRet = false;
diff --git a/sw/source/core/doc/docbasic.cxx b/sw/source/core/doc/docbasic.cxx
index 1437e61..e14604c 100644
--- a/sw/source/core/doc/docbasic.cxx
+++ b/sw/source/core/doc/docbasic.cxx
@@ -130,8 +130,6 @@ bool SwDoc::ExecMacro( const SvxMacro& rMacro, String* pRet, SbxArray* pArgs )
return 0 == eErr;
}
-
-
sal_uInt16 SwDoc::CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEvent,
bool bCheckPtr, SbxArray* pArgs, const Link* )
{
@@ -242,7 +240,4 @@ sal_uInt16 SwDoc::CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEve
return nRet;
}
-
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index d7f74ef..7d81e41 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -48,7 +48,6 @@
#include <viscrs.hxx>
#include <stdio.h>
-
using namespace ::std;
using namespace ::boost;
using namespace ::sw::mark;
@@ -1028,7 +1027,6 @@ namespace
}
-
// IDocumentMarkAccess for SwDoc
IDocumentMarkAccess* SwDoc::getIDocumentMarkAccess()
@@ -1456,7 +1454,6 @@ void _SaveCntntIdx(SwDoc* pDoc,
}
}
-
void _RestoreCntntIdx(SwDoc* pDoc,
std::vector<sal_uLong> &rSaveArr,
sal_uLong nNode,
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx
index ebc0d10..9c6a68e 100644
--- a/sw/source/core/doc/docchart.cxx
+++ b/sw/source/core/doc/docchart.cxx
@@ -47,7 +47,6 @@
using namespace com::sun::star;
using namespace com::sun::star::uno;
-
void SwTable::UpdateCharts() const
{
GetFrmFmt()->GetDoc()->UpdateCharts( GetFrmFmt()->GetName() );
@@ -199,7 +198,6 @@ void SwDoc::SetTableName( SwFrmFmt& rTblFmt, const String &rNewName )
SetModified();
}
-
SwChartDataProvider * SwDoc::GetChartDataProvider( bool bCreate ) const
{
// since there must be only one instance of this object per document
@@ -214,7 +212,6 @@ SwChartDataProvider * SwDoc::GetChartDataProvider( bool bCreate ) const
return maChartDataProviderImplRef.get();
}
-
void SwDoc::CreateChartInternalDataProviders( const SwTable *pTable )
{
if (pTable)
@@ -245,7 +242,6 @@ void SwDoc::CreateChartInternalDataProviders( const SwTable *pTable )
}
}
-
SwChartLockController_Helper & SwDoc::GetChartControllerHelper()
{
if (!mpChartControllerHelper)
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index fc5ad2b..10e2279 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <hintids.hxx>
#include <vcl/vclenum.hxx>
#include <editeng/crossedoutitem.hxx>
@@ -2274,7 +2273,6 @@ void WordArrayComparator::CalcPositions( int *pPos, const SwTxtNode *pTxtNd,
}
}
-
int CommonSubseq::FindLCS( int *pLcs1, int *pLcs2, int nStt1, int nEnd1,
int nStt2, int nEnd2 )
{
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx
index 392524a..d6cf7b0 100644
--- a/sw/source/core/doc/doccorr.cxx
+++ b/sw/source/core/doc/doccorr.cxx
@@ -112,7 +112,6 @@ namespace
}
}
-
void PaMCorrAbs( const SwPaM& rRange,
const SwPosition& rNewPos )
{
@@ -253,10 +252,6 @@ void SwDoc::CorrAbs(const SwNodeIndex& rStartNode,
}
}
-
-
-
-
void PaMCorrRel( const SwNodeIndex &rOldNode,
const SwPosition &rNewPos,
const xub_StrLen nOffset )
@@ -328,7 +323,6 @@ void SwDoc::CorrRel(const SwNodeIndex& rOldNode,
::PaMCorrRel(rOldNode, rNewPos, nOffset);
}
-
SwEditShell* SwDoc::GetEditShell( ViewShell** ppSh ) const
{
// Layout and OLE shells should be available
diff --git a/sw/source/core/doc/docdde.cxx b/sw/source/core/doc/docdde.cxx
index 502ed34..6cd9667 100644
--- a/sw/source/core/doc/docdde.cxx
+++ b/sw/source/core/doc/docdde.cxx
@@ -42,7 +42,6 @@ using namespace ::com::sun::star;
namespace
{
-
static ::sw::mark::DdeBookmark* lcl_FindDdeBookmark(const IDocumentMarkAccess& rMarkAccess, const OUString& rName, bool bCaseSensitive)
{
//Iterating over all bookmarks, checking DdeBookmarks
@@ -106,8 +105,6 @@ static bool lcl_FindSection( const SwSectionFmt* pSectFmt, _FindItem * const pIt
return true;
}
-
-
static bool lcl_FindTable( const SwFrmFmt* pTableFmt, _FindItem * const pItem )
{
String sNm( GetAppCharClass().lowercase( pTableFmt->GetName() ));
@@ -131,8 +128,6 @@ static bool lcl_FindTable( const SwFrmFmt* pTableFmt, _FindItem * const pItem )
return true;
}
-
-
bool SwDoc::GetData( const OUString& rItem, const String& rMimeType,
uno::Any & rValue ) const
{
@@ -176,8 +171,6 @@ bool SwDoc::GetData( const OUString& rItem, const String& rMimeType,
return sal_False;
}
-
-
bool SwDoc::SetData( const OUString& rItem, const String& rMimeType,
const uno::Any & rValue )
{
@@ -222,8 +215,6 @@ bool SwDoc::SetData( const OUString& rItem, const String& rMimeType,
return sal_False;
}
-
-
::sfx2::SvLinkSource* SwDoc::CreateLinkSource(const OUString& rItem)
{
SwServerObject* pObj = NULL;
diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index 67f2d18..121e065 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <cmdid.h>
#include <svx/svdmodel.hxx>
#include <editeng/ulspitem.hxx>
@@ -223,7 +222,6 @@ void SwDoc::CopyMasterHeader(const SwPageDesc &rChged, const SwFmtHeader &rHead,
else
::lcl_DescSetAttr( *pRight,
*(SwFrmFmt*)rFmtHead.GetHeaderFmt(), false );
-
}
}
}
diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx
index 7b69fe0..7860d25 100644
--- a/sw/source/core/doc/docdraw.cxx
+++ b/sw/source/core/doc/docdraw.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <hintids.hxx>
#include <vcl/outdev.hxx>
#include <sfx2/printer.hxx>
@@ -291,7 +290,6 @@ SwDrawContact* SwDoc::GroupSelection( SdrView& rDrawView )
return pNewContact;
}
-
void SwDoc::UnGroupSelection( SdrView& rDrawView )
{
bool const bUndo = GetIDocumentUndoRedo().DoesUndo();
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index ac38be8..5f433d3 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <txtftn.hxx>
@@ -1636,7 +1635,6 @@ bool SwDoc::DeleteRangeImplImpl(SwPaM & rPam)
SwDataChanged aTmp( rPam );
}
-
if (GetIDocumentUndoRedo().DoesUndo())
{
GetIDocumentUndoRedo().ClearRedo();
@@ -1917,7 +1915,6 @@ uno::Any SwDoc::Spell( SwPaM& rPaM,
pSpellArgs->pStartIdx->GetIndex();
}
-
if( pSpellArgs && pSpellArgs->bIsGrammarCheck )
{
uno::Reference< linguistic2::XProofreadingIterator > xGCIterator( GetGCIterator() );
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index bb7db00..fbddc24 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -485,7 +485,6 @@ void SwDoc::UpdateTblFlds( SfxPoolItem* pHt )
}
}
-
// all fields/boxes are now invalid, so we can start to calculate
if( pHt && ( RES_TABLEFML_UPDATE != pHt->Which() ||
TBL_CALC != ((SwTableFmlUpdate*)pHt)->eFlags ))
diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx
index 132480c..be3e96b 100644
--- a/sw/source/core/doc/docfly.cxx
+++ b/sw/source/core/doc/docfly.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <hintids.hxx>
#include <svl/itemiter.hxx>
#include <svx/svdobj.hxx>
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 974c54c..dc78244 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -768,7 +768,6 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
nsSwGetPoolIdFromName::GET_POOLID_NUMRULE )) )
pDoc->GetNumRuleFromPool( nPoolId );
}
-
}
if( !rRg.HasMark() ) // no range
@@ -1454,7 +1453,6 @@ SwDrawFrmFmt *SwDoc::MakeDrawFrmFmt( const String &rFmtName,
return pFmt;
}
-
sal_uInt16 SwDoc::GetTblFrmFmtCount(bool bUsed) const
{
sal_uInt16 nCount = mpTblFrmFmtTbl->size();
@@ -1471,7 +1469,6 @@ sal_uInt16 SwDoc::GetTblFrmFmtCount(bool bUsed) const
return nCount;
}
-
SwFrmFmt& SwDoc::GetTblFrmFmt(sal_uInt16 nFmt, bool bUsed ) const
{
sal_uInt16 nRemoved = 0;
@@ -2402,7 +2399,6 @@ SwTblNumFmtMerge::~SwTblNumFmtMerge()
pNFmt->ClearMergeTable();
}
-
void SwDoc::SetTxtFmtCollByAutoFmt( const SwPosition& rPos, sal_uInt16 nPoolId,
const SfxItemSet* pSet )
{
diff --git a/sw/source/core/doc/docftn.cxx b/sw/source/core/doc/docftn.cxx
index 56ac5ee..7cf10d5 100644
--- a/sw/source/core/doc/docftn.cxx
+++ b/sw/source/core/doc/docftn.cxx
@@ -67,7 +67,6 @@ SwEndNoteInfo& SwEndNoteInfo::operator=(const SwEndNoteInfo& rInfo)
return *this;
}
-
bool SwEndNoteInfo::operator==( const SwEndNoteInfo& rInfo ) const
{
return aPageDescDep.GetRegisteredIn() ==
@@ -84,7 +83,6 @@ bool SwEndNoteInfo::operator==( const SwEndNoteInfo& rInfo ) const
sSuffix == rInfo.sSuffix;
}
-
SwEndNoteInfo::SwEndNoteInfo(const SwEndNoteInfo& rInfo) :
SwClient( rInfo.GetFtnTxtColl() ),
aPageDescDep( this, 0 ),
@@ -253,7 +251,6 @@ SwFtnInfo::SwFtnInfo(SwTxtFmtColl *pFmt) :
/*********************** SwDoc ***************************/
-
void SwDoc::SetFtnInfo(const SwFtnInfo& rInfo)
{
SwRootFrm* pTmpRoot = GetCurrentLayout();//swmod 080219
@@ -395,7 +392,6 @@ void SwDoc::SetEndNoteInfo(const SwEndNoteInfo& rInfo)
}
}
-
bool SwDoc::SetCurFtn( const SwPaM& rPam, const String& rNumStr,
sal_uInt16 nNumber, bool bIsEndNote )
{
@@ -509,8 +505,4 @@ bool SwDoc::SetCurFtn( const SwPaM& rPam, const String& rNumStr,
return bChg;
}
-
-
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/docglos.cxx b/sw/source/core/doc/docglos.cxx
index 801ed5bb..9f175c8 100644
--- a/sw/source/core/doc/docglos.cxx
+++ b/sw/source/core/doc/docglos.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -33,10 +32,8 @@
#include <crsrsh.hxx>
#include <docsh.hxx>
-
using namespace ::com::sun::star;
-
/// copy document properties via public interface
static void lcl_copyDocumentProperties(
uno::Reference<document::XDocumentProperties> i_xSource,
@@ -185,5 +182,4 @@ bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const String& rEntry,
return bRet;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 65f5bee..e34ea51 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <unotools/linguprops.hxx>
#include <unotools/lingucfg.hxx>
#include <com/sun/star/embed/EmbedStates.hpp>
@@ -98,7 +97,6 @@ using namespace ::com::sun::star;
#define DEF_FLY_WIDTH 2268 // Default width for FlyFrms (2268 == 4cm)
-
static bool lcl_IsItemSet(const SwCntntNode & rNode, sal_uInt16 which)
{
bool bResult = false;
@@ -1617,7 +1615,6 @@ lcl_InsertDrawLabel( SwDoc & rDoc, SwTxtFmtColls *const pTxtFmtCollTbl,
const_cast<SwFmtFlyCnt&>(pHnt->GetFlyCnt()).SetFlyFmt( pNewFmt );
}
-
// The old one should not have a flow
// and it should be adjusted to above and middle.
pNewSet->ClearItem();
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index ea75fd0..5d81fd1 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -473,7 +473,6 @@ SwDoc::~SwDoc()
mpDocShell->SetUndoManager(0);
}
-
// #i83479#
delete mpListItemsList;
mpListItemsList = 0;
@@ -920,7 +919,6 @@ SwModify* SwDoc::GetUnoCallBack() const
return mpUnoCallBack;
}
-
/** SwDoc: Reading and writing of the layout cache. */
void SwDoc::ReadLayoutCache( SvStream& rStream )
{
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index 254da0c..04e0e45 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <hintids.hxx>
#include <rtl/random.h>
#include <tools/resid.hxx>
@@ -81,7 +80,6 @@ namespace {
#include <stdlib.h>
-
inline sal_uInt8 GetUpperLvlChg( sal_uInt8 nCurLvl, sal_uInt8 nLevel, sal_uInt16 nMask )
{
if( 1 < nLevel )
@@ -326,7 +324,6 @@ bool SwDoc::OutlineUpDown( const SwPaM& rPam, short nOffset )
aMoveArr[n] = m;
else
aMoveArr[n] = -1;
-
}
else
aMoveArr[n] = -1;
@@ -494,6 +491,7 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, short nOffset )
aEndRg--;
while( aEndRg.GetNode().IsStartNode() )
aEndRg--;
+
while( aEndRg.GetNode().IsEndNode() )
{
pNd = aEndRg.GetNode().StartOfSectionNode();
@@ -530,6 +528,7 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, short nOffset )
aInsertPos--;
--nNewPos;
}
+
if( nOffset >= 0 )
{
// When just before the insert position a section ends, it is okay when I'm moving backward
@@ -1612,7 +1611,6 @@ const SwNumRule * SwDoc::SearchNumRule(const SwPosition & rPos,
return pResult;
}
-
bool SwDoc::GotoPrevNum( SwPosition& rPos, bool bOverUpper,
sal_uInt8* pUpper, sal_uInt8* pLower )
{
@@ -2035,7 +2033,6 @@ bool SwDoc::MoveParagraph( const SwPaM& rPam, long nOffset, bool bIsOutlMv )
nMoved = rPam.End()->nNode.GetIndex() - rPam.Start()->nNode.GetIndex() + 1;
}
-
MoveNodeRange( aMvRg, aIdx, DOC_MOVEREDLINES );
if( pUndo )
@@ -2101,7 +2098,6 @@ bool SwDoc::NumOrNoNum( const SwNodeIndex& rIdx, sal_Bool bDel )
pTxtNd->GetActualListLevel() < MAXLEVEL)
{
SwPaM aPam(*pTxtNd);
-
DelNumRules(aPam);
bResult = true;
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 11e6c6b..89eb3a1 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1192,7 +1192,6 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
}
break;
-
case nsRedlineType_t::REDLINE_FMTCOLL:
// How should we behave here?
// insert as is
@@ -1920,7 +1919,6 @@ static sal_Bool lcl_RejectRedline( SwRedlineTbl& rArr, sal_uInt16& rPos,
return bRet;
}
-
static const SwRedline* lcl_FindCurrRedline( const SwPosition& rSttPos,
sal_uInt16& rPos,
bool bNext = true )
@@ -2031,7 +2029,6 @@ static void lcl_AdjustRedlineRange( SwPaM& rPam )
}
}
-
bool SwDoc::AcceptRedline( sal_uInt16 nPos, bool bCallDelete )
{
sal_Bool bRet = sal_False;
@@ -2567,7 +2564,6 @@ void SwDoc::SetRedlinePassword(
SetModified();
}
-
bool SwRedlineTbl::Insert( SwRedline* p, bool bIns )
{
bool bRet = false;
@@ -2832,7 +2828,6 @@ sal_uInt16 SwRedlineTbl::FindPrevSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos,
return nRet;
}
-
SwRedlineExtraData::~SwRedlineExtraData()
{
}
@@ -2850,7 +2845,6 @@ int SwRedlineExtraData::operator == ( const SwRedlineExtraData& ) const
return sal_False;
}
-
SwRedlineExtraData_FmtColl::SwRedlineExtraData_FmtColl( const String& rColl,
sal_uInt16 nPoolFmtId,
const SfxItemSet* pItemSet )
@@ -2924,7 +2918,6 @@ void SwRedlineExtraData_FmtColl::SetItemSet( const SfxItemSet& rSet )
pSet = 0;
}
-
SwRedlineExtraData_Format::SwRedlineExtraData_Format( const SfxItemSet& rSet )
{
SfxItemIter aIter( rSet );
@@ -3237,7 +3230,6 @@ void SwRedline::ShowOriginal( sal_uInt16 nLoop )
pDoc->SetRedlineMode_intern( eOld );
}
-
void SwRedline::InvalidateRange() // trigger the Layout
{
sal_uLong nSttNd = GetMark()->nNode.GetIndex(),
diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx
index 10fdd14..138645c 100644
--- a/sw/source/core/doc/docruby.cxx
+++ b/sw/source/core/doc/docruby.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <string.h> // for strchr()
#include <com/sun/star/i18n/UnicodeType.hpp>
@@ -40,7 +39,6 @@
using namespace ::com::sun::star::i18n;
-
/*
* Members in the list:
* - String - the orig text
diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx
index 3cd4f07..aa3b58c 100644
--- a/sw/source/core/doc/doctxm.cxx
+++ b/sw/source/core/doc/doctxm.cxx
@@ -305,7 +305,6 @@ const SwTOXMark& SwDoc::GotoTOXMark( const SwTOXMark& rCurTOXMark,
}
}
-
// We couldn't find a successor
// Use minimum or maximum
if(!pNew)
@@ -549,7 +548,6 @@ bool SwDoc::DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes )
}
}
-
/* PaM containing the TOX. */
SwPaM aPam(*pMyNode->EndOfSectionNode(), *pMyNode);
diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx
index 416bc2e..793d721 100644
--- a/sw/source/core/doc/docxforms.cxx
+++ b/sw/source/core/doc/docxforms.cxx
@@ -115,9 +115,7 @@ void SwDoc::disposeXForms( )
Reference< XIndexAccess > xBindings(
xModel->getBindings(), UNO_QUERY );
- //
// Then release them one by one
- //
int nCount = xBindings->getCount();
for( int i = nCount-1; i >= 0; i-- )
{
@@ -128,9 +126,7 @@ void SwDoc::disposeXForms( )
Reference< XIndexAccess > xSubmissions(
xModel->getSubmissions(), UNO_QUERY );
- //
// Then release them one by one
- //
nCount = xSubmissions->getCount();
for( int i = nCount-1; i >= 0; i-- )
{
diff --git a/sw/source/core/doc/extinput.cxx b/sw/source/core/doc/extinput.cxx
index 626f8d6..04bc95c 100644
--- a/sw/source/core/doc/extinput.cxx
+++ b/sw/source/core/doc/extinput.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <com/sun/star/i18n/ScriptType.hpp>
#include <editeng/langitem.hxx>
@@ -35,7 +34,6 @@
#include <txtfrm.hxx>
#include <swundo.hxx>
-
using namespace ::com::sun::star;
SwExtTextInput::SwExtTextInput( const SwPaM& rPam, Ring* pRing )
@@ -287,5 +285,4 @@ SwExtTextInput* SwDoc::GetExtTextInput() const
return (SwExtTextInput*)mpExtInputRing;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index ccf7b2b..ecc4f9e 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sal/macros.h>
#include <hintids.hxx>
#include <editeng/ulspitem.hxx>
@@ -41,7 +40,6 @@ TYPEINIT1( SwCollCondition, SwClient );
namespace TxtFmtCollFunc
{
-
// #i71574#
void CheckTxtFmtCollForDeletionOfAssignmentToOutlineStyle(
SwFmt* pFmt,
@@ -280,7 +278,6 @@ void SwTxtFmtColl::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
bWeiter = pNewChgSet->GetTheChgdSet() == &GetAttrSet();
}
-
for( int nC = 0, nArrLen = sizeof(aFontSizeArr) / sizeof( aFontSizeArr[0]);
nC < nArrLen; ++nC )
{
@@ -475,7 +472,6 @@ SwCollCondition::SwCollCondition( SwTxtFmtColl* pColl, sal_uLong nMasterCond,
aSubCondition.nSubCondition = nSubCond;
}
-
SwCollCondition::SwCollCondition( SwTxtFmtColl* pColl, sal_uLong nMasterCond,
const String& rSubExp )
: SwClient( pColl ), nCondition( nMasterCond )
@@ -486,7 +482,6 @@ SwCollCondition::SwCollCondition( SwTxtFmtColl* pColl, sal_uLong nMasterCond,
aSubCondition.nSubCondition = 0;
}
-
SwCollCondition::SwCollCondition( const SwCollCondition& rCopy )
: SwClient( (SwModify*)rCopy.GetRegisteredIn() ), nCondition( rCopy.nCondition )
{
@@ -496,7 +491,6 @@ SwCollCondition::SwCollCondition( const SwCollCondition& rCopy )
aSubCondition.nSubCondition = rCopy.aSubCondition.nSubCondition;
}
-
SwCollCondition::~SwCollCondition()
{
if( USRFLD_EXPRESSION & nCondition )
@@ -508,8 +502,6 @@ void SwCollCondition::RegisterToFormat( SwFmt& rFmt )
rFmt.Add( this );
}
-
-
int SwCollCondition::operator==( const SwCollCondition& rCmp ) const
{
int nRet = 0;
@@ -541,7 +533,6 @@ int SwCollCondition::operator==( const SwCollCondition& rCmp ) const
return nRet;
}
-
void SwCollCondition::SetCondition( sal_uLong nCond, sal_uLong nSubCond )
{
if( USRFLD_EXPRESSION & nCondition )
@@ -550,7 +541,6 @@ void SwCollCondition::SetCondition( sal_uLong nCond, sal_uLong nSubCond )
aSubCondition.nSubCondition = nSubCond;
}
-
SwConditionTxtFmtColl::~SwConditionTxtFmtColl()
{
}
@@ -568,7 +558,6 @@ const SwCollCondition* SwConditionTxtFmtColl::HasCondition(
return n < aCondColls.size() ? pFnd : 0;
}
-
void SwConditionTxtFmtColl::InsertCondition( const SwCollCondition& rCond )
{
for( sal_uInt16 n = 0; n < aCondColls.size(); ++n )
@@ -583,7 +572,6 @@ void SwConditionTxtFmtColl::InsertCondition( const SwCollCondition& rCond )
aCondColls.push_back( pNew );
}
-
bool SwConditionTxtFmtColl::RemoveCondition( const SwCollCondition& rCond )
{
bool bRet = false;
diff --git a/sw/source/core/doc/ftnidx.cxx b/sw/source/core/doc/ftnidx.cxx
index 2f3306f..6836313 100644
--- a/sw/source/core/doc/ftnidx.cxx
+++ b/sw/source/core/doc/ftnidx.cxx
@@ -28,8 +28,6 @@
#include <fmtftntx.hxx>
#include <rootfrm.hxx>
-
-
bool CompareSwFtnIdxs::operator()(SwTxtFtn* const& lhs, SwTxtFtn* const& rhs) const
{
sal_uLong nIdxLHS = _SwTxtFtn_GetIndex( lhs );
@@ -156,7 +154,6 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
}
}
-
void SwFtnIdxs::UpdateAllFtn()
{
if( empty() )
@@ -277,7 +274,6 @@ SwTxtFtn* SwFtnIdxs::SeekEntry( const SwNodeIndex& rPos, sal_uInt16* pFndPos ) c
return 0;
}
-
const SwSectionNode* SwUpdFtnEndNtAtEnd::FindSectNdWithEndAttr(
const SwTxtFtn& rTxtFtn )
{
@@ -337,7 +333,4 @@ sal_uInt16 SwUpdFtnEndNtAtEnd::ChkNumber( const SwTxtFtn& rTxtFtn )
return pSectNd ? GetNumber( rTxtFtn, *pSectNd ) : 0;
}
-
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx
index 7fcb683..8225fd2 100644
--- a/sw/source/core/doc/gctable.cxx
+++ b/sw/source/core/doc/gctable.cxx
@@ -31,7 +31,6 @@ inline const SvxBorderLine* GetLineTB( const SvxBoxItem* pBox, bool bTop )
return bTop ? pBox->GetTop() : pBox->GetBottom();
}
-
bool _SwGCBorder_BoxBrd::CheckLeftBorderOfFormat( const SwFrmFmt& rFmt )
{
const SvxBorderLine* pBrd;
@@ -46,7 +45,6 @@ bool _SwGCBorder_BoxBrd::CheckLeftBorderOfFormat( const SwFrmFmt& rFmt )
return false;
}
-
static bool lcl_GCBorder_ChkBoxBrd_B( const SwTableBox* pBox, _SwGCBorder_BoxBrd* pPara );
static bool lcl_GCBorder_ChkBoxBrd_L( const SwTableLine* pLine, _SwGCBorder_BoxBrd* pPara )
@@ -437,5 +435,4 @@ void SwTable::GCLines()
;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx
index 9e0e707..e4cffeb 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -43,11 +43,9 @@
using namespace ::com::sun::star;
-
#define COLFUZZY 20
#define MAX_TABWIDTH (USHRT_MAX - 2001)
-
class SwHTMLTableLayoutConstraints
{
sal_uInt16 nRow; // start row
@@ -59,7 +57,6 @@ class SwHTMLTableLayoutConstraints
sal_uLong nMinNoAlign, nMaxNoAlign; // provisional result of AL-Pass 1
public:
-
SwHTMLTableLayoutConstraints( sal_uLong nMin, sal_uLong nMax, sal_uInt16 nRow,
sal_uInt16 nCol, sal_uInt16 nColSp );
~SwHTMLTableLayoutConstraints();
@@ -76,7 +73,6 @@ public:
sal_uInt16 GetColumn() const { return nCol; }
};
-
SwHTMLTableLayoutCnts::SwHTMLTableLayoutCnts( const SwStartNode *pSttNd,
SwHTMLTableLayout* pTab,
bool bNoBrTag,
@@ -96,7 +92,6 @@ const SwStartNode *SwHTMLTableLayoutCnts::GetStartNode() const
return pBox ? pBox->GetSttNd() : pStartNode;
}
-
SwHTMLTableLayoutCell::SwHTMLTableLayoutCell( SwHTMLTableLayoutCnts *pCnts,
sal_uInt16 nRSpan, sal_uInt16 nCSpan,
sal_uInt16 nWidth, bool bPrcWidth,
@@ -115,7 +110,6 @@ SwHTMLTableLayoutCell::~SwHTMLTableLayoutCell()
}
}
-
SwHTMLTableLayoutColumn::SwHTMLTableLayoutColumn( sal_uInt16 nWidth,
bool bRelWidth,
bool bLBorder ) :
@@ -126,7 +120,6 @@ SwHTMLTableLayoutColumn::SwHTMLTableLayoutColumn( sal_uInt16 nWidth,
bLeftBorder( bLBorder )
{}
-
SwHTMLTableLayoutConstraints::SwHTMLTableLayoutConstraints(
sal_uLong nMin, sal_uLong nMax, sal_uInt16 nRw, sal_uInt16 nColumn, sal_uInt16 nColSp ):
nRow( nRw ), nCol( nColumn ), nColSpan( nColSp ),
@@ -168,7 +161,6 @@ SwHTMLTableLayoutConstraints *SwHTMLTableLayoutConstraints::InsertNext(
return pConstr;
}
-
typedef SwHTMLTableLayoutColumn *SwHTMLTableLayoutColumnPtr;
typedef SwHTMLTableLayoutCell *SwHTMLTableLayoutCellPtr;
@@ -1720,7 +1712,6 @@ IMPL_STATIC_LINK( SwHTMLTableLayout, DelayedResize_Impl, void*, EMPTYARG )
return 0;
}
-
sal_Bool SwHTMLTableLayout::Resize( sal_uInt16 nAbsAvail, sal_Bool bRecalc,
sal_Bool bForce, sal_uLong nDelay )
{
@@ -1801,5 +1792,4 @@ void SwHTMLTableLayout::BordersChanged( sal_uInt16 nAbsAvail, sal_Bool bRecalc )
Resize( nAbsAvail, bRecalc );
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/lineinfo.cxx b/sw/source/core/doc/lineinfo.cxx
index 870fda5..43150ad 100644
--- a/sw/source/core/doc/lineinfo.cxx
+++ b/sw/source/core/doc/lineinfo.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "doc.hxx"
#include "lineinfo.hxx"
#include "charfmt.hxx"
@@ -25,6 +24,7 @@
#include "rootfrm.hxx"
#include "viewsh.hxx"
#include <set>
+
void SwDoc::SetLineNumberInfo( const SwLineNumberInfo &rNew )
{
SwRootFrm* pTmpRoot = GetCurrentLayout();//swmod 080219
@@ -113,7 +113,6 @@ bool SwLineNumberInfo::operator==( const SwLineNumberInfo& rInf ) const
bRestartEachPage == rInf.IsRestartEachPage();
}
-
SwCharFmt* SwLineNumberInfo::GetCharFmt( IDocumentStylePoolAccess& rIDSPA ) const
{
if ( !GetRegisteredIn() )
diff --git a/sw/source/core/doc/list.cxx b/sw/source/core/doc/list.cxx
index f37e999..e32585e 100644
--- a/sw/source/core/doc/list.cxx
+++ b/sw/source/core/doc/list.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <list.hxx>
#include <vector>
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index ee0565f..222962d 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -77,7 +77,6 @@ using namespace com::sun::star;
extern void ClrContourCache( const SdrObject *pObj ); // TxtFly.Cxx
-
inline bool GetRealURL( const SwGrfNode& rNd, String& rTxt )
{
bool bRet = rNd.GetFileFilterNms( &rTxt, 0 );
@@ -168,9 +167,6 @@ void SetOutDev( ViewShell *pSh, OutputDevice *pOut )
pSh->mpOut = pOut;
}
-
-
-
static void lcl_ClearArea( const SwFrm &rFrm,
OutputDevice &rOut, const SwRect& rPtArea,
const SwRect &rGrfArea )
@@ -518,7 +514,6 @@ sal_Bool SwNoTxtFrm::GetCharRect( SwRect &rRect, const SwPosition& rPos,
return sal_True;
}
-
sal_Bool SwNoTxtFrm::GetCrsrOfst(SwPosition* pPos, Point& ,
SwCrsrMoveState*, bool ) const
{
@@ -1104,7 +1099,6 @@ void SwNoTxtFrm::PaintPicture( OutputDevice* pOut, const SwRect &rGrfArea ) cons
}
}
-
sal_Bool SwNoTxtFrm::IsTransparent() const
{
const ViewShell* pSh = getRootFrm()->GetCurrShell();
@@ -1119,7 +1113,6 @@ sal_Bool SwNoTxtFrm::IsTransparent() const
return sal_True;
}
-
void SwNoTxtFrm::StopAnimation( OutputDevice* pOut ) const
{
// Stop animated graphics
@@ -1131,13 +1124,10 @@ void SwNoTxtFrm::StopAnimation( OutputDevice* pOut ) const
}
}
-
sal_Bool SwNoTxtFrm::HasAnimation() const
{
const SwGrfNode* pGrfNd = GetNode()->GetGrfNode();
return pGrfNd && pGrfNd->IsAnimated();
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 27b2cb9..9c98029 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -52,7 +52,6 @@
using namespace ::com::sun::star;
-
sal_uInt16 SwNumRule::nRefCount = 0;
SwNumFmt* SwNumRule::aBaseFmts[ RULE_END ][ MAXLEVEL ] = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } };
@@ -113,19 +112,16 @@ void SwNumRule::SetName( const String & rName,
}
}
-
void SwNumRule::GetTxtNodeList( SwNumRule::tTxtNodeList& rTxtNodeList ) const
{
rTxtNodeList = maTxtNodeList;
}
-
SwNumRule::tTxtNodeList::size_type SwNumRule::GetTxtNodeListSize() const
{
return maTxtNodeList.size();
}
-
void SwNumRule::AddTxtNode( SwTxtNode& rTxtNode )
{
tTxtNodeList::iterator aIter =
@@ -137,7 +133,6 @@ void SwNumRule::AddTxtNode( SwTxtNode& rTxtNode )
}
}
-
void SwNumRule::RemoveTxtNode( SwTxtNode& rTxtNode )
{
tTxtNodeList::iterator aIter =
@@ -149,7 +144,6 @@ void SwNumRule::RemoveTxtNode( SwTxtNode& rTxtNode )
}
}
-
void SwNumRule::SetNumRuleMap(boost::unordered_map<String, SwNumRule *, StringHash> *
_pNumRuleMap)
{
@@ -239,7 +233,6 @@ sal_Bool SwNumFmt::IsEnumeration() const
return !IsItemize();
}
-
sal_Bool SwNumFmt::IsItemize() const
{
sal_Bool bResult;
@@ -729,7 +722,6 @@ String SwNumRule::MakeNumString( const SwNumberTree::tNumberVector & rNumVector,
return aStr;
}
-
String SwNumRule::MakeRefNumString( const SwNodeNum& rNodeNum,
const bool bInclSuperiorNumLabels,
const sal_uInt8 nRestrictInclToThisLevel ) const
@@ -1015,7 +1007,6 @@ void SwNumRule::SetIndentOfFirstListLevelAndChangeOthers( const short nNewIndent
}
}
-
void SwNumRule::Validate()
{
std::set< SwList* > aLists;
@@ -1032,25 +1023,21 @@ void SwNumRule::Validate()
SetInvalidRule(sal_False);
}
-
bool SwNumRule::IsCountPhantoms() const
{
return mbCountPhantoms;
}
-
void SwNumRule::SetCountPhantoms(bool bCountPhantoms)
{
mbCountPhantoms = bCountPhantoms;
}
-
SwNumRule::tParagraphStyleList::size_type SwNumRule::GetParagraphStyleListSize() const
{
return maParagraphStyleList.size();
}
-
void SwNumRule::AddParagraphStyle( SwTxtFmtColl& rTxtFmtColl )
{
tParagraphStyleList::iterator aIter =
@@ -1062,7 +1049,6 @@ void SwNumRule::AddParagraphStyle( SwTxtFmtColl& rTxtFmtColl )
}
}
-
void SwNumRule::RemoveParagraphStyle( SwTxtFmtColl& rTxtFmtColl )
{
tParagraphStyleList::iterator aIter =
@@ -1074,7 +1060,6 @@ void SwNumRule::RemoveParagraphStyle( SwTxtFmtColl& rTxtFmtColl )
}
}
-
namespace numfunc
{
/** class containing default bullet list configuration data */
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 8cd1e90..1d123ed 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <hintids.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <unotools/localedatawrapper.hxx>
@@ -63,7 +62,6 @@
#include <GetMetricVal.hxx>
#include <numrule.hxx>
-
using namespace ::editeng;
using namespace ::com::sun::star;
@@ -81,7 +79,6 @@ const sal_uInt16 PT_18 = 18 * 20; // 18 pt
const sal_uInt16 PT_22 = 22 * 20; // 22 pt
const sal_uInt16 PT_24 = 24 * 20; // 22 pt
-
#define HTML_PARSPACE GetMetricVal( CM_05 )
static const sal_uInt16 aHeadlineSizes[ 2 * MAXLEVEL ] = {
@@ -245,8 +242,6 @@ static void lcl_SetHeadline( SwDoc* pDoc, SwTxtFmtColl* pColl,
}
}
-
-
static void lcl_SetRegister( SwDoc* pDoc, SfxItemSet& rSet, sal_uInt16 nFact,
bool bHeader, bool bTab )
{
@@ -271,8 +266,6 @@ static void lcl_SetRegister( SwDoc* pDoc, SfxItemSet& rSet, sal_uInt16 nFact,
}
}
-
-
static void lcl_SetNumBul( SwDoc* pDoc, SwTxtFmtColl* pColl,
SfxItemSet& rSet,
sal_uInt16 nNxt, SwTwips nEZ, SwTwips nLeft,
@@ -527,7 +520,6 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( sal_uInt16 nId, bool bRegardLanguage )
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 9, false );
break;
-
// Special sections:
// Header
case RES_POOLCOLL_HEADER:
@@ -730,8 +722,6 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( sal_uInt16 nId, bool bRegardLanguage )
lcl_SetRegister( this, aSet, 0, false, true );
break;
-
-
case RES_POOLCOLL_NUM_LEVEL1S:
lcl_SetNumBul( this, pNewColl, aSet, RES_POOLCOLL_NUM_LEVEL1,
lNumFirstLineOffset, SwNumRule::GetNumIndent( 0 ),
@@ -1318,7 +1308,6 @@ SwFmt* SwDoc::GetFmtFromPool( sal_uInt16 nId )
aSet.Put( SwFmtSurround( SURROUND_THROUGHT ));
}
break;
-
case RES_POOLFRM_LABEL:
{
aSet.Put( SwFmtAnchor( FLY_AS_CHAR ) );
@@ -1403,8 +1392,6 @@ bool SwDoc::IsPoolFmtUsed( sal_uInt16 nId ) const
return bFnd;
}
-
-
static void lcl_PutStdPageSizeIntoItemSet( SwDoc* pDoc, SfxItemSet& rSet )
{
SwPageDesc* pStdPgDsc = pDoc->GetPageDescFromPool( RES_POOLPAGE_STANDARD );
diff --git a/sw/source/core/doc/sortopt.cxx b/sw/source/core/doc/sortopt.cxx
index e27c269..eaf41bb 100644
--- a/sw/source/core/doc/sortopt.cxx
+++ b/sw/source/core/doc/sortopt.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <i18nlangtag/lang.h>
#include <sortopt.hxx>
#include <boost/foreach.hpp>
diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx
index e2a34af..7a80e39 100644
--- a/sw/source/core/doc/swserv.cxx
+++ b/sw/source/core/doc/swserv.cxx
@@ -39,7 +39,6 @@ SwServerObject::~SwServerObject()
{
}
-
sal_Bool SwServerObject::GetData( uno::Any & rData,
const String & rMimeType, sal_Bool )
{
@@ -99,14 +98,12 @@ sal_Bool SwServerObject::GetData( uno::Any & rData,
aMemStm.Seek( STREAM_SEEK_TO_END ) );
bRet = sal_True;
}
-
delete pPam;
}
}
return bRet;
}
-
sal_Bool SwServerObject::SetData( const String & ,
const uno::Any& )
{
@@ -114,7 +111,6 @@ sal_Bool SwServerObject::SetData( const String & ,
return sal_False;
}
-
void SwServerObject::SendDataChanged( const SwPosition& rPos )
{
// Is someone interested in our changes?
@@ -151,7 +147,6 @@ void SwServerObject::SendDataChanged( const SwPosition& rPos )
}
}
-
void SwServerObject::SendDataChanged( const SwPaM& rRange )
{
// Is someone interested in our changes?
@@ -190,7 +185,6 @@ void SwServerObject::SendDataChanged( const SwPaM& rRange )
}
}
-
sal_Bool SwServerObject::IsLinkInServer( const SwBaseLink* pChkLnk ) const
{
sal_uLong nSttNd = 0, nEndNd = 0;
@@ -292,8 +286,6 @@ void SwServerObject::SetDdeBookmark( ::sw::mark::IMark& rBookmark)
" - setting an bookmark that is not DDE-capable");
}
-
-
SwDataChanged::SwDataChanged( const SwPaM& rPam )
: pPam( &rPam ), pPos( 0 ), pDoc( rPam.GetDoc() )
{
@@ -301,7 +293,6 @@ SwDataChanged::SwDataChanged( const SwPaM& rPam )
nCntnt = rPam.GetPoint()->nContent.GetIndex();
}
-
SwDataChanged::SwDataChanged( SwDoc* pDc, const SwPosition& rPos )
: pPam( 0 ), pPos( &rPos ), pDoc( pDc )
{
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 40a07be..9d6a863 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -158,7 +158,6 @@ namespace
}
}
-
// Struct with version numbers of the Items
struct SwAfVersions
@@ -306,7 +305,6 @@ SwBoxAutoFmt::SwBoxAutoFmt()
aBox.SetDistance( 55 );
}
-
SwBoxAutoFmt::SwBoxAutoFmt( const SwBoxAutoFmt& rNew )
: aFont( rNew.aFont ),
aHeight( rNew.aHeight ),
@@ -346,7 +344,6 @@ SwBoxAutoFmt::SwBoxAutoFmt( const SwBoxAutoFmt& rNew )
{
}
-
SwBoxAutoFmt::~SwBoxAutoFmt()
{
}
@@ -548,7 +545,6 @@ sal_Bool SwBoxAutoFmt::Save( SvStream& rStream, sal_uInt16 fileVersion ) const
return 0 == rStream.GetError();
}
-
sal_Bool SwBoxAutoFmt::SaveVersionNo( SvStream& rStream, sal_uInt16 fileVersion ) const
{
rStream << aFont.GetVersion( fileVersion );
@@ -588,8 +584,6 @@ sal_Bool SwBoxAutoFmt::SaveVersionNo( SvStream& rStream, sal_uInt16 fileVersion
return 0 == rStream.GetError();
}
-
-
SwTableAutoFmt::SwTableAutoFmt( const String& rName )
: aName( rName )
, nStrResId( USHRT_MAX )
@@ -611,7 +605,6 @@ SwTableAutoFmt::SwTableAutoFmt( const String& rName )
memset( aBoxAutoFmt, 0, sizeof( aBoxAutoFmt ) );
}
-
SwTableAutoFmt::SwTableAutoFmt( const SwTableAutoFmt& rNew )
: m_aBreak( rNew.m_aBreak )
, m_aKeepWithNextPara( sal_False, RES_KEEP )
@@ -660,7 +653,6 @@ SwTableAutoFmt& SwTableAutoFmt::operator=( const SwTableAutoFmt& rNew )
return *this;
}
-
SwTableAutoFmt::~SwTableAutoFmt()
{
SwBoxAutoFmt** ppFmt = aBoxAutoFmt;
@@ -669,7 +661,6 @@ SwTableAutoFmt::~SwTableAutoFmt()
delete *ppFmt;
}
-
void SwTableAutoFmt::SetBoxFmt( const SwBoxAutoFmt& rNew, sal_uInt8 nPos )
{
OSL_ENSURE( nPos < 16, "wrong area" );
@@ -681,7 +672,6 @@ void SwTableAutoFmt::SetBoxFmt( const SwBoxAutoFmt& rNew, sal_uInt8 nPos )
aBoxAutoFmt[ nPos ] = new SwBoxAutoFmt( rNew );
}
-
const SwBoxAutoFmt& SwTableAutoFmt::GetBoxFmt( sal_uInt8 nPos ) const
{
OSL_ENSURE( nPos < 16, "wrong area" );
@@ -698,8 +688,6 @@ const SwBoxAutoFmt& SwTableAutoFmt::GetBoxFmt( sal_uInt8 nPos ) const
}
}
-
-
void SwTableAutoFmt::UpdateFromSet( sal_uInt8 nPos,
const SfxItemSet& rSet,
UpdateFlags eFlags,
@@ -765,7 +753,6 @@ void SwTableAutoFmt::UpdateFromSet( sal_uInt8 nPos,
// we cannot handle the rest, that's specific to StarCalc
}
-
void SwTableAutoFmt::UpdateToSet(sal_uInt8 nPos, SfxItemSet& rSet,
UpdateFlags eFlags, SvNumberFormatter* pNFmtr) const
{
@@ -1020,7 +1007,6 @@ sal_Bool SwTableAutoFmt::Save( SvStream& rStream, sal_uInt16 fileVersion ) const
return bRet;
}
-
struct SwTableAutoFmtTbl::Impl
{
boost::ptr_vector<SwTableAutoFmt> m_AutoFormats;
@@ -1213,7 +1199,6 @@ sal_Bool SwTableAutoFmtTbl::Load( SvStream& rStream )
return bRet;
}
-
sal_Bool SwTableAutoFmtTbl::Save( SvStream& rStream ) const
{
sal_Bool bRet = 0 == rStream.GetError();
@@ -1246,6 +1231,4 @@ sal_Bool SwTableAutoFmtTbl::Save( SvStream& rStream ) const
return bRet;
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index c0dd49d..1a6c848 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <hintids.hxx>
@@ -57,7 +56,6 @@
using namespace com::sun::star;
using namespace com::sun::star::uno;
-
#define COLFUZZY 20
#define ROWFUZZY 10
@@ -768,7 +766,6 @@ void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* pUndo,
}
}
}
-
}
// Delete the Box first, then the Nodes!
@@ -965,7 +962,6 @@ lcl_SaveUpperLowerBorder( SwTable& rTbl, const SwTableBox& rBox,
rShareFmts.SetAttr( *pPrvBox, aTmp );
}
}
-
}
}
@@ -2488,7 +2484,6 @@ static bool lcl_SetSelBoxWidth( SwTableLine* pLine, CR_SetBoxWidth& rParam,
}
rParam.nLowerDiff = nOldLower;
-
if( nLowerDiff ||
( 0 != ( bGreaterBox = !nOldLower && TBLFIX_CHGABS != rParam.nMode &&
( nDist + ( rParam.bLeft ? 0 : nWidth ) ) >= rParam.nSide)) ||
@@ -3109,7 +3104,6 @@ static bool lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam,
nBoxChkEnd = (sal_uInt16)rParam.nSide;
}
-
while( n != nCntEnd )
{
SwTableBox* pBox;
@@ -3506,7 +3500,6 @@ bool SwTable::SetColWidth( SwTableBox& rAktBox, sal_uInt16 eType,
fnOtherBox = lcl_SetOtherBoxWidth;
}
-
switch( eType & 0xff )
{
case nsTblChgWidthHeightType::WH_COL_RIGHT:
diff --git a/sw/source/core/doc/visiturl.cxx b/sw/source/core/doc/visiturl.cxx
index 78f51e9..99fdf5f 100644
--- a/sw/source/core/doc/visiturl.cxx
+++ b/sw/source/core/doc/visiturl.cxx
@@ -28,7 +28,6 @@
#include <editsh.hxx>
#include <docsh.hxx>
-
SwURLStateChanged::SwURLStateChanged( const SwDoc* pD )
: pDoc( pD )
{
More information about the Libreoffice-commits
mailing list