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
1eed4c83
Kaydet (Commit)
1eed4c83
authored
Haz 28, 2012
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i#119400 repair broken undo
Change-Id: I36d74fe1555bd436f93a5fa595e7da05bbd37493
üst
b4fae029
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
undo.cxx
svl/source/undo/undo.cxx
+7
-3
No files found.
svl/source/undo/undo.cxx
Dosyayı görüntüle @
1eed4c83
...
@@ -635,10 +635,14 @@ bool SfxUndoManager::ImplAddUndoAction_NoNotify( SfxUndoAction *pAction, bool bT
...
@@ -635,10 +635,14 @@ bool SfxUndoManager::ImplAddUndoAction_NoNotify( SfxUndoAction *pAction, bool bT
// merge, if required
// merge, if required
SfxUndoAction
*
pMergeWithAction
=
m_pData
->
pActUndoArray
->
nCurUndoAction
?
SfxUndoAction
*
pMergeWithAction
=
m_pData
->
pActUndoArray
->
nCurUndoAction
?
m_pData
->
pActUndoArray
->
aUndoActions
[
m_pData
->
pActUndoArray
->
nCurUndoAction
-
1
].
pAction
:
NULL
;
m_pData
->
pActUndoArray
->
aUndoActions
[
m_pData
->
pActUndoArray
->
nCurUndoAction
-
1
].
pAction
:
NULL
;
if
(
bTryMerge
&&
(
!
pMergeWithAction
||
!
pMergeWithAction
->
Merge
(
pAction
)
)
)
if
(
bTryMerge
&&
pMergeWithAction
)
{
{
i_guard
.
markForDeletion
(
pAction
);
bool
bMerged
=
pMergeWithAction
->
Merge
(
pAction
);
return
false
;
if
(
bMerged
)
{
i_guard
.
markForDeletion
(
pAction
);
return
false
;
}
}
}
// clear redo stack, if requested
// clear redo stack, if requested
...
...
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