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
35b6d311
Kaydet (Commit)
35b6d311
authored
Eki 22, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix crash in opengl backend
Change-Id: I1257f4568e55ca545e96bda8a53f272ba8e1f0b0
üst
78fb95ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
DummyXShape.hxx
chart2/source/view/inc/DummyXShape.hxx
+2
-1
DummyXShape.cxx
chart2/source/view/main/DummyXShape.cxx
+17
-0
No files found.
chart2/source/view/inc/DummyXShape.hxx
Dosyayı görüntüle @
35b6d311
...
@@ -100,7 +100,7 @@ class DummyChart;
...
@@ -100,7 +100,7 @@ class DummyChart;
struct
OpenglContext
;
struct
OpenglContext
;
class
DummyXShape
:
public
cppu
::
WeakImplHelper6
<
class
DummyXShape
:
public
cppu
::
Weak
Agg
ImplHelper6
<
::
com
::
sun
::
star
::
drawing
::
XShape
,
::
com
::
sun
::
star
::
drawing
::
XShape
,
com
::
sun
::
star
::
beans
::
XPropertySet
,
com
::
sun
::
star
::
beans
::
XPropertySet
,
com
::
sun
::
star
::
beans
::
XMultiPropertySet
,
com
::
sun
::
star
::
beans
::
XMultiPropertySet
,
...
@@ -364,6 +364,7 @@ class DummyXShapes : public DummyXShape, public com::sun::star::drawing::XShapes
...
@@ -364,6 +364,7 @@ class DummyXShapes : public DummyXShape, public com::sun::star::drawing::XShapes
public
:
public
:
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryAggregation
(
const
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
acquire
()
throw
();
virtual
void
SAL_CALL
acquire
()
throw
();
virtual
void
SAL_CALL
release
()
throw
();
virtual
void
SAL_CALL
release
()
throw
();
...
...
chart2/source/view/main/DummyXShape.cxx
Dosyayı görüntüle @
35b6d311
...
@@ -396,12 +396,29 @@ DummyChart* DummyChart::getRootShape()
...
@@ -396,12 +396,29 @@ DummyChart* DummyChart::getRootShape()
return
this
;
return
this
;
}
}
#define QUERYINT( xint ) \
if( rType == ::getCppuType((const uno::Reference< xint >*)0) ) \
aAny <<= uno::Reference< xint >(this)
uno
::
Any
DummyXShapes
::
queryInterface
(
const
uno
::
Type
&
rType
)
uno
::
Any
DummyXShapes
::
queryInterface
(
const
uno
::
Type
&
rType
)
throw
(
uno
::
RuntimeException
)
throw
(
uno
::
RuntimeException
)
{
{
return
DummyXShape
::
queryInterface
(
rType
);
return
DummyXShape
::
queryInterface
(
rType
);
}
}
uno
::
Any
DummyXShapes
::
queryAggregation
(
const
uno
::
Type
&
rType
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Any
aAny
;
//QUERYINT( drawing::XShapeGroup );
QUERYINT
(
drawing
::
XShapes
);
else
return
DummyXShape
::
queryAggregation
(
rType
);
return
aAny
;
}
void
DummyXShapes
::
acquire
()
void
DummyXShapes
::
acquire
()
throw
()
throw
()
{
{
...
...
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