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
4d399eea
Kaydet (Commit)
4d399eea
authored
Kas 21, 2011
tarafından
Cor Nouws
Kaydeden (comit)
Michael Meeks
Kas 21, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated transl. German comments - removd obsolete time/date comm
üst
bce71931
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
pszctrl.cxx
svx/source/stbctrls/pszctrl.cxx
+4
-7
No files found.
svx/source/stbctrls/pszctrl.cxx
Dosyayı görüntüle @
4d399eea
...
@@ -171,7 +171,7 @@ struct SvxPosSizeStatusBarControl_Impl
...
@@ -171,7 +171,7 @@ struct SvxPosSizeStatusBarControl_Impl
/* [Description]
/* [Description]
Ctor():
Ctor():
Create an in
tance of the implementation class, enable the page numbering by default
Create an in
stance of the implementation class,
load the images for the position and size
load the images for the position and size
*/
*/
...
@@ -223,18 +223,16 @@ SvxPosSizeStatusBarControl::~SvxPosSizeStatusBarControl()
...
@@ -223,18 +223,16 @@ SvxPosSizeStatusBarControl::~SvxPosSizeStatusBarControl()
NULL/Void SfxPointItem SvxSizeItem SfxStringItem
NULL/Void SfxPointItem SvxSizeItem SfxStringItem
------------------------------------------------------------------------
------------------------------------------------------------------------
Time sal_True sal_False sal_False FALSE
Position sal_False FALSE
Position sal_False FALSE
Size FALSE TRUE FALSE
Size FALSE TRUE FALSE
Text sal_False sal_False TRUE
Text sal_False sal_False TRUE
Another item resulst in an assert, that enables showing of the time.
*/
*/
void
SvxPosSizeStatusBarControl
::
StateChanged
(
sal_uInt16
nSID
,
SfxItemState
eState
,
void
SvxPosSizeStatusBarControl
::
StateChanged
(
sal_uInt16
nSID
,
SfxItemState
eState
,
const
SfxPoolItem
*
pState
)
const
SfxPoolItem
*
pState
)
{
{
//
the combi-controller, always set
the curent Id as HelpId
//
Because the combi-controller, always sets
the curent Id as HelpId
// first clean the cached HelpText
// first clean the cached HelpText
GetStatusBar
().
SetHelpText
(
GetId
(),
String
()
);
GetStatusBar
().
SetHelpText
(
GetId
(),
String
()
);
...
@@ -298,7 +296,6 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
...
@@ -298,7 +296,6 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
else
else
{
{
DBG_ERRORFILE
(
"invalid item type"
);
DBG_ERRORFILE
(
"invalid item type"
);
// nevertheless show date and time
pImp
->
bPos
=
sal_False
;
pImp
->
bPos
=
sal_False
;
pImp
->
bSize
=
sal_False
;
pImp
->
bSize
=
sal_False
;
pImp
->
bTable
=
sal_False
;
pImp
->
bTable
=
sal_False
;
...
@@ -307,8 +304,8 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
...
@@ -307,8 +304,8 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
if
(
GetStatusBar
().
AreItemsVisible
()
)
if
(
GetStatusBar
().
AreItemsVisible
()
)
GetStatusBar
().
SetItemData
(
GetId
(),
0
);
GetStatusBar
().
SetItemData
(
GetId
(),
0
);
// set only strings as text at the statusBar,
because
the Help-Tips
// set only strings as text at the statusBar,
so that
the Help-Tips
//
functions, when the text is too long
//
can work with the text, when it is too long for the statusBar
String
aText
;
String
aText
;
if
(
pImp
->
bTable
)
if
(
pImp
->
bTable
)
aText
=
pImp
->
aStr
;
aText
=
pImp
->
aStr
;
...
...
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