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
c2954281
Kaydet (Commit)
c2954281
authored
Mar 29, 2012
tarafından
Rafael Dominguez
Kaydeden (comit)
Luboš Luňák
Nis 13, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove deprecated List in ViewClipboard::InsertSlides.
üst
8adf70b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
ViewClipboard.cxx
sd/source/ui/view/ViewClipboard.cxx
+6
-5
No files found.
sd/source/ui/view/ViewClipboard.cxx
Dosyayı görüntüle @
c2954281
...
...
@@ -216,7 +216,7 @@ sal_uInt16 ViewClipboard::InsertSlides (
sal_Bool
bMergeMasterPages
=
!
rTransferable
.
HasSourceDoc
(
&
rDoc
);
// Prepare the insertion.
const
List
*
pBookmarkList
;
const
std
::
vector
<
rtl
::
OUString
>
*
pBookmarkList
=
NULL
;
DrawDocShell
*
pDataDocSh
;
if
(
rTransferable
.
HasPageBookmarks
())
{
...
...
@@ -224,7 +224,7 @@ sal_uInt16 ViewClipboard::InsertSlides (
// pages are inserted.
pBookmarkList
=
&
rTransferable
.
GetPageBookmarks
();
pDataDocSh
=
rTransferable
.
GetPageDocShell
();
nInsertPgCnt
=
(
sal_uInt16
)
pBookmarkList
->
Count
();
nInsertPgCnt
=
(
sal_uInt16
)
pBookmarkList
->
size
();
}
else
{
...
...
@@ -233,7 +233,7 @@ sal_uInt16 ViewClipboard::InsertSlides (
SfxObjectShell
*
pShell
=
rTransferable
.
GetDocShell
();
pDataDocSh
=
(
DrawDocShell
*
)
pShell
;
SdDrawDocument
*
pDataDoc
=
pDataDocSh
->
GetDoc
();
pBookmarkList
=
NULL
;
if
(
pDataDoc
!=
NULL
&&
pDataDoc
->
GetSdPageCount
(
PK_STANDARD
))
nInsertPgCnt
=
pDataDoc
->
GetSdPageCount
(
PK_STANDARD
);
}
...
...
@@ -246,9 +246,10 @@ sal_uInt16 ViewClipboard::InsertSlides (
if
(
bWait
)
pWin
->
LeaveWait
();
std
::
vector
<
rtl
::
OUString
>
aExchangeList
;
rDoc
.
InsertBookmarkAsPage
(
const_cast
<
List
*>
(
pBookmarkList
)
,
NULL
,
*
pBookmarkList
,
aExchangeList
,
sal_False
,
sal_False
,
nInsertPosition
,
...
...
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