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
e7641433
Kaydet (Commit)
e7641433
authored
Agu 16, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert int to bool
Change-Id: I4fb95c90dc1f188f8088ba1e4b7bfd0ebc59eb60
üst
439354a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
keyimpl.cxx
registry/source/keyimpl.cxx
+2
-2
keyimpl.hxx
registry/source/keyimpl.hxx
+6
-6
No files found.
registry/source/keyimpl.cxx
Dosyayı görüntüle @
e7641433
...
...
@@ -36,8 +36,8 @@ namespace { static char const VALUE_PREFIX[] = "$VL_"; }
ORegKey
::
ORegKey
(
const
OUString
&
keyName
,
ORegistry
*
pReg
)
:
m_refCount
(
1
)
,
m_name
(
keyName
)
,
m_bDeleted
(
0
)
,
m_bModified
(
0
)
,
m_bDeleted
(
false
)
,
m_bModified
(
false
)
,
m_pRegistry
(
pReg
)
{
}
...
...
registry/source/keyimpl.hxx
Dosyayı görüntüle @
e7641433
...
...
@@ -97,16 +97,16 @@ public:
OUString
&
resolvedName
);
bool
isDeleted
()
const
{
return
m_bDeleted
!=
0
;
}
{
return
m_bDeleted
;
}
void
setDeleted
(
bool
bKeyDeleted
)
{
m_bDeleted
=
bKeyDeleted
?
1
:
0
;
}
{
m_bDeleted
=
bKeyDeleted
;
}
bool
isModified
()
const
{
return
m_bModified
!=
0
;
}
{
return
m_bModified
;
}
void
setModified
(
bool
bModified
=
true
)
{
m_bModified
=
bModified
?
1
:
0
;
}
{
m_bModified
=
bModified
;
}
bool
isReadOnly
()
const
{
return
m_pRegistry
->
isReadOnly
();
}
...
...
@@ -132,8 +132,8 @@ public:
private
:
sal_uInt32
m_refCount
;
OUString
m_name
;
int
m_bDeleted
:
1
;
int
m_bModified
:
1
;
bool
m_bDeleted
:
1
;
bool
m_bModified
:
1
;
ORegistry
*
m_pRegistry
;
};
...
...
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