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
4b45fdde
Kaydet (Commit)
4b45fdde
authored
Nis 29, 2013
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i122120 WaE corrections, missing definition in sd
üst
4484a62e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
12 deletions
+26
-12
sdabstdlg.hxx
sd/inc/sdabstdlg.hxx
+2
-0
xtable.cxx
svx/source/xoutdev/xtable.cxx
+24
-12
No files found.
sd/inc/sdabstdlg.hxx
Dosyayı görüntüle @
4b45fdde
...
@@ -65,6 +65,8 @@ class Window;
...
@@ -65,6 +65,8 @@ class Window;
class
SdPage
;
class
SdPage
;
class
TabPage
;
class
TabPage
;
class
ViewShell
;
class
ViewShell
;
class
XColorList
;
typedef
::
boost
::
shared_ptr
<
XColorList
>
XColorListSharedPtr
;
class
AbstractCopyDlg
:
public
VclAbstractDialog
//add for CopyDlg
class
AbstractCopyDlg
:
public
VclAbstractDialog
//add for CopyDlg
{
{
...
...
svx/source/xoutdev/xtable.cxx
Dosyayı görüntüle @
4b45fdde
...
@@ -159,9 +159,10 @@ long XPropertyList::Count() const
...
@@ -159,9 +159,10 @@ long XPropertyList::Count() const
{
{
if
(
mbListDirty
)
if
(
mbListDirty
)
{
{
// ( (XPropertyList*) this )->bListDirty = sal_False; <- im Load()
if
(
!
const_cast
<
XPropertyList
*
>
(
this
)
->
Load
())
if
(
!
(
(
XPropertyList
*
)
this
)
->
Load
()
)
{
(
(
XPropertyList
*
)
this
)
->
Create
();
const_cast
<
XPropertyList
*
>
(
this
)
->
Create
();
}
}
}
return
maContent
.
size
();
return
maContent
.
size
();
...
@@ -177,11 +178,15 @@ XPropertyEntry* XPropertyList::Get( long nIndex ) const
...
@@ -177,11 +178,15 @@ XPropertyEntry* XPropertyList::Get( long nIndex ) const
{
{
if
(
mbListDirty
)
if
(
mbListDirty
)
{
{
if
(
!
(
(
XPropertyList
*
)
this
)
->
Load
()
)
if
(
!
const_cast
<
XPropertyList
*
>
(
this
)
->
Load
())
(
(
XPropertyList
*
)
this
)
->
Create
();
{
const_cast
<
XPropertyList
*
>
(
this
)
->
Create
();
}
}
}
if
(
nIndex
>=
maContent
.
size
())
const
long
nObjectCount
(
maContent
.
size
());
if
(
nIndex
>=
nObjectCount
)
{
{
return
0
;
return
0
;
}
}
...
@@ -199,8 +204,10 @@ long XPropertyList::GetIndex(const XubString& rName) const
...
@@ -199,8 +204,10 @@ long XPropertyList::GetIndex(const XubString& rName) const
{
{
if
(
mbListDirty
)
if
(
mbListDirty
)
{
{
if
(
!
(
(
XPropertyList
*
)
this
)
->
Load
()
)
if
(
!
const_cast
<
XPropertyList
*
>
(
this
)
->
Load
())
(
(
XPropertyList
*
)
this
)
->
Create
();
{
const_cast
<
XPropertyList
*
>
(
this
)
->
Create
();
}
}
}
::
std
::
vector
<
XPropertyEntry
*
>::
const_iterator
aStart
(
maContent
.
begin
());
::
std
::
vector
<
XPropertyEntry
*
>::
const_iterator
aStart
(
maContent
.
begin
());
...
@@ -254,7 +261,9 @@ void XPropertyList::Insert( XPropertyEntry* pEntry, long nIndex )
...
@@ -254,7 +261,9 @@ void XPropertyList::Insert( XPropertyEntry* pEntry, long nIndex )
{
{
if
(
pEntry
)
if
(
pEntry
)
{
{
if
(
nIndex
>=
maContent
.
size
())
const
long
nObjectCount
(
maContent
.
size
());
if
(
nIndex
>=
nObjectCount
)
{
{
maContent
.
push_back
(
pEntry
);
maContent
.
push_back
(
pEntry
);
}
}
...
@@ -277,7 +286,9 @@ XPropertyEntry* XPropertyList::Replace( XPropertyEntry* pEntry, long nIndex )
...
@@ -277,7 +286,9 @@ XPropertyEntry* XPropertyList::Replace( XPropertyEntry* pEntry, long nIndex )
if
(
pEntry
)
if
(
pEntry
)
{
{
if
(
nIndex
<
maContent
.
size
())
const
long
nObjectCount
(
maContent
.
size
());
if
(
nIndex
<
nObjectCount
)
{
{
pRetval
=
maContent
[
nIndex
];
pRetval
=
maContent
[
nIndex
];
maContent
[
nIndex
]
=
pEntry
;
maContent
[
nIndex
]
=
pEntry
;
...
@@ -296,10 +307,11 @@ XPropertyEntry* XPropertyList::Replace( XPropertyEntry* pEntry, long nIndex )
...
@@ -296,10 +307,11 @@ XPropertyEntry* XPropertyList::Replace( XPropertyEntry* pEntry, long nIndex )
XPropertyEntry
*
XPropertyList
::
Remove
(
long
nIndex
)
XPropertyEntry
*
XPropertyList
::
Remove
(
long
nIndex
)
{
{
XPropertyEntry
*
pRetval
=
0
;
XPropertyEntry
*
pRetval
=
0
;
const
long
nObjectCount
(
maContent
.
size
());
if
(
nIndex
<
maContent
.
size
()
)
if
(
nIndex
<
nObjectCount
)
{
{
if
(
nIndex
+
1
==
maContent
.
size
()
)
if
(
nIndex
+
1
==
nObjectCount
)
{
{
pRetval
=
maContent
.
back
();
pRetval
=
maContent
.
back
();
maContent
.
pop_back
();
maContent
.
pop_back
();
...
...
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