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
10938788
Kaydet (Commit)
10938788
authored
Agu 29, 2011
tarafından
Joseph Powers
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix my bug: XColorTable is based on XPropertyList not XPropertyTable
I should have changed this in the "rebase patch".
üst
c142263e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
unoctabl.cxx
svx/source/unodraw/unoctabl.cxx
+4
-4
No files found.
svx/source/unodraw/unoctabl.cxx
Dosyayı görüntüle @
10938788
...
@@ -147,7 +147,7 @@ void SAL_CALL SvxUnoColorTable::insertByName( const OUString& aName, const uno::
...
@@ -147,7 +147,7 @@ void SAL_CALL SvxUnoColorTable::insertByName( const OUString& aName, const uno::
void
SAL_CALL
SvxUnoColorTable
::
removeByName
(
const
OUString
&
Name
)
void
SAL_CALL
SvxUnoColorTable
::
removeByName
(
const
OUString
&
Name
)
throw
(
container
::
NoSuchElementException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
)
throw
(
container
::
NoSuchElementException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
)
{
{
long
nIndex
=
pTable
?
((
XProperty
Table
*
)
pTable
)
->
Get
(
Name
)
:
-
1
;
long
nIndex
=
pTable
?
((
XProperty
List
*
)
pTable
)
->
Get
(
Name
)
:
-
1
;
if
(
nIndex
==
-
1
)
if
(
nIndex
==
-
1
)
throw
container
::
NoSuchElementException
();
throw
container
::
NoSuchElementException
();
...
@@ -162,7 +162,7 @@ void SAL_CALL SvxUnoColorTable::replaceByName( const OUString& aName, const uno:
...
@@ -162,7 +162,7 @@ void SAL_CALL SvxUnoColorTable::replaceByName( const OUString& aName, const uno:
if
(
!
(
aElement
>>=
nColor
)
)
if
(
!
(
aElement
>>=
nColor
)
)
throw
lang
::
IllegalArgumentException
();
throw
lang
::
IllegalArgumentException
();
long
nIndex
=
pTable
?
((
XProperty
Table
*
)
pTable
)
->
Get
(
aName
)
:
-
1
;
long
nIndex
=
pTable
?
((
XProperty
List
*
)
pTable
)
->
Get
(
aName
)
:
-
1
;
if
(
nIndex
==
-
1
)
if
(
nIndex
==
-
1
)
throw
container
::
NoSuchElementException
();
throw
container
::
NoSuchElementException
();
...
@@ -174,7 +174,7 @@ void SAL_CALL SvxUnoColorTable::replaceByName( const OUString& aName, const uno:
...
@@ -174,7 +174,7 @@ void SAL_CALL SvxUnoColorTable::replaceByName( const OUString& aName, const uno:
uno
::
Any
SAL_CALL
SvxUnoColorTable
::
getByName
(
const
OUString
&
aName
)
uno
::
Any
SAL_CALL
SvxUnoColorTable
::
getByName
(
const
OUString
&
aName
)
throw
(
container
::
NoSuchElementException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
)
throw
(
container
::
NoSuchElementException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
)
{
{
long
nIndex
=
pTable
?
((
XProperty
Table
*
)
pTable
)
->
Get
(
aName
)
:
-
1
;
long
nIndex
=
pTable
?
((
XProperty
List
*
)
pTable
)
->
Get
(
aName
)
:
-
1
;
if
(
nIndex
==
-
1
)
if
(
nIndex
==
-
1
)
throw
container
::
NoSuchElementException
();
throw
container
::
NoSuchElementException
();
...
@@ -202,7 +202,7 @@ uno::Sequence< OUString > SAL_CALL SvxUnoColorTable::getElementNames( )
...
@@ -202,7 +202,7 @@ uno::Sequence< OUString > SAL_CALL SvxUnoColorTable::getElementNames( )
sal_Bool
SAL_CALL
SvxUnoColorTable
::
hasByName
(
const
OUString
&
aName
)
sal_Bool
SAL_CALL
SvxUnoColorTable
::
hasByName
(
const
OUString
&
aName
)
throw
(
uno
::
RuntimeException
)
throw
(
uno
::
RuntimeException
)
{
{
long
nIndex
=
pTable
?
((
XProperty
Table
*
)
pTable
)
->
Get
(
aName
)
:
-
1
;
long
nIndex
=
pTable
?
((
XProperty
List
*
)
pTable
)
->
Get
(
aName
)
:
-
1
;
return
nIndex
!=
-
1
;
return
nIndex
!=
-
1
;
}
}
...
...
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