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
200e0c8d
Kaydet (Commit)
200e0c8d
authored
Ock 12, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix a bunch of more crashes when setting personas
Change-Id: I6c2c398e074a41c3173bff57bc12496b4c2032b4
üst
13d50871
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
baside2b.cxx
basctl/source/basicide/baside2b.cxx
+8
-8
layout.cxx
basctl/source/basicide/layout.cxx
+3
-2
linenumberwindow.cxx
basctl/source/basicide/linenumberwindow.cxx
+2
-1
No files found.
basctl/source/basicide/baside2b.cxx
Dosyayı görüntüle @
200e0c8d
...
@@ -666,8 +666,8 @@ void EditorWindow::DataChanged(DataChangedEvent const & rDCEvt)
...
@@ -666,8 +666,8 @@ void EditorWindow::DataChanged(DataChangedEvent const & rDCEvt)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
{
{
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
if
(
aColor
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetFieldColor
())
if
(
!
pOldSettings
||
aColor
!=
pOldSettings
->
GetStyleSettings
().
GetFieldColor
())
{
{
SetBackground
(
Wallpaper
(
aColor
));
SetBackground
(
Wallpaper
(
aColor
));
Invalidate
();
Invalidate
();
...
@@ -675,8 +675,8 @@ void EditorWindow::DataChanged(DataChangedEvent const & rDCEvt)
...
@@ -675,8 +675,8 @@ void EditorWindow::DataChanged(DataChangedEvent const & rDCEvt)
if
(
pEditEngine
!=
0
)
if
(
pEditEngine
!=
0
)
{
{
aColor
=
GetSettings
().
GetStyleSettings
().
GetFieldTextColor
();
aColor
=
GetSettings
().
GetStyleSettings
().
GetFieldTextColor
();
if
(
aColor
!=
rDCEvt
.
GetOldSettings
()
->
if
(
!
pOldSettings
||
aColor
!=
GetStyleSettings
().
GetFieldTextColor
())
pOldSettings
->
GetStyleSettings
().
GetFieldTextColor
())
{
{
Font
aFont
(
pEditEngine
->
GetFont
());
Font
aFont
(
pEditEngine
->
GetFont
());
aFont
.
SetColor
(
aColor
);
aFont
.
SetColor
(
aColor
);
...
@@ -1166,8 +1166,8 @@ void BreakPointWindow::DataChanged(DataChangedEvent const & rDCEvt)
...
@@ -1166,8 +1166,8 @@ void BreakPointWindow::DataChanged(DataChangedEvent const & rDCEvt)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
{
{
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
if
(
aColor
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetFieldColor
())
if
(
!
pOldSettings
||
aColor
!=
pOldSettings
->
GetStyleSettings
().
GetFieldColor
())
{
{
setBackgroundColor
(
aColor
);
setBackgroundColor
(
aColor
);
Invalidate
();
Invalidate
();
...
@@ -1690,8 +1690,8 @@ void ComplexEditorWindow::DataChanged(DataChangedEvent const & rDCEvt)
...
@@ -1690,8 +1690,8 @@ void ComplexEditorWindow::DataChanged(DataChangedEvent const & rDCEvt)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
{
{
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFaceColor
());
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFaceColor
());
if
(
aColor
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetFaceColor
())
if
(
!
pOldSettings
||
aColor
!=
pOldSettings
->
GetStyleSettings
().
GetFaceColor
())
{
{
SetBackground
(
Wallpaper
(
aColor
));
SetBackground
(
Wallpaper
(
aColor
));
Invalidate
();
Invalidate
();
...
...
basctl/source/basicide/layout.cxx
Dosyayı görüntüle @
200e0c8d
...
@@ -135,13 +135,14 @@ void Layout::DataChanged (DataChangedEvent const& rDCEvt)
...
@@ -135,13 +135,14 @@ void Layout::DataChanged (DataChangedEvent const& rDCEvt)
{
{
bool
bInvalidate
=
false
;
bool
bInvalidate
=
false
;
Color
aColor
=
GetSettings
().
GetStyleSettings
().
GetWindowColor
();
Color
aColor
=
GetSettings
().
GetStyleSettings
().
GetWindowColor
();
if
(
aColor
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetWindowColor
())
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
if
(
!
pOldSettings
||
aColor
!=
pOldSettings
->
GetStyleSettings
().
GetWindowColor
())
{
{
SetBackground
(
Wallpaper
(
aColor
));
SetBackground
(
Wallpaper
(
aColor
));
bInvalidate
=
true
;
bInvalidate
=
true
;
}
}
aColor
=
GetSettings
().
GetStyleSettings
().
GetWindowTextColor
();
aColor
=
GetSettings
().
GetStyleSettings
().
GetWindowTextColor
();
if
(
aColor
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetWindowTextColor
())
if
(
!
pOldSettings
||
aColor
!=
pOldSettings
->
GetStyleSettings
().
GetWindowTextColor
())
{
{
Font
aFont
(
GetFont
());
Font
aFont
(
GetFont
());
aFont
.
SetColor
(
aColor
);
aFont
.
SetColor
(
aColor
);
...
...
basctl/source/basicide/linenumberwindow.cxx
Dosyayı görüntüle @
200e0c8d
...
@@ -98,7 +98,8 @@ void LineNumberWindow::DataChanged(DataChangedEvent const & rDCEvt)
...
@@ -98,7 +98,8 @@ void LineNumberWindow::DataChanged(DataChangedEvent const & rDCEvt)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
&&
(
rDCEvt
.
GetFlags
()
&
SETTINGS_STYLE
)
!=
0
)
{
{
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
Color
aColor
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
());
if
(
aColor
!=
rDCEvt
.
GetOldSettings
()
->
GetStyleSettings
().
GetFieldColor
())
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
if
(
!
pOldSettings
||
aColor
!=
pOldSettings
->
GetStyleSettings
().
GetFieldColor
())
{
{
SetBackground
(
Wallpaper
(
aColor
));
SetBackground
(
Wallpaper
(
aColor
));
Invalidate
();
Invalidate
();
...
...
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