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
c6f4bbfa
Kaydet (Commit)
c6f4bbfa
authored
May 27, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i122208# const SC containers cannot provide non-const iterators
üst
fd7b9ada
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
bcaslot.cxx
sc/source/core/data/bcaslot.cxx
+3
-3
bcaslot.hxx
sc/source/core/inc/bcaslot.hxx
+1
-1
xeescher.cxx
sc/source/filter/excel/xeescher.cxx
+2
-1
No files found.
sc/source/core/data/bcaslot.cxx
Dosyayı görüntüle @
c6f4bbfa
...
@@ -232,7 +232,7 @@ void ScBroadcastAreaSlot::EndListeningArea( const ScRange& rRange,
...
@@ -232,7 +232,7 @@ void ScBroadcastAreaSlot::EndListeningArea( const ScRange& rRange,
DBG_ASSERT
(
pListener
,
"EndListeningArea: pListener Null"
);
DBG_ASSERT
(
pListener
,
"EndListeningArea: pListener Null"
);
if
(
!
rpArea
)
if
(
!
rpArea
)
{
{
ScBroadcastAreas
::
iterator
aIter
(
FindBroadcastArea
(
rRange
));
ScBroadcastAreas
::
const_
iterator
aIter
(
FindBroadcastArea
(
rRange
));
if
(
aIter
==
aBroadcastAreaTbl
.
end
())
if
(
aIter
==
aBroadcastAreaTbl
.
end
())
return
;
return
;
rpArea
=
*
aIter
;
rpArea
=
*
aIter
;
...
@@ -251,7 +251,7 @@ void ScBroadcastAreaSlot::EndListeningArea( const ScRange& rRange,
...
@@ -251,7 +251,7 @@ void ScBroadcastAreaSlot::EndListeningArea( const ScRange& rRange,
{
{
if
(
!
rpArea
->
GetBroadcaster
().
HasListeners
()
)
if
(
!
rpArea
->
GetBroadcaster
().
HasListeners
()
)
{
{
ScBroadcastAreas
::
iterator
aIter
(
FindBroadcastArea
(
rRange
));
ScBroadcastAreas
::
const_
iterator
aIter
(
FindBroadcastArea
(
rRange
));
if
(
aIter
==
aBroadcastAreaTbl
.
end
())
if
(
aIter
==
aBroadcastAreaTbl
.
end
())
return
;
return
;
DBG_ASSERT
(
*
aIter
==
rpArea
,
"EndListeningArea: area pointer mismatch"
);
DBG_ASSERT
(
*
aIter
==
rpArea
,
"EndListeningArea: area pointer mismatch"
);
...
@@ -266,7 +266,7 @@ void ScBroadcastAreaSlot::EndListeningArea( const ScRange& rRange,
...
@@ -266,7 +266,7 @@ void ScBroadcastAreaSlot::EndListeningArea( const ScRange& rRange,
}
}
ScBroadcastAreas
::
iterator
ScBroadcastAreaSlot
::
FindBroadcastArea
(
ScBroadcastAreas
::
const_
iterator
ScBroadcastAreaSlot
::
FindBroadcastArea
(
const
ScRange
&
rRange
)
const
const
ScRange
&
rRange
)
const
{
{
aTmpSeekBroadcastArea
.
UpdateRange
(
rRange
);
aTmpSeekBroadcastArea
.
UpdateRange
(
rRange
);
...
...
sc/source/core/inc/bcaslot.hxx
Dosyayı görüntüle @
c6f4bbfa
...
@@ -128,7 +128,7 @@ private:
...
@@ -128,7 +128,7 @@ private:
ScDocument
*
pDoc
;
ScDocument
*
pDoc
;
ScBroadcastAreaSlotMachine
*
pBASM
;
ScBroadcastAreaSlotMachine
*
pBASM
;
ScBroadcastAreas
::
iterator
FindBroadcastArea
(
const
ScRange
&
rRange
)
const
;
ScBroadcastAreas
::
const_
iterator
FindBroadcastArea
(
const
ScRange
&
rRange
)
const
;
/**
/**
More hypothetical (memory would probably be doomed anyway) check
More hypothetical (memory would probably be doomed anyway) check
...
...
sc/source/filter/excel/xeescher.cxx
Dosyayı görüntüle @
c6f4bbfa
...
@@ -1149,12 +1149,13 @@ void XclExpComments::SaveXml( XclExpXmlStream& rStrm )
...
@@ -1149,12 +1149,13 @@ void XclExpComments::SaveXml( XclExpXmlStream& rStrm )
rComments
->
endElement
(
XML_authors
);
rComments
->
endElement
(
XML_authors
);
rComments
->
startElement
(
XML_commentList
,
FSEND
);
rComments
->
startElement
(
XML_commentList
,
FSEND
);
Authors
::
const_iterator
aAuthorsBegin
=
aAuthors
.
begin
();
for
(
size_t
i
=
0
;
i
<
nNotes
;
++
i
)
for
(
size_t
i
=
0
;
i
<
nNotes
;
++
i
)
{
{
XclExpNoteList
::
RecordRefType
xNote
=
mrNotes
.
GetRecord
(
i
);
XclExpNoteList
::
RecordRefType
xNote
=
mrNotes
.
GetRecord
(
i
);
Authors
::
const_iterator
aAuthor
=
aAuthors
.
find
(
Authors
::
const_iterator
aAuthor
=
aAuthors
.
find
(
XclXmlUtils
::
ToOUString
(
xNote
->
GetAuthor
()
)
);
XclXmlUtils
::
ToOUString
(
xNote
->
GetAuthor
()
)
);
sal_Int32
nAuthorId
=
distance
(
aAuthors
.
begin
()
,
aAuthor
);
sal_Int32
nAuthorId
=
distance
(
aAuthors
Begin
,
aAuthor
);
xNote
->
WriteXml
(
nAuthorId
,
rStrm
);
xNote
->
WriteXml
(
nAuthorId
,
rStrm
);
}
}
...
...
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