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
8d509d69
Kaydet (Commit)
8d509d69
authored
Agu 11, 2014
tarafından
Zolnai Tamás
Kaydeden (comit)
Markus Mohrhard
Agu 29, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
This OpenGL window is useless
Change-Id: Ied9914c9a317dc3945c29b984d2a68957275fc52
üst
4e96f7ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
41 deletions
+0
-41
tabvwsh.hxx
sc/source/ui/inc/tabvwsh.hxx
+0
-3
tabvwsh4.cxx
sc/source/ui/view/tabvwsh4.cxx
+0
-33
tabvwshb.cxx
sc/source/ui/view/tabvwshb.cxx
+0
-5
No files found.
sc/source/ui/inc/tabvwsh.hxx
Dosyayı görüntüle @
8d509d69
...
...
@@ -189,8 +189,6 @@ private:
void
DoReadUserDataSequence
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
rSettings
);
void
AddOpenGLChartWindows
();
DECL_LINK
(
SimpleRefClose
,
void
*
);
DECL_LINK
(
SimpleRefDone
,
OUString
*
);
DECL_LINK
(
SimpleRefAborted
,
OUString
*
);
...
...
@@ -327,7 +325,6 @@ public:
ObjectSelectionType
GetCurObjectSelectionType
()
{
return
eCurOST
;
}
virtual
ErrCode
DoVerb
(
long
nVerb
)
SAL_OVERRIDE
;
virtual
void
Initialize
()
SAL_OVERRIDE
;
void
StopEditShell
();
bool
IsDrawTextShell
()
const
;
...
...
sc/source/ui/view/tabvwsh4.cxx
Dosyayı görüntüle @
8d509d69
...
...
@@ -571,39 +571,6 @@ bool isGL3DDiagram( const css::uno::Reference<css::chart2::XDiagram>& xDiagram )
}
void
ScTabViewShell
::
AddOpenGLChartWindows
()
{
ScDocument
*
pDoc
=
GetViewData
().
GetDocument
();
ScGridWindow
*
pParentWindow
=
GetActiveWin
();
std
::
vector
<
std
::
pair
<
uno
::
Reference
<
chart2
::
XChartDocument
>
,
Rectangle
>
>
aCharts
=
pDoc
->
GetAllCharts
();
for
(
std
::
vector
<
std
::
pair
<
uno
::
Reference
<
chart2
::
XChartDocument
>
,
Rectangle
>
>::
iterator
itr
=
aCharts
.
begin
(),
itrEnd
=
aCharts
.
end
();
itr
!=
itrEnd
;
++
itr
)
{
if
(
!
itr
->
first
.
is
())
return
;
OpenGLWindow
*
pOpenGLWindow
=
new
OpenGLWindow
(
pParentWindow
);
pOpenGLWindow
->
Show
(
false
);
Size
aSize
=
itr
->
second
.
GetSize
();
Size
aWindowSize
=
pOpenGLWindow
->
LogicToPixel
(
aSize
,
MapMode
(
MAP_100TH_MM
)
);
pOpenGLWindow
->
SetSizePixel
(
aWindowSize
);
Point
aPos
=
itr
->
second
.
TopLeft
();
pOpenGLWindow
->
SetPosPixel
(
pOpenGLWindow
->
LogicToPixel
(
aPos
,
MapMode
(
MAP_100TH_MM
)));
pParentWindow
->
AddChildWindow
(
pOpenGLWindow
);
uno
::
Reference
<
chart2
::
X3DChartWindowProvider
>
x3DWindowProvider
(
itr
->
first
,
uno
::
UNO_QUERY_THROW
);
sal_uInt64
nWindowPtr
=
reinterpret_cast
<
sal_uInt64
>
(
pOpenGLWindow
);
x3DWindowProvider
->
setWindow
(
nWindowPtr
);
if
(
isGL3DDiagram
(
itr
->
first
->
getFirstDiagram
()))
{
x3DWindowProvider
->
update
();
}
}
}
// DoReadUserData is also called from ctor when switching from print preview
void
ScTabViewShell
::
DoReadUserData
(
const
OUString
&
rData
)
...
...
sc/source/ui/view/tabvwshb.cxx
Dosyayı görüntüle @
8d509d69
...
...
@@ -244,11 +244,6 @@ ErrCode ScTabViewShell::DoVerb(long nVerb)
return
nErr
;
}
void
ScTabViewShell
::
Initialize
()
{
AddOpenGLChartWindows
();
}
void
ScTabViewShell
::
DeactivateOle
()
{
// deactivate inplace editing if currently active
...
...
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