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
537921fd
Kaydet (Commit)
537921fd
authored
Nis 24, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:simplifybool
Change-Id: Ia53741b8ebf9d8c673c455bd785e0d6a380271df
üst
bfa44945
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
impl.hxx
extensions/source/plugin/inc/plugin/impl.hxx
+1
-1
sane.cxx
extensions/source/scanner/sane.cxx
+1
-1
sane.hxx
extensions/source/scanner/sane.hxx
+2
-2
sanedlg.cxx
extensions/source/scanner/sanedlg.cxx
+2
-2
No files found.
extensions/source/plugin/inc/plugin/impl.hxx
Dosyayı görüntüle @
537921fd
...
...
@@ -202,7 +202,7 @@ public:
void
enterPluginCallback
()
{
m_nCalledFromPlugin
++
;
}
void
leavePluginCallback
()
{
m_nCalledFromPlugin
--
;
}
bool
isDisposable
()
{
return
m_nCalledFromPlugin
<
1
?
true
:
false
;
}
bool
isDisposable
()
{
return
m_nCalledFromPlugin
<
1
;
}
DECL_LINK
(
secondLevelDispose
,
XPlugin_Impl
*
);
void
addPluginEventListener
(
PluginEventListener
*
pListener
)
...
...
extensions/source/scanner/sane.cxx
Dosyayı görüntüle @
537921fd
...
...
@@ -907,7 +907,7 @@ int Sane::GetRange( int n, double*& rpDouble )
rpDouble
=
0
;
int
nItems
,
i
;
bool
bIsFixed
=
mppOptions
[
n
]
->
type
==
SANE_TYPE_FIXED
?
true
:
false
;
bool
bIsFixed
=
mppOptions
[
n
]
->
type
==
SANE_TYPE_FIXED
;
dbg_msg
(
"Sane::GetRange of option %s "
,
mppOptions
[
n
]
->
name
);
if
(
mppOptions
[
n
]
->
constraint_type
==
SANE_CONSTRAINT_RANGE
)
...
...
extensions/source/scanner/sane.hxx
Dosyayı görüntüle @
537921fd
...
...
@@ -112,9 +112,9 @@ public:
~
Sane
();
static
bool
IsSane
()
{
return
pSaneLib
?
true
:
false
;
}
{
return
pSaneLib
!=
nullptr
;
}
bool
IsOpen
()
{
return
maHandle
?
true
:
false
;
}
{
return
maHandle
!=
nullptr
;
}
static
int
CountDevices
()
{
return
nDevices
;
}
static
OUString
GetName
(
int
n
)
...
...
extensions/source/scanner/sanedlg.cxx
Dosyayı görüntüle @
537921fd
...
...
@@ -489,8 +489,8 @@ void SaneDlg::InitFields()
{
OUString
aOption
=
mrSane
.
GetOptionName
(
i
);
bool
bInsertAdvanced
=
mrSane
.
GetOptionCap
(
i
)
&
SANE_CAP_ADVANCED
&&
!
mpAdvancedBox
->
IsChecked
()
?
false
:
true
;
(
mrSane
.
GetOptionCap
(
i
)
&
SANE_CAP_ADVANCED
)
==
0
||
mpAdvancedBox
->
IsChecked
()
;
if
(
mrSane
.
GetOptionType
(
i
)
==
SANE_TYPE_GROUP
)
{
if
(
bInsertAdvanced
)
...
...
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