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
2fc5d294
Kaydet (Commit)
2fc5d294
authored
Eki 15, 2013
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i122738 corrected update of FillStyle/FillAttribute UI elements
üst
b7d59ee3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
fillctrl.hxx
svx/inc/svx/fillctrl.hxx
+0
-2
fillctrl.cxx
svx/source/tbxctrls/fillctrl.cxx
+0
-13
No files found.
svx/inc/svx/fillctrl.hxx
Dosyayı görüntüle @
2fc5d294
...
@@ -58,7 +58,6 @@ private:
...
@@ -58,7 +58,6 @@ private:
SvxFillAttrBox
*
pFillAttrLB
;
SvxFillAttrBox
*
pFillAttrLB
;
sal_Bool
bUpdate
;
sal_Bool
bUpdate
;
sal_Bool
bIgnoreStatusUpdate
;
sal_uInt16
eLastXFS
;
sal_uInt16
eLastXFS
;
public
:
public
:
...
@@ -71,7 +70,6 @@ public:
...
@@ -71,7 +70,6 @@ public:
const
SfxPoolItem
*
pState
);
const
SfxPoolItem
*
pState
);
void
Update
(
const
SfxPoolItem
*
pState
);
void
Update
(
const
SfxPoolItem
*
pState
);
virtual
Window
*
CreateItemWindow
(
Window
*
pParent
);
virtual
Window
*
CreateItemWindow
(
Window
*
pParent
);
void
IgnoreStatusUpdate
(
sal_Bool
bSet
);
};
};
//========================================================================
//========================================================================
...
...
svx/source/tbxctrls/fillctrl.cxx
Dosyayı görüntüle @
2fc5d294
...
@@ -74,7 +74,6 @@ SvxFillToolBoxControl::SvxFillToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId
...
@@ -74,7 +74,6 @@ SvxFillToolBoxControl::SvxFillToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId
pFillTypeLB
(
NULL
),
pFillTypeLB
(
NULL
),
pFillAttrLB
(
NULL
),
pFillAttrLB
(
NULL
),
bUpdate
(
sal_False
),
bUpdate
(
sal_False
),
bIgnoreStatusUpdate
(
sal_False
),
eLastXFS
(
XFILL_NONE
)
eLastXFS
(
XFILL_NONE
)
{
{
addStatusListener
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FillColor"
)));
addStatusListener
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FillColor"
)));
...
@@ -107,9 +106,6 @@ void SvxFillToolBoxControl::StateChanged(
...
@@ -107,9 +106,6 @@ void SvxFillToolBoxControl::StateChanged(
{
{
bool
bEnableControls
=
sal_False
;
bool
bEnableControls
=
sal_False
;
if
(
bIgnoreStatusUpdate
)
return
;
if
(
eState
==
SFX_ITEM_DISABLED
)
if
(
eState
==
SFX_ITEM_DISABLED
)
{
{
if
(
nSID
==
SID_ATTR_FILL_STYLE
)
if
(
nSID
==
SID_ATTR_FILL_STYLE
)
...
@@ -229,13 +225,6 @@ void SvxFillToolBoxControl::StateChanged(
...
@@ -229,13 +225,6 @@ void SvxFillToolBoxControl::StateChanged(
//========================================================================
//========================================================================
void
SvxFillToolBoxControl
::
IgnoreStatusUpdate
(
sal_Bool
bSet
)
{
bIgnoreStatusUpdate
=
bSet
;
}
//========================================================================
void
SvxFillToolBoxControl
::
Update
(
const
SfxPoolItem
*
pState
)
void
SvxFillToolBoxControl
::
Update
(
const
SfxPoolItem
*
pState
)
{
{
if
(
pStyleItem
&&
pState
&&
bUpdate
)
if
(
pStyleItem
&&
pState
&&
bUpdate
)
...
@@ -686,10 +675,8 @@ IMPL_LINK( FillControl, SelectFillAttrHdl, ListBox *, pBox )
...
@@ -686,10 +675,8 @@ IMPL_LINK( FillControl, SelectFillAttrHdl, ListBox *, pBox )
aArgs
[
0
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FillStyle"
));
aArgs
[
0
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FillStyle"
));
aXFillStyleItem
.
QueryValue
(
a
);
aXFillStyleItem
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
aArgs
[
0
].
Value
=
a
;
(
(
SvxFillToolBoxControl
*
)
GetData
()
)
->
IgnoreStatusUpdate
(
sal_True
);
((
SvxFillToolBoxControl
*
)
GetData
())
->
Dispatch
(
((
SvxFillToolBoxControl
*
)
GetData
())
->
Dispatch
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FillStyle"
)),
aArgs
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FillStyle"
)),
aArgs
);
(
(
SvxFillToolBoxControl
*
)
GetData
()
)
->
IgnoreStatusUpdate
(
sal_False
);
switch
(
eXFS
)
switch
(
eXFS
)
{
{
...
...
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