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
d29e1960
Kaydet (Commit)
d29e1960
authored
Tem 27, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert EE_ACTION constants to scoped enum
Change-Id: Iaa51c235a2118e0d808400eba622fbe021571b38
üst
19ae187b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
impedit.cxx
editeng/source/editeng/impedit.cxx
+2
-4
editdata.hxx
include/editeng/editdata.hxx
+5
-6
No files found.
editeng/source/editeng/impedit.cxx
Dosyayı görüntüle @
d29e1960
...
@@ -1400,8 +1400,7 @@ void ImpEditView::Paste( ::com::sun::star::uno::Reference< ::com::sun::star::dat
...
@@ -1400,8 +1400,7 @@ void ImpEditView::Paste( ::com::sun::star::uno::Reference< ::com::sun::star::dat
aSel
=
pEditEngine
->
DeleteSelection
(
aSel
);
aSel
=
pEditEngine
->
DeleteSelection
(
aSel
);
}
}
PasteOrDropInfos
aPasteOrDropInfos
;
PasteOrDropInfos
aPasteOrDropInfos
(
PasteOrDropInfosAction
::
PASTE
);
aPasteOrDropInfos
.
nAction
=
EE_ACTION_PASTE
;
aPasteOrDropInfos
.
nStartPara
=
pEditEngine
->
GetEditDoc
().
GetPos
(
aSel
.
Min
().
GetNode
()
);
aPasteOrDropInfos
.
nStartPara
=
pEditEngine
->
GetEditDoc
().
GetPos
(
aSel
.
Min
().
GetNode
()
);
pEditEngine
->
HandleBeginPasteOrDrop
(
aPasteOrDropInfos
);
pEditEngine
->
HandleBeginPasteOrDrop
(
aPasteOrDropInfos
);
...
@@ -1839,8 +1838,7 @@ void ImpEditView::drop( const ::com::sun::star::datatransfer::dnd::DropTargetDro
...
@@ -1839,8 +1838,7 @@ void ImpEditView::drop( const ::com::sun::star::datatransfer::dnd::DropTargetDro
DrawSelection
();
DrawSelection
();
EditPaM
aPaM
(
pDragAndDropInfo
->
aDropDest
);
EditPaM
aPaM
(
pDragAndDropInfo
->
aDropDest
);
PasteOrDropInfos
aPasteOrDropInfos
;
PasteOrDropInfos
aPasteOrDropInfos
(
PasteOrDropInfosAction
::
DROP
);
aPasteOrDropInfos
.
nAction
=
EE_ACTION_DROP
;
aPasteOrDropInfos
.
nStartPara
=
pEditEngine
->
GetEditDoc
().
GetPos
(
aPaM
.
GetNode
()
);
aPasteOrDropInfos
.
nStartPara
=
pEditEngine
->
GetEditDoc
().
GetPos
(
aPaM
.
GetNode
()
);
pEditEngine
->
HandleBeginPasteOrDrop
(
aPasteOrDropInfos
);
pEditEngine
->
HandleBeginPasteOrDrop
(
aPasteOrDropInfos
);
...
...
include/editeng/editdata.hxx
Dosyayı görüntüle @
d29e1960
...
@@ -281,16 +281,15 @@ struct MoveParagraphsInfo
...
@@ -281,16 +281,15 @@ struct MoveParagraphsInfo
{
nStartPara
=
nS
;
nEndPara
=
nE
;
nDestPara
=
nD
;
}
{
nStartPara
=
nS
;
nEndPara
=
nE
;
nDestPara
=
nD
;
}
};
};
#define EE_ACTION_PASTE 1
enum
class
PasteOrDropInfosAction
{
PASTE
=
1
,
DROP
=
2
};
#define EE_ACTION_DROP 2
struct
PasteOrDropInfos
struct
PasteOrDropInfos
{
{
sal_uInt16
nAction
;
PasteOrDropInfosAction
nAction
;
sal_Int32
nStartPara
;
sal_Int32
nStartPara
;
sal_Int32
nEndPara
;
sal_Int32
nEndPara
;
PasteOrDropInfos
(
)
:
nAction
(
0
),
nStartPara
(
-
1
),
nEndPara
(
-
1
)
{}
PasteOrDropInfos
(
PasteOrDropInfosAction
_nAction
)
:
nAction
(
_nAction
),
nStartPara
(
-
1
),
nEndPara
(
-
1
)
{}
};
};
enum
EENotifyType
enum
EENotifyType
...
...
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