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
ff37332a
Kaydet (Commit)
ff37332a
authored
Nis 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwEditShell::Copy return type wants to be bool
Change-Id: Id39077324630cead2584bae48dd8470335f4d1fb
üst
738844c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
editsh.hxx
sw/inc/editsh.hxx
+1
-1
eddel.cxx
sw/source/core/edit/eddel.cxx
+3
-3
fecopy.cxx
sw/source/core/frmedt/fecopy.cxx
+1
-1
No files found.
sw/inc/editsh.hxx
Dosyayı görüntüle @
ff37332a
...
...
@@ -198,7 +198,7 @@ public:
void
SetLinkUpdMode
(
sal_uInt16
nMode
);
/// Copy content of all ranges at current position of cursor to given Shell.
long
Copy
(
SwEditShell
*
pDestShell
=
0
);
bool
Copy
(
SwEditShell
*
pDestShell
=
0
);
/** For copying via ClipBoard:
If table is copied into table, move all cursors away from it.
...
...
sw/source/core/edit/eddel.cxx
Dosyayı görüntüle @
ff37332a
...
...
@@ -144,7 +144,7 @@ long SwEditShell::Delete()
return
nRet
;
}
long
SwEditShell
::
Copy
(
SwEditShell
*
pDestShell
)
bool
SwEditShell
::
Copy
(
SwEditShell
*
pDestShell
)
{
if
(
!
pDestShell
)
pDestShell
=
this
;
...
...
@@ -193,7 +193,7 @@ long SwEditShell::Copy( SwEditShell* pDestShell )
// Check if a selection would be copied into itself
if
(
pDestShell
->
GetDoc
()
==
GetDoc
()
&&
*
rPaM
.
Start
()
<=
*
pTmp
&&
*
pTmp
<
*
rPaM
.
End
()
)
return
sal_F
alse
;
return
f
alse
;
}
}
...
...
@@ -290,7 +290,7 @@ long SwEditShell::Copy( SwEditShell* pDestShell )
pDestShell
->
SaveTblBoxCntnt
(
pDestShell
->
GetCrsr
()
->
GetPoint
()
);
return
(
long
)
bRet
;
return
bRet
;
}
/** Replace a selected area in a text node with a given string.
...
...
sw/source/core/frmedt/fecopy.cxx
Dosyayı görüntüle @
ff37332a
...
...
@@ -636,7 +636,7 @@ bool SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
bRet
=
false
;
if
(
bRet
)
bRet
=
0
!=
SwEditShell
::
Copy
(
pDestShell
);
bRet
=
SwEditShell
::
Copy
(
pDestShell
);
}
pDestShell
->
GetDoc
()
->
getIDocumentRedlineAccess
().
SetRedlineMode_intern
(
eOldRedlMode
);
...
...
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