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
3e8ae241
Kaydet (Commit)
3e8ae241
authored
Haz 10, 2011
tarafından
Kohei Yoshida
Kaydeden (comit)
Tor Lillqvist
Haz 10, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Prevent a crash during multiple operations.
Signed-off-by:
Tor Lillqvist
<
tlillqvist@novell.com
>
üst
445aa9fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
interpr4.cxx
sc/source/core/tool/interpr4.cxx
+19
-1
No files found.
sc/source/core/tool/interpr4.cxx
Dosyayı görüntüle @
3e8ae241
...
@@ -3397,6 +3397,20 @@ sal_Bool ScInterpreter::SetSbxVariable( SbxVariable* pVar, const ScAddress& rPos
...
@@ -3397,6 +3397,20 @@ sal_Bool ScInterpreter::SetSbxVariable( SbxVariable* pVar, const ScAddress& rPos
return
bOk
;
return
bOk
;
}
}
namespace
{
class
FindByPointer
:
::
std
::
unary_function
<
ScInterpreterTableOpParams
,
bool
>
{
const
ScInterpreterTableOpParams
*
mpTableOp
;
public
:
FindByPointer
(
const
ScInterpreterTableOpParams
*
p
)
:
mpTableOp
(
p
)
{}
bool
operator
()
(
const
ScInterpreterTableOpParams
&
val
)
const
{
return
&
val
==
mpTableOp
;
}
};
}
void
ScInterpreter
::
ScTableOp
()
void
ScInterpreter
::
ScTableOp
()
{
{
...
@@ -3456,7 +3470,11 @@ void ScInterpreter::ScTableOp()
...
@@ -3456,7 +3470,11 @@ void ScInterpreter::ScTableOp()
PushString
(
aCellString
);
PushString
(
aCellString
);
}
}
pTableOp
=
pDok
->
aTableOpList
.
release
(
pDok
->
aTableOpList
.
end
()
).
release
();
boost
::
ptr_vector
<
ScInterpreterTableOpParams
>::
iterator
itr
=
::
std
::
find_if
(
pDok
->
aTableOpList
.
begin
(),
pDok
->
aTableOpList
.
end
(),
FindByPointer
(
pTableOp
));
if
(
itr
!=
pDok
->
aTableOpList
.
end
())
pTableOp
=
pDok
->
aTableOpList
.
release
(
itr
).
release
();
// set dirty again once more to be able to recalculate original
// set dirty again once more to be able to recalculate original
for
(
::
std
::
vector
<
ScFormulaCell
*
>::
const_iterator
iBroadcast
(
for
(
::
std
::
vector
<
ScFormulaCell
*
>::
const_iterator
iBroadcast
(
pTableOp
->
aNotifiedFormulaCells
.
begin
()
);
pTableOp
->
aNotifiedFormulaCells
.
begin
()
);
...
...
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