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
9a39b4c9
Kaydet (Commit)
9a39b4c9
authored
Mar 01, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unroll SmEditWindow::GetEditEngineItemPool
Change-Id: Iaf7a7c65109864f429ab5cc6848a12a37421afa1
üst
d9edcfa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
edit.hxx
starmath/inc/edit.hxx
+0
-2
edit.cxx
starmath/source/edit.cxx
+4
-11
No files found.
starmath/inc/edit.hxx
Dosyayı görüntüle @
9a39b4c9
...
...
@@ -82,8 +82,6 @@ class SmEditWindow : public vcl::Window, public DropTargetHelper
void
InvalidateSlots
();
void
UpdateStatus
(
bool
bSetDocModified
);
SfxItemPool
*
GetEditEngineItemPool
();
public
:
explicit
SmEditWindow
(
SmCmdBoxWindow
&
rMyCmdBoxWin
);
virtual
~
SmEditWindow
()
override
;
...
...
starmath/source/edit.cxx
Dosyayı görüntüle @
9a39b4c9
...
...
@@ -199,13 +199,6 @@ EditEngine * SmEditWindow::GetEditEngine()
return
pEditEng
;
}
SfxItemPool
*
SmEditWindow
::
GetEditEngineItemPool
()
{
SmDocShell
*
pDoc
=
GetDoc
();
return
pDoc
?
&
pDoc
->
GetEditEngineItemPool
()
:
nullptr
;
}
void
SmEditWindow
::
ApplyColorConfigValues
(
const
svtools
::
ColorConfig
&
rColorCfg
)
{
// Note: SetBackground still done in SmEditWindow::DataChanged
...
...
@@ -226,10 +219,10 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
// the application font thus we use this one too
SetPointFont
(
*
this
,
aSettings
.
GetFieldFont
()
/*aSettings.GetAppFont()*/
);
EditEngine
*
pEditEngine
=
GetEditEngine
();
S
fxItemPool
*
pEditEngineItemPool
=
GetEditEngineItemPool
();
EditEngine
*
pEditEngine
=
GetEditEngine
();
S
mDocShell
*
pDoc
=
GetDoc
();
if
(
pEditEngine
&&
p
EditEngineItemPool
)
if
(
pEditEngine
&&
p
Doc
)
{
//!
//! see also SmDocShell::GetEditEngine() !
...
...
@@ -237,7 +230,7 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
pEditEngine
->
SetDefTab
(
sal_uInt16
(
GetTextWidth
(
"XXXX"
)));
SetEditEngineDefaultFonts
(
*
pEditEngineItemPool
);
SetEditEngineDefaultFonts
(
pDoc
->
GetEditEngineItemPool
()
);
// forces new settings to be used
// unfortunately this resets the whole edit engine
...
...
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