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
fc7f66d0
Kaydet (Commit)
fc7f66d0
authored
Nis 17, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify wwSprmSearcher further
Change-Id: Ib2d1d7665e5293c126eef5bde6177a88ecd5ce96
üst
3dd99122
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ww8scan.cxx
sw/source/filter/ww8/ww8scan.cxx
+0
-0
ww8scan.hxx
sw/source/filter/ww8/ww8scan.hxx
+7
-3
No files found.
sw/source/filter/ww8/ww8scan.cxx
Dosyayı görüntüle @
fc7f66d0
This diff is collapsed.
Click to expand it.
sw/source/filter/ww8/ww8scan.hxx
Dosyayı görüntüle @
fc7f66d0
...
@@ -60,16 +60,20 @@ namespace SL
...
@@ -60,16 +60,20 @@ namespace SL
struct
SprmInfo
struct
SprmInfo
{
{
sal_uInt16
nId
;
///< A ww8 sprm is hardcoded as 16bits
unsigned
int
nLen
:
6
;
unsigned
int
nLen
:
6
;
unsigned
int
nVari
:
2
;
unsigned
int
nVari
:
2
;
};
};
struct
SprmInfoRow
{
sal_uInt16
nId
;
///< A ww8 sprm is hardcoded as 16bits
SprmInfo
info
;
};
class
wwSprmSearcher
{
class
wwSprmSearcher
{
public
:
public
:
wwSprmSearcher
(
SprmInfo
const
*
info
s
,
std
::
size_t
size
)
{
wwSprmSearcher
(
SprmInfo
Row
const
*
row
s
,
std
::
size_t
size
)
{
for
(
std
::
size_t
i
=
0
;
i
!=
size
;
++
i
)
{
for
(
std
::
size_t
i
=
0
;
i
!=
size
;
++
i
)
{
bool
ins
=
map_
.
insert
(
Map
::
value_type
(
infos
[
i
].
nId
,
infos
[
i
]
))
bool
ins
=
map_
.
insert
(
Map
::
value_type
(
rows
[
i
].
nId
,
rows
[
i
].
info
))
.
second
;
.
second
;
assert
(
ins
);
(
void
)
ins
;
assert
(
ins
);
(
void
)
ins
;
}
}
...
...
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