Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ef59f096
Kaydet (Commit)
ef59f096
authored
Şub 02, 2016
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: prefix members of SvdProgressInfo
Change-Id: I23fa86080c001d3a78c3b7d7c49274f01444d9be
üst
37b465b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
39 deletions
+39
-39
svdetc.hxx
include/svx/svdetc.hxx
+15
-15
svdetc.cxx
svx/source/svdraw/svdetc.cxx
+24
-24
No files found.
include/svx/svdetc.hxx
Dosyayı görüntüle @
ef59f096
...
...
@@ -130,17 +130,17 @@ sal_uInt16* RemoveWhichRange(const sal_uInt16* pOldWhichTable, sal_uInt16 nRange
class
SVX_DLLPUBLIC
SvdProgressInfo
{
private
:
sal_uIntPtr
nSumActionCount
;
// Sum of all Actions
sal_uIntPtr
nSumCurAction
;
// Sum of all handled Actions
sal_uIntPtr
m_
nSumActionCount
;
// Sum of all Actions
sal_uIntPtr
m_
nSumCurAction
;
// Sum of all handled Actions
sal_uIntPtr
nActionCount
;
// Count of Actions in the current object
sal_uIntPtr
nCurAction
;
// Count of handled Actions in the current object
sal_uIntPtr
m_
nActionCount
;
// Count of Actions in the current object
sal_uIntPtr
m_
nCurAction
;
// Count of handled Actions in the current object
sal_uIntPtr
nInsertCount
;
// Count of to-be-inserted Actions in the current object
sal_uIntPtr
nCurInsert
;
// Count of already inserted Actions
sal_uIntPtr
m_
nInsertCount
;
// Count of to-be-inserted Actions in the current object
sal_uIntPtr
m_
nCurInsert
;
// Count of already inserted Actions
sal_uIntPtr
nObjCount
;
// Count of selected objects
sal_uIntPtr
nCurObj
;
// Current object
sal_uIntPtr
m_
nObjCount
;
// Count of selected objects
sal_uIntPtr
m_
nCurObj
;
// Current object
Link
<
void
*
,
bool
>
maLink
;
...
...
@@ -157,15 +157,15 @@ public:
bool
ReportActions
(
sal_uIntPtr
nActionCount
);
void
ReportInserts
(
sal_uIntPtr
nInsertCount
);
sal_uIntPtr
GetSumCurAction
()
const
{
return
nSumCurAction
;
};
sal_uIntPtr
GetObjCount
()
const
{
return
nObjCount
;
};
sal_uIntPtr
GetCurObj
()
const
{
return
nCurObj
;
};
sal_uIntPtr
GetSumCurAction
()
const
{
return
m_
nSumCurAction
;
};
sal_uIntPtr
GetObjCount
()
const
{
return
m_
nObjCount
;
};
sal_uIntPtr
GetCurObj
()
const
{
return
m_
nCurObj
;
};
sal_uIntPtr
GetActionCount
()
const
{
return
nActionCount
;
};
sal_uIntPtr
GetCurAction
()
const
{
return
nCurAction
;
};
sal_uIntPtr
GetActionCount
()
const
{
return
m_
nActionCount
;
};
sal_uIntPtr
GetCurAction
()
const
{
return
m_
nCurAction
;
};
sal_uIntPtr
GetInsertCount
()
const
{
return
nInsertCount
;
};
sal_uIntPtr
GetCurInsert
()
const
{
return
nCurInsert
;
};
sal_uIntPtr
GetInsertCount
()
const
{
return
m_
nInsertCount
;
};
sal_uIntPtr
GetCurInsert
()
const
{
return
m_
nCurInsert
;
};
void
ReportRescales
(
sal_uIntPtr
nRescaleCount
);
};
...
...
svx/source/svdraw/svdetc.cxx
Dosyayı görüntüle @
ef59f096
...
...
@@ -554,68 +554,68 @@ sal_uInt16* RemoveWhichRange(const sal_uInt16* pOldWhichTable, sal_uInt16 nRange
SvdProgressInfo
::
SvdProgressInfo
(
const
Link
<
void
*
,
bool
>&
_rLink
)
{
maLink
=
_rLink
;
nSumActionCount
=
0
;
nSumCurAction
=
0
;
m_
nSumActionCount
=
0
;
m_
nSumCurAction
=
0
;
nObjCount
=
0
;
nCurObj
=
0
;
m_
nObjCount
=
0
;
m_
nCurObj
=
0
;
nActionCount
=
0
;
nCurAction
=
0
;
m_
nActionCount
=
0
;
m_
nCurAction
=
0
;
nInsertCount
=
0
;
nCurInsert
=
0
;
m_
nInsertCount
=
0
;
m_
nCurInsert
=
0
;
}
void
SvdProgressInfo
::
Init
(
sal_uIntPtr
_nSumActionCount
,
sal_uIntPtr
_nObjCount
)
{
nSumActionCount
=
_nSumActionCount
;
nObjCount
=
_nObjCount
;
m_
nSumActionCount
=
_nSumActionCount
;
m_
nObjCount
=
_nObjCount
;
}
bool
SvdProgressInfo
::
ReportActions
(
sal_uIntPtr
nAnzActions
)
{
nSumCurAction
+=
nAnzActions
;
nCurAction
+=
nAnzActions
;
if
(
nCurAction
>
nActionCount
)
nCurAction
=
nActionCount
;
m_
nSumCurAction
+=
nAnzActions
;
m_
nCurAction
+=
nAnzActions
;
if
(
m_nCurAction
>
m_
nActionCount
)
m_nCurAction
=
m_
nActionCount
;
return
maLink
.
Call
(
nullptr
);
}
void
SvdProgressInfo
::
ReportInserts
(
sal_uIntPtr
nAnzInserts
)
{
nSumCurAction
+=
nAnzInserts
;
nCurInsert
+=
nAnzInserts
;
m_
nSumCurAction
+=
nAnzInserts
;
m_
nCurInsert
+=
nAnzInserts
;
maLink
.
Call
(
nullptr
);
}
void
SvdProgressInfo
::
ReportRescales
(
sal_uIntPtr
nAnzRescales
)
{
nSumCurAction
+=
nAnzRescales
;
m_
nSumCurAction
+=
nAnzRescales
;
maLink
.
Call
(
nullptr
);
}
void
SvdProgressInfo
::
SetActionCount
(
sal_uIntPtr
_nActionCount
)
{
nActionCount
=
_nActionCount
;
m_
nActionCount
=
_nActionCount
;
}
void
SvdProgressInfo
::
SetInsertCount
(
sal_uIntPtr
_nInsertCount
)
{
nInsertCount
=
_nInsertCount
;
m_
nInsertCount
=
_nInsertCount
;
}
void
SvdProgressInfo
::
SetNextObject
()
{
nActionCount
=
0
;
nCurAction
=
0
;
m_
nActionCount
=
0
;
m_
nCurAction
=
0
;
nInsertCount
=
0
;
nCurInsert
=
0
;
m_
nInsertCount
=
0
;
m_
nCurInsert
=
0
;
nCurObj
++
;
m_
nCurObj
++
;
ReportActions
(
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment