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
89661335
Kaydet (Commit)
89661335
authored
Eyl 19, 2000
tarafından
Frank Schönheit
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
queryAggregation: don't return Anys containing empty references
üst
8e8f5301
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
Columns.cxx
forms/source/component/Columns.cxx
+11
-9
No files found.
forms/source/component/Columns.cxx
Dosyayı görüntüle @
89661335
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: Columns.cxx,v $
* $RCSfile: Columns.cxx,v $
*
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
*
* last change: $Author:
hr $ $Date: 2000-09-18 16:29:04
$
* last change: $Author:
fs $ $Date: 2000-09-19 14:41:51
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
* License at http://www.openoffice.org/license.html.
* License at http://www.openoffice.org/license.html.
*
*
* Software provided under this License is provided on an "AS IS" basis,
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
ED
OR IMPLIED, INCLUDING,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* See the License for the specific provisions governing your rights and
...
@@ -262,19 +262,21 @@ staruno::Sequence<staruno::Type> SAL_CALL OGridColumn::getTypes() throw(staruno:
...
@@ -262,19 +262,21 @@ staruno::Sequence<staruno::Type> SAL_CALL OGridColumn::getTypes() throw(staruno:
//------------------------------------------------------------------
//------------------------------------------------------------------
staruno
::
Any
SAL_CALL
OGridColumn
::
queryAggregation
(
const
staruno
::
Type
&
_rType
)
throw
(
staruno
::
RuntimeException
)
staruno
::
Any
SAL_CALL
OGridColumn
::
queryAggregation
(
const
staruno
::
Type
&
_rType
)
throw
(
staruno
::
RuntimeException
)
{
{
staruno
::
Any
aReturn
=
OComponentHelper
::
queryAggregation
(
_rType
);
staruno
::
Any
aReturn
;
// though our aggregate may be an XFormComponent or an XServiceInfo, we aren't anymore
if
(
_rType
.
equals
(
::
getCppuType
(
static_cast
<
staruno
::
Reference
<
starform
::
XFormComponent
>*
>
(
NULL
)))
||
_rType
.
equals
(
::
getCppuType
(
static_cast
<
staruno
::
Reference
<
starlang
::
XServiceInfo
>*
>
(
NULL
)))
)
return
aReturn
;
aReturn
=
OComponentHelper
::
queryAggregation
(
_rType
);
if
(
!
aReturn
.
hasValue
())
if
(
!
aReturn
.
hasValue
())
aReturn
=
OPropertySetAggregationHelper
::
queryInterface
(
_rType
);
aReturn
=
OPropertySetAggregationHelper
::
queryInterface
(
_rType
);
if
(
!
aReturn
.
hasValue
())
if
(
!
aReturn
.
hasValue
())
aReturn
=
::
cppu
::
queryInterface
(
_rType
,
aReturn
=
::
cppu
::
queryInterface
(
_rType
,
static_cast
<
starcontainer
::
XChild
*>
(
this
),
static_cast
<
starcontainer
::
XChild
*>
(
this
),
static_cast
<
starlang
::
XUnoTunnel
*>
(
this
),
static_cast
<
starlang
::
XUnoTunnel
*>
(
this
)
static_cast
<
starform
::
XFormComponent
*>
(
NULL
),
// though our aggregate may be an XFormComponent, we aren't anymore
static_cast
<
starlang
::
XServiceInfo
*>
(
NULL
)
// though our aggregate may be an XServiceInfo, we aren't anymore
);
);
if
(
!
aReturn
.
hasValue
()
&&
m_xAggregate
.
is
())
if
(
!
aReturn
.
hasValue
()
&&
m_xAggregate
.
is
())
...
...
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