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
9eaf6ab9
Kaydet (Commit)
9eaf6ab9
authored
Şub 20, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Şub 22, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove some old code
Change-Id: I6dde9ae70746a59eef8727f7798b6c58971e045f
üst
887931b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
+2
-14
DummyXShape.cxx
chart2/source/view/main/DummyXShape.cxx
+2
-14
No files found.
chart2/source/view/main/DummyXShape.cxx
Dosyayı görüntüle @
9eaf6ab9
...
@@ -1446,27 +1446,15 @@ DummyChart::~DummyChart()
...
@@ -1446,27 +1446,15 @@ DummyChart::~DummyChart()
void
SAL_CALL
DummyChart
::
setSize
(
const
awt
::
Size
&
aSize
)
void
SAL_CALL
DummyChart
::
setSize
(
const
awt
::
Size
&
aSize
)
throw
(
beans
::
PropertyVetoException
,
uno
::
RuntimeException
)
throw
(
beans
::
PropertyVetoException
,
uno
::
RuntimeException
)
{
{
#if 0
SAL_INFO
(
"chart2.opengl"
,
"DummyChart::setSize()---aSize.Width = "
<<
aSize
.
Width
<<
", aSize.Height = "
<<
aSize
.
Height
);
DummyXShape::setSize(aSize);
mpWindow->SetSizePixel(Size(aSize.Width, aSize.Height));
pWindow->SetSizePixel(Size(aSize.Width, aSize.Height));
#else
SAL_WARN
(
"chart2.opengl"
,
"DummyChart::setSize()---aSize.Width = "
<<
aSize
.
Width
<<
", aSize.Height = "
<<
aSize
.
Height
);
// DummyXShape::setSize(aSize);
// mpWindow->SetSizePixel(Size(aSize.Width, aSize.Height));
// pWindow->SetSizePixel(Size(aSize.Width, aSize.Height));
int
width
=
aSize
.
Width
/
OPENGL_SCALE_VALUE
;
int
width
=
aSize
.
Width
/
OPENGL_SCALE_VALUE
;
int
height
=
aSize
.
Height
/
OPENGL_SCALE_VALUE
;
int
height
=
aSize
.
Height
/
OPENGL_SCALE_VALUE
;
width
=
(
width
+
3
)
&
~
3
;
height
=
(
height
+
3
)
&
~
3
;
mpWindow
->
SetSizePixel
(
Size
(
width
,
height
));
mpWindow
->
SetSizePixel
(
Size
(
width
,
height
));
pWindow
->
SetSizePixel
(
Size
(
width
,
height
));
pWindow
->
SetSizePixel
(
Size
(
width
,
height
));
DummyXShape
::
setSize
(
awt
::
Size
(
0
,
0
));
DummyXShape
::
setSize
(
awt
::
Size
(
0
,
0
));
m_GLRender
.
SetWidth
(
width
);
m_GLRender
.
SetWidth
(
width
);
m_GLRender
.
SetHeight
(
height
);
m_GLRender
.
SetHeight
(
height
);
SAL_WARN
(
"chart2.opengl"
,
"DummyChart::GLRender.Width = "
<<
width
<<
", GLRender.Height = "
<<
height
);
SAL_INFO
(
"chart2.opengl"
,
"DummyChart::GLRender.Width = "
<<
width
<<
", GLRender.Height = "
<<
height
);
#endif
}
}
void
DummyChart
::
render
()
void
DummyChart
::
render
()
...
...
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