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
fbdaa717
Kaydet (Commit)
fbdaa717
authored
Şub 07, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mark these members mutable to avoid casting them in const method.
Change-Id: Ib5d8ea83e37ab1e3c5a1ad4dc9870d3d5a2d8779
üst
ab054346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
xmlstyle.cxx
xmloff/source/style/xmlstyle.cxx
+4
-5
No files found.
xmloff/source/style/xmlstyle.cxx
Dosyayı görüntüle @
fbdaa717
...
@@ -259,11 +259,11 @@ class SvXMLStylesContext_Impl
...
@@ -259,11 +259,11 @@ class SvXMLStylesContext_Impl
typedef
std
::
set
<
SvXMLStyleIndex_Impl
,
SvXMLStyleIndexCmp_Impl
>
IndicesType
;
typedef
std
::
set
<
SvXMLStyleIndex_Impl
,
SvXMLStyleIndexCmp_Impl
>
IndicesType
;
StylesType
aStyles
;
StylesType
aStyles
;
IndicesType
*
pIndices
;
mutable
IndicesType
*
pIndices
;
bool
bAutomaticStyle
;
bool
bAutomaticStyle
;
#ifdef DBG_UTIL
#ifdef DBG_UTIL
sal_uInt32
nIndexCreated
;
mutable
sal_uInt32
nIndexCreated
;
#endif
#endif
void
FlushIndex
()
{
delete
pIndices
;
pIndices
=
0
;
}
void
FlushIndex
()
{
delete
pIndices
;
pIndices
=
0
;
}
...
@@ -345,11 +345,10 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext( sal_uIn
...
@@ -345,11 +345,10 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext( sal_uIn
DBG_ASSERT
(
0
==
nIndexCreated
,
DBG_ASSERT
(
0
==
nIndexCreated
,
"Performance warning: sdbcx::Index created multiple times"
);
"Performance warning: sdbcx::Index created multiple times"
);
#endif
#endif
((
SvXMLStylesContext_Impl
*
)
this
)
->
pIndices
=
pIndices
=
new
IndicesType
(
aStyles
.
begin
(),
aStyles
.
end
());
new
IndicesType
(
aStyles
.
begin
(),
aStyles
.
end
()
);
SAL_WARN_IF
(
pIndices
->
size
()
!=
aStyles
.
size
(),
"xmloff"
,
"Here is a duplicate Style"
);
SAL_WARN_IF
(
pIndices
->
size
()
!=
aStyles
.
size
(),
"xmloff"
,
"Here is a duplicate Style"
);
#ifdef DBG_UTIL
#ifdef DBG_UTIL
((
SvXMLStylesContext_Impl
*
)
this
)
->
nIndexCreated
++
;
++
nIndexCreated
;
#endif
#endif
}
}
...
...
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