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
8adf70b2
Kaydet (Commit)
8adf70b2
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 for vector in ViewClipboard::GetFirstMasterPage.
üst
5e0be5bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
ViewClipboard.cxx
sd/source/ui/view/ViewClipboard.cxx
+6
-8
No files found.
sd/source/ui/view/ViewClipboard.cxx
Dosyayı görüntüle @
8adf70b2
...
...
@@ -83,8 +83,9 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable)
{
do
{
const
List
*
pBookmarks
=
&
rTransferable
.
GetPageBookmarks
();
if
(
pBookmarks
==
NULL
)
const
std
::
vector
<
rtl
::
OUString
>
&
rBookmarks
=
rTransferable
.
GetPageBookmarks
();
if
(
rBookmarks
.
empty
())
break
;
DrawDocShell
*
pDocShell
=
rTransferable
.
GetPageDocShell
();
...
...
@@ -95,13 +96,10 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable)
if
(
pDocument
==
NULL
)
break
;
if
(
pBookmarks
->
Count
()
<=
0
)
break
;
int
nBookmarkCount
=
pBookmarks
->
Count
();
for
(
int
nIndex
=
0
;
nIndex
<
nBookmarkCount
;
nIndex
++
)
std
::
vector
<
rtl
::
OUString
>::
const_iterator
pIter
;
for
(
pIter
=
rBookmarks
.
begin
();
pIter
!=
rBookmarks
.
end
();
++
pIter
)
{
String
sName
(
*
(
String
*
)
pBookmarks
->
GetObject
(
nIndex
)
);
String
sName
(
*
pIter
);
sal_Bool
bIsMasterPage
;
// SdPage* GetMasterSdPage(sal_uInt16 nPgNum, PageKind ePgKind);
...
...
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