Kaydet (Commit) 6ec885c9 authored tarafından Michael Stahl's avatar Michael Stahl

warning C4245 signed/unsigned mismatch

Turns out that mnVisiblePageCount is actually never read.

Change-Id: I6bded733bb551525a6143976ad4c4447a5a56773
üst cada99ef
......@@ -29,7 +29,6 @@ void ImpPageListWatcher::ImpRecreateSortedPageListOnDemand()
maPageVectorStandard.clear();
maPageVectorNotes.clear();
mpHandoutPage = 0L;
mnVisiblePageCount = -1;
// build up vectors again
const sal_uInt32 nPageCount(ImpGetPageCount());
......@@ -44,7 +43,6 @@ void ImpPageListWatcher::ImpRecreateSortedPageListOnDemand()
case PK_STANDARD:
{
maPageVectorStandard.push_back(pCandidate);
if (!pCandidate->IsExcluded()) mnVisiblePageCount++;
break;
}
case PK_NOTES:
......@@ -69,7 +67,6 @@ ImpPageListWatcher::ImpPageListWatcher(const SdrModel& rModel)
: mrModel(rModel)
, mpHandoutPage(0L)
, mbPageListValid(false)
, mnVisiblePageCount(0)
{
}
......
......@@ -43,7 +43,6 @@ protected:
SdPage* mpHandoutPage;
bool mbPageListValid;
sal_uInt32 mnVisiblePageCount;
void ImpRecreateSortedPageListOnDemand();
virtual sal_uInt32 ImpGetPageCount() const = 0;
......
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