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
c0510515
Kaydet (Commit)
c0510515
authored
Agu 05, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid undef out-of-range value -1 for XPropertyListType enum
Change-Id: If2dedafe6d8517eba4dd4921d15dd2d969d181dd
üst
8dbe1223
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
xtable.hxx
include/svx/xtable.hxx
+1
-0
UnoDocumentSettings.cxx
sd/source/ui/unoidl/UnoDocumentSettings.cxx
+2
-2
No files found.
include/svx/xtable.hxx
Dosyayı görüntüle @
c0510515
...
@@ -172,6 +172,7 @@ public:
...
@@ -172,6 +172,7 @@ public:
enum
XPropertyListType
{
enum
XPropertyListType
{
UNKNOWN_XPROPERTYLISTTYPE
=
-
1
,
XCOLOR_LIST
,
XCOLOR_LIST
,
XLINE_END_LIST
,
XLINE_END_LIST
,
XDASH_LIST
,
XDASH_LIST
,
...
...
sd/source/ui/unoidl/UnoDocumentSettings.cxx
Dosyayı görüntüle @
c0510515
...
@@ -281,7 +281,7 @@ static XPropertyListType getTypeOfName( const OUString &aName )
...
@@ -281,7 +281,7 @@ static XPropertyListType getTypeOfName( const OUString &aName )
if
(
aName
.
equalsAscii
(
aURLPropertyNames
[
i
].
pName
)
)
if
(
aName
.
equalsAscii
(
aURLPropertyNames
[
i
].
pName
)
)
return
aURLPropertyNames
[
i
].
t
;
return
aURLPropertyNames
[
i
].
t
;
}
}
return
(
XPropertyListType
)
-
1
;
return
UNKNOWN_XPROPERTYLISTTYPE
;
}
}
static
OUString
getNameOfType
(
XPropertyListType
t
)
static
OUString
getNameOfType
(
XPropertyListType
t
)
...
@@ -306,7 +306,7 @@ uno::Sequence<beans::PropertyValue>
...
@@ -306,7 +306,7 @@ uno::Sequence<beans::PropertyValue>
for
(
sal_Int32
i
=
0
;
i
<
aConfigProps
.
getLength
();
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
aConfigProps
.
getLength
();
i
++
)
{
{
XPropertyListType
t
=
getTypeOfName
(
aConfigProps
[
i
].
Name
);
XPropertyListType
t
=
getTypeOfName
(
aConfigProps
[
i
].
Name
);
if
(
t
<
0
)
if
(
t
==
UNKNOWN_XPROPERTYLISTTYPE
)
aRet
[
nRet
++
]
=
aConfigProps
[
i
];
aRet
[
nRet
++
]
=
aConfigProps
[
i
];
else
else
{
{
...
...
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