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
99862627
Kaydet (Commit)
99862627
authored
Agu 16, 2011
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: possibly efficient checking for emptiness
üst
13021dae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
FilterContainer.cxx
fpicker/source/win32/filepicker/FilterContainer.cxx
+3
-3
No files found.
fpicker/source/win32/filepicker/FilterContainer.cxx
Dosyayı görüntüle @
99862627
...
...
@@ -96,7 +96,7 @@ sal_Bool SAL_CALL CFilterContainer::addFilter(
sal_Bool
SAL_CALL
CFilterContainer
::
delFilter
(
const
OUString
&
aName
)
{
OSL_ASSERT
(
m_vFilters
.
size
()
>
0
);
OSL_ASSERT
(
!
m_vFilters
.
empty
()
);
sal_Int32
pos
=
getFilterTagPos
(
aName
);
if
(
pos
>
-
1
)
...
...
@@ -134,7 +134,7 @@ void SAL_CALL CFilterContainer::empty()
sal_Bool
SAL_CALL
CFilterContainer
::
getFilter
(
const
OUString
&
aName
,
OUString
&
theFilter
)
const
{
OSL_PRECOND
(
m_vFilters
.
size
()
>
0
,
"Empty filter container"
);
OSL_PRECOND
(
!
m_vFilters
.
empty
()
,
"Empty filter container"
);
sal_Int32
pos
=
getFilterTagPos
(
aName
);
...
...
@@ -188,7 +188,7 @@ sal_Int32 SAL_CALL CFilterContainer::getFilterPos( const OUString& aName ) const
sal_Int32
SAL_CALL
CFilterContainer
::
getFilterTagPos
(
const
OUString
&
aName
)
const
{
if
(
m_vFilters
.
size
(
)
>
0
)
if
(
!
m_vFilters
.
empty
()
)
{
sal_Int32
i
=
0
;
FILTER_VECTOR_T
::
const_iterator
iter
;
...
...
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