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
eed41183
Kaydet (Commit)
eed41183
authored
Mar 29, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use const_iterator instead of iterator if possible
Change-Id: I16a4ad9393eb05af3cf493ae476eaa4a791a7925
üst
05a9ca5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
FilterConfigCache.cxx
vcl/source/filter/FilterConfigCache.cxx
+11
-9
No files found.
vcl/source/filter/FilterConfigCache.cxx
Dosyayı görüntüle @
eed41183
...
...
@@ -323,7 +323,7 @@ String FilterConfigCache::GetImportFilterName( sal_uInt16 nFormat )
sal_uInt16
FilterConfigCache
::
GetImportFormatNumber
(
const
String
&
rFormatName
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
sUIName
.
equalsIgnoreAsciiCase
(
rFormatName
)
)
...
...
@@ -335,7 +335,7 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumber( const String& rFormatName )
/// get the index of the filter that matches this extension
sal_uInt16
FilterConfigCache
::
GetImportFormatNumberForExtension
(
const
String
&
rExt
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
for
(
sal_Int32
i
=
0
;
i
<
aIter
->
lExtensionList
.
getLength
();
i
++
)
...
...
@@ -349,7 +349,7 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForExtension( const String& r
sal_uInt16
FilterConfigCache
::
GetImportFormatNumberForMediaType
(
const
String
&
rMediaType
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
sMediaType
.
equalsIgnoreAsciiCase
(
rMediaType
)
)
...
...
@@ -360,7 +360,8 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForMediaType( const String& r
sal_uInt16
FilterConfigCache
::
GetImportFormatNumberForShortName
(
const
String
&
rShortName
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_iterator
aEnd
;
CacheVector
::
iterator
aIter
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
GetShortName
().
EqualsIgnoreCaseAscii
(
rShortName
)
)
...
...
@@ -371,7 +372,7 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForShortName( const String& r
sal_uInt16
FilterConfigCache
::
GetImportFormatNumberForTypeName
(
const
String
&
rType
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
sType
.
equalsIgnoreAsciiCase
(
rType
)
)
...
...
@@ -451,7 +452,7 @@ String FilterConfigCache::GetExportFilterName( sal_uInt16 nFormat )
sal_uInt16
FilterConfigCache
::
GetExportFormatNumber
(
const
String
&
rFormatName
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
sUIName
.
equalsIgnoreAsciiCase
(
rFormatName
)
)
...
...
@@ -462,7 +463,7 @@ sal_uInt16 FilterConfigCache::GetExportFormatNumber( const String& rFormatName )
sal_uInt16
FilterConfigCache
::
GetExportFormatNumberForMediaType
(
const
String
&
rMediaType
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
sMediaType
.
equalsIgnoreAsciiCase
(
rMediaType
)
)
...
...
@@ -473,7 +474,8 @@ sal_uInt16 FilterConfigCache::GetExportFormatNumberForMediaType( const String& r
sal_uInt16
FilterConfigCache
::
GetExportFormatNumberForShortName
(
const
String
&
rShortName
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_iterator
aEnd
;
CacheVector
::
iterator
aIter
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
GetShortName
().
EqualsIgnoreCaseAscii
(
rShortName
)
)
...
...
@@ -484,7 +486,7 @@ sal_uInt16 FilterConfigCache::GetExportFormatNumberForShortName( const String& r
sal_uInt16
FilterConfigCache
::
GetExportFormatNumberForTypeName
(
const
String
&
rType
)
{
CacheVector
::
iterator
aIter
,
aEnd
;
CacheVector
::
const_
iterator
aIter
,
aEnd
;
for
(
aIter
=
aImport
.
begin
(),
aEnd
=
aImport
.
end
();
aIter
!=
aEnd
;
++
aIter
)
{
if
(
aIter
->
sType
.
equalsIgnoreAsciiCase
(
rType
)
)
...
...
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