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
b905d3e9
Kaydet (Commit)
b905d3e9
authored
Kas 06, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uIntPtr to sal_Int32
Change-Id: Ib21faeca4ca05bcb534c0418025c7f2607d21077
üst
88f48668
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
styfitem.cxx
sfx2/source/dialog/styfitem.cxx
+7
-8
No files found.
sfx2/source/dialog/styfitem.cxx
Dosyayı görüntüle @
b905d3e9
...
@@ -38,17 +38,16 @@ SfxStyleFamilyItem::SfxStyleFamilyItem( const ResId &rResId ) :
...
@@ -38,17 +38,16 @@ SfxStyleFamilyItem::SfxStyleFamilyItem( const ResId &rResId ) :
Resource
(
rResId
.
SetRT
(
RSC_SFX_STYLE_FAMILY_ITEM
)
)
Resource
(
rResId
.
SetRT
(
RSC_SFX_STYLE_FAMILY_ITEM
)
)
{
{
sal_uIntPtr
nMask
=
ReadLongRes
();
const
sal_Int32
nMask
=
ReadLongRes
();
if
(
nMask
&
RSC_SFX_STYLE_ITEM_LIST
)
if
(
nMask
&
RSC_SFX_STYLE_ITEM_LIST
)
{
{
sal_uIntPtr
nCount
=
ReadLongRes
();
const
sal_Int32
nCount
=
ReadLongRes
();
for
(
sal_
uIntPtr
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_
Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
{
SfxFilterTupel
*
pTupel
=
new
SfxFilterTupel
;
SfxFilterTupel
*
pTupel
=
new
SfxFilterTupel
;
pTupel
->
aName
=
ReadStringRes
();
pTupel
->
aName
=
ReadStringRes
();
long
lFlags
=
ReadLongRes
();
pTupel
->
nFlags
=
static_cast
<
sal_uInt16
>
(
ReadLongRes
());
pTupel
->
nFlags
=
(
sal_uInt16
)
lFlags
;
aFilterList
.
push_back
(
pTupel
);
aFilterList
.
push_back
(
pTupel
);
}
}
}
}
...
@@ -67,7 +66,7 @@ SfxStyleFamilyItem::SfxStyleFamilyItem( const ResId &rResId ) :
...
@@ -67,7 +66,7 @@ SfxStyleFamilyItem::SfxStyleFamilyItem( const ResId &rResId ) :
}
}
if
(
nMask
&
RSC_SFX_STYLE_ITEM_STYLEFAMILY
)
if
(
nMask
&
RSC_SFX_STYLE_ITEM_STYLEFAMILY
)
{
{
nFamily
=
(
sal_uInt16
)
ReadLongRes
(
);
nFamily
=
static_cast
<
sal_uInt16
>
(
ReadLongRes
()
);
}
}
else
else
nFamily
=
SFX_STYLE_FAMILY_PARA
;
nFamily
=
SFX_STYLE_FAMILY_PARA
;
...
@@ -98,8 +97,8 @@ SfxStyleFamilyItem::~SfxStyleFamilyItem()
...
@@ -98,8 +97,8 @@ SfxStyleFamilyItem::~SfxStyleFamilyItem()
SfxStyleFamilies
::
SfxStyleFamilies
(
const
ResId
&
rResId
)
:
SfxStyleFamilies
::
SfxStyleFamilies
(
const
ResId
&
rResId
)
:
Resource
(
rResId
.
SetRT
(
RSC_SFX_STYLE_FAMILIES
).
SetAutoRelease
(
false
)
)
Resource
(
rResId
.
SetRT
(
RSC_SFX_STYLE_FAMILIES
).
SetAutoRelease
(
false
)
)
{
{
sal_uIntPtr
nCount
=
ReadLongRes
();
const
sal_Int32
nCount
=
ReadLongRes
();
for
(
sal_
uIntPtr
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_
Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
{
const
ResId
aResId
(
static_cast
<
RSHEADER_TYPE
*>
(
GetClassRes
()),
*
rResId
.
GetResMgr
());
const
ResId
aResId
(
static_cast
<
RSHEADER_TYPE
*>
(
GetClassRes
()),
*
rResId
.
GetResMgr
());
SfxStyleFamilyItem
*
pItem
=
new
SfxStyleFamilyItem
(
aResId
);
SfxStyleFamilyItem
*
pItem
=
new
SfxStyleFamilyItem
(
aResId
);
...
...
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