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
a5b909ac
Kaydet (Commit)
a5b909ac
authored
Nis 15, 2012
tarafından
Rafael Dominguez
Kaydeden (comit)
Luboš Luňák
Nis 16, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Return by value instead of passing by reference to get data.
üst
05524106
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
16 deletions
+18
-16
sdabstdlg.hxx
sd/inc/sdabstdlg.hxx
+1
-1
inspagob.cxx
sd/source/ui/dlg/inspagob.cxx
+3
-3
sddlgfact.cxx
sd/source/ui/dlg/sddlgfact.cxx
+2
-2
sddlgfact.hxx
sd/source/ui/dlg/sddlgfact.hxx
+1
-1
sdtreelb.cxx
sd/source/ui/dlg/sdtreelb.cxx
+5
-2
fuinsfil.cxx
sd/source/ui/func/fuinsfil.cxx
+4
-5
inspagob.hxx
sd/source/ui/inc/inspagob.hxx
+1
-1
sdtreelb.hxx
sd/source/ui/inc/sdtreelb.hxx
+1
-1
No files found.
sd/inc/sdabstdlg.hxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -139,7 +139,7 @@ class AbstractSdInsertPagesObjsDlg : public VclAbstractDialog //add for SdInser
{
public
:
virtual
::
Window
*
GetWindow
()
=
0
;
//this method is added for return a ::Window type pointer
virtual
void
GetList
(
const
sal_uInt16
nType
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
)
=
0
;
virtual
std
::
vector
<
rtl
::
OUString
>
GetList
(
const
sal_uInt16
nType
)
=
0
;
virtual
sal_Bool
IsLink
()
=
0
;
virtual
sal_Bool
IsRemoveUnnessesaryMasterPages
()
const
=
0
;
};
...
...
sd/source/ui/dlg/inspagob.cxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -115,7 +115,7 @@ void SdInsertPagesObjsDlg::Reset()
aCbxMasters
.
Check
(
sal_True
);
}
void
SdInsertPagesObjsDlg
::
GetList
(
const
sal_uInt16
nType
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
)
std
::
vector
<
rtl
::
OUString
>
SdInsertPagesObjsDlg
::
GetList
(
const
sal_uInt16
nType
)
{
// Bei Draw-Dokumenten muss bei der Selektion des Dokumentes NULL
// zurueckgegeben werden
...
...
@@ -129,10 +129,10 @@ void SdInsertPagesObjsDlg::GetList( const sal_uInt16 nType, std::vector<rtl::OUS
// wird das gesamte Dokument (und nicht mehr!) eingefuegt.
if
(
aLbTree
.
GetSelectionCount
()
==
0
||
(
aLbTree
.
IsSelected
(
aLbTree
.
First
()
)
)
)
return
;
return
std
::
vector
<
rtl
::
OUString
>
()
;
}
aLbTree
.
GetSelectEntryList
(
nType
,
rEntries
);
return
aLbTree
.
GetSelectEntryList
(
nType
);
}
/*************************************************************************
...
...
sd/source/ui/dlg/sddlgfact.cxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -283,9 +283,9 @@ sal_Bool AbstractSdInsertPasteDlg_Impl::IsInsertBefore() const
return
(
::
Window
*
)
pDlg
;
}
void
AbstractSdInsertPagesObjsDlg_Impl
::
GetList
(
const
sal_uInt16
nType
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
)
std
::
vector
<
rtl
::
OUString
>
AbstractSdInsertPagesObjsDlg_Impl
::
GetList
(
const
sal_uInt16
nType
)
{
pDlg
->
GetList
(
nType
,
rEntries
);
return
pDlg
->
GetList
(
nType
);
}
sal_Bool
AbstractSdInsertPagesObjsDlg_Impl
::
IsLink
()
...
...
sd/source/ui/dlg/sddlgfact.hxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -187,7 +187,7 @@ class AbstractSdInsertPagesObjsDlg_Impl : public AbstractSdInsertPagesObjsDlg
{
DECL_ABSTDLG_BASE
(
AbstractSdInsertPagesObjsDlg_Impl
,
SdInsertPagesObjsDlg
)
virtual
::
Window
*
GetWindow
();
//this method is added for return a Window type pointer
virtual
void
GetList
(
const
sal_uInt16
nType
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
);
virtual
std
::
vector
<
rtl
::
OUString
>
GetList
(
const
sal_uInt16
nType
);
virtual
sal_Bool
IsLink
();
virtual
sal_Bool
IsRemoveUnnessesaryMasterPages
()
const
;
};
...
...
sd/source/ui/dlg/sdtreelb.cxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -661,8 +661,9 @@ String SdPageObjsTLB::GetSelectEntry()
return
(
GetEntryText
(
GetCurEntry
()
)
);
}
void
SdPageObjsTLB
::
GetSelectEntryList
(
sal_uInt16
nDepth
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
)
const
std
::
vector
<
rtl
::
OUString
>
SdPageObjsTLB
::
GetSelectEntryList
(
const
sal_uInt16
nDepth
)
const
{
std
::
vector
<
rtl
::
OUString
>
aEntries
;
SvLBoxEntry
*
pEntry
=
FirstSelected
();
while
(
pEntry
)
...
...
@@ -670,10 +671,12 @@ void SdPageObjsTLB::GetSelectEntryList( sal_uInt16 nDepth, std::vector<rtl::OUSt
sal_uInt16
nListDepth
=
GetModel
()
->
GetDepth
(
pEntry
);
if
(
nListDepth
==
nDepth
)
r
Entries
.
push_back
(
GetEntryText
(
pEntry
));
a
Entries
.
push_back
(
GetEntryText
(
pEntry
));
pEntry
=
NextSelected
(
pEntry
);
}
return
aEntries
;
}
/*************************************************************************
...
...
sd/source/ui/func/fuinsfil.cxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -354,10 +354,9 @@ sal_Bool FuInsertFile::InsSDDinDrMode(SfxMedium* pMedium)
if
(
nRet
==
RET_OK
)
{
std
::
vector
<
rtl
::
OUString
>
aBookmarkList
;
// Liste mit Seitennamen (wenn NULL, dann alle Seiten)
// Liste mit Seitennamen (wenn NULL, dann alle Seiten)
// Zuerst Seiten einfuegen
pDlg
->
GetList
(
1
,
aBookmarkList
);
// Seiten
std
::
vector
<
rtl
::
OUString
>
aBookmarkList
=
pDlg
->
GetList
(
1
);
// Seiten
sal_Bool
bLink
=
pDlg
->
IsLink
();
sal_Bool
bReplace
=
sal_False
;
SdPage
*
pPage
=
NULL
;
...
...
@@ -387,8 +386,8 @@ sal_Bool FuInsertFile::InsSDDinDrMode(SfxMedium* pMedium)
}
sal_Bool
bNameOK
;
std
::
vector
<
rtl
::
OUString
>
a
ObjectBookmarkList
,
a
ExchangeList
;
pDlg
->
GetList
(
2
,
aObjectBookmarkList
);
// Objekte
std
::
vector
<
rtl
::
OUString
>
aExchangeList
;
std
::
vector
<
rtl
::
OUString
>
aObjectBookmarkList
=
pDlg
->
GetList
(
2
);
// Objekte
// Es werden ausgewaehlte Seiten und/oder ausgewaehlte Objekte oder
// alles eingefuegt, wenn pBookmarkList NULL ist!
...
...
sd/source/ui/inc/inspagob.hxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -69,7 +69,7 @@ public:
|*
\************************************************************************/
void
GetList
(
const
sal_uInt16
nType
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
)
;
std
::
vector
<
rtl
::
OUString
>
GetList
(
const
sal_uInt16
nType
)
;
sal_Bool
IsLink
();
sal_Bool
IsRemoveUnnessesaryMasterPages
()
const
;
...
...
sd/source/ui/inc/sdtreelb.hxx
Dosyayı görüntüle @
a5b909ac
...
...
@@ -215,7 +215,7 @@ public:
|*
\************************************************************************/
void
GetSelectEntryList
(
sal_uInt16
nDepth
,
std
::
vector
<
rtl
::
OUString
>
&
rEntries
)
const
;
std
::
vector
<
rtl
::
OUString
>
GetSelectEntryList
(
const
sal_uInt16
nDepth
)
const
;
SdDrawDocument
*
GetBookmarkDoc
(
SfxMedium
*
pMedium
=
NULL
);
::
sd
::
DrawDocShell
*
GetDropDocSh
()
{
return
(
mpDropDocSh
);
}
...
...
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