Kaydet (Commit) bcfc9fc3 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: make sw msvc2008 warnings free

Change-Id: I348a59b3c1b060a084680328aa07089b3c7ccc66
üst 15a2cdb6
......@@ -986,7 +986,7 @@ void SwTOXBaseSection::Update(const SfxItemSet* pAttr,
// Generate: Evaluate Form and insert the place holder for the
// page number. If it is a TOX_INDEX and the SwForm IsCommaSeparated()
// then a range of entries must be generated into one paragraph
sal_uInt16 nRange = 1;
size_t nRange = 1;
if(TOX_INDEX == SwTOXBase::GetType() &&
GetTOXForm().IsCommaSeparated() &&
aSortArr[nCnt]->GetType() == TOX_SORT_INDEX)
......@@ -1878,7 +1878,7 @@ void SwTOXBaseSection::UpdatePageNum()
GetOptions() : 0,
GetSortAlgorithm() );
for( sal_uInt16 nCnt = 0; nCnt < aSortArr.size(); ++nCnt )
for( size_t nCnt = 0; nCnt < aSortArr.size(); ++nCnt )
{
// Loop over all SourceNodes
std::vector<sal_uInt16> aNums; // the PageNumber
......
......@@ -104,7 +104,13 @@ SwWordCountFloatDlg::SwWordCountFloatDlg(SfxBindings* _pBindings,
Window *pParent,
SfxChildWinInfo* pInfo)
: SfxModelessDialog(_pBindings, pChild, pParent, SW_RES(DLG_WORDCOUNT)),
#if defined _MSC_VER
#pragma warning (disable : 4355)
#endif
aDlg(this)
#if defined _MSC_VER
#pragma warning (default : 4355)
#endif
{
FreeResource();
Initialize(pInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment