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
04bc1bd4
Kaydet (Commit)
04bc1bd4
authored
Eyl 07, 2015
tarafından
matteocam
Kaydeden (comit)
Thorsten Behrens
Eyl 20, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
chained editeng: Handle chaining for cutting and pasting
Change-Id: Iec08e339a7f06c5fa56e67b42206b31c766f845b
üst
c3213191
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
outlvw.cxx
editeng/source/outliner/outlvw.cxx
+10
-1
No files found.
editeng/source/outliner/outlvw.cxx
Dosyayı görüntüle @
04bc1bd4
...
@@ -675,8 +675,12 @@ void OutlinerView::InsertText( const OutlinerParaObject& rParaObj )
...
@@ -675,8 +675,12 @@ void OutlinerView::InsertText( const OutlinerParaObject& rParaObj )
void
OutlinerView
::
Cut
()
void
OutlinerView
::
Cut
()
{
{
if
(
!
ImpCalcSelectedPages
(
false
)
||
pOwner
->
ImpCanDeleteSelectedPages
(
this
)
)
if
(
!
ImpCalcSelectedPages
(
false
)
||
pOwner
->
ImpCanDeleteSelectedPages
(
this
)
)
{
pEditView
->
Cut
();
pEditView
->
Cut
();
// Chaining handling
if
(
aEndCutPasteLink
.
IsSet
())
aEndCutPasteLink
.
Call
(
NULL
);
}
}
}
void
OutlinerView
::
Paste
()
void
OutlinerView
::
Paste
()
...
@@ -705,6 +709,11 @@ void OutlinerView::PasteSpecial()
...
@@ -705,6 +709,11 @@ void OutlinerView::PasteSpecial()
pEditView
->
SetEditEngineUpdateMode
(
true
);
pEditView
->
SetEditEngineUpdateMode
(
true
);
pOwner
->
UndoActionEnd
(
OLUNDO_INSERT
);
pOwner
->
UndoActionEnd
(
OLUNDO_INSERT
);
pEditView
->
ShowCursor
(
true
);
pEditView
->
ShowCursor
(
true
);
// Chaining handling
// NOTE: We need to do this last because it pEditView may be deleted if a switch of box occurs
if
(
aEndCutPasteLink
.
IsSet
())
aEndCutPasteLink
.
Call
(
NULL
);
}
}
}
}
...
...
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