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
7727b9e8
Kaydet (Commit)
7727b9e8
authored
Eki 08, 2013
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
oglcanvas: OUString cleanup
Change-Id: If37ea29ba239c0affd8e5777c82db755ee03f1c2
üst
8996ab35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
ogl_spritecanvas.cxx
canvas/source/opengl/ogl_spritecanvas.cxx
+2
-4
ogl_spritedevicehelper.cxx
canvas/source/opengl/ogl_spritedevicehelper.cxx
+2
-5
No files found.
canvas/source/opengl/ogl_spritecanvas.cxx
Dosyayı görüntüle @
7727b9e8
...
...
@@ -70,9 +70,7 @@ namespace oglcanvas
Window
*
pParentWindow
=
VCLUnoHelper
::
GetWindow
(
xParentWindow
);
if
(
!
pParentWindow
)
throw
lang
::
NoSupportException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Parent window not VCL window, or canvas out-of-process!"
)),
NULL
);
"Parent window not VCL window, or canvas out-of-process!"
,
NULL
);
awt
::
Rectangle
aRect
;
maArguments
[
2
]
>>=
aRect
;
...
...
@@ -154,7 +152,7 @@ namespace oglcanvas
::
rtl
::
OUString
SAL_CALL
SpriteCanvas
::
getServiceName
(
)
throw
(
uno
::
RuntimeException
)
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SPRITECANVAS_SERVICE_NAME
)
);
return
::
rtl
::
OUString
(
SPRITECANVAS_SERVICE_NAME
);
}
void
SpriteCanvas
::
show
(
const
::
rtl
::
Reference
<
CanvasCustomSprite
>&
xSprite
)
...
...
canvas/source/opengl/ogl_spritedevicehelper.cxx
Dosyayı görüntüle @
7727b9e8
...
...
@@ -608,9 +608,7 @@ namespace oglcanvas
{
glXDestroyContext
(
pDisplay
,
pContext1
);
glXDestroyContext
(
pDisplay
,
pContext2
);
throw
lang
::
NoSupportException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Could not select OpenGL context!"
)
),
NULL
);
throw
lang
::
NoSupportException
(
"Could not select OpenGL context!"
,
NULL
);
}
const
GLubyte
*
extensions
=
glGetString
(
GL_EXTENSIONS
);
...
...
@@ -696,8 +694,7 @@ namespace oglcanvas
if
(
!
mpGLContext
||
glGetError
()
!=
GL_NO_ERROR
)
throw
lang
::
NoSupportException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Could not create OpenGL context, or an error occurred doing so!"
)
),
NULL
);
"Could not create OpenGL context, or an error occurred doing so!"
,
NULL
);
notifySizeUpdate
(
rViewArea
);
mpChildWindow
->
Show
();
...
...
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