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
ce6b095c
Kaydet (Commit)
ce6b095c
authored
Agu 10, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Button::GetStandardHelpText returns empty string, its all a noop
Change-Id: I651b19840aabf67b3083cd855c2851ac4c96741e
üst
068d4307
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
button.hxx
include/vcl/button.hxx
+0
-1
button.cxx
vcl/source/control/button.cxx
+0
-12
morebtn.cxx
vcl/source/control/morebtn.cxx
+0
-2
btndlg.cxx
vcl/source/window/btndlg.cxx
+0
-1
No files found.
include/vcl/button.hxx
Dosyayı görüntüle @
ce6b095c
...
...
@@ -72,7 +72,6 @@ public:
const
Link
&
GetClickHdl
()
const
{
return
maClickHdl
;
}
static
OUString
GetStandardText
(
StandardButtonType
eButton
);
static
XubString
GetStandardHelpText
(
StandardButtonType
eButton
);
sal_Bool
SetModeImage
(
const
Image
&
rImage
);
const
Image
GetModeImage
(
)
const
;
...
...
vcl/source/control/button.cxx
Dosyayı görüntüle @
ce6b095c
...
...
@@ -155,14 +155,6 @@ OUString Button::GetStandardText( StandardButtonType eButton )
return
ResId
(
nResId
,
*
pResMgr
).
toString
();
}
// -----------------------------------------------------------------------
XubString
Button
::
GetStandardHelpText
(
StandardButtonType
/* eButton */
)
{
XubString
aHelpText
;
return
aHelpText
;
}
// -----------------------------------------------------------------------
sal_Bool
Button
::
SetModeImage
(
const
Image
&
rImage
)
{
...
...
@@ -1753,7 +1745,6 @@ void OKButton::ImplInit( Window* pParent, WinBits nStyle )
PushButton
::
ImplInit
(
pParent
,
nStyle
);
SetText
(
Button
::
GetStandardText
(
BUTTON_OK
)
);
SetHelpText
(
Button
::
GetStandardHelpText
(
BUTTON_OK
)
);
}
// -----------------------------------------------------------------------
...
...
@@ -1819,7 +1810,6 @@ void CancelButton::ImplInit( Window* pParent, WinBits nStyle )
PushButton
::
ImplInit
(
pParent
,
nStyle
);
SetText
(
Button
::
GetStandardText
(
BUTTON_CANCEL
)
);
SetHelpText
(
Button
::
GetStandardHelpText
(
BUTTON_CANCEL
)
);
}
// -----------------------------------------------------------------------
...
...
@@ -1882,7 +1872,6 @@ CloseButton::CloseButton( Window* pParent, WinBits nStyle )
:
CancelButton
(
pParent
,
nStyle
)
{
SetText
(
Button
::
GetStandardText
(
BUTTON_CLOSE
)
);
SetHelpText
(
Button
::
GetStandardHelpText
(
BUTTON_CLOSE
)
);
}
// =======================================================================
...
...
@@ -1892,7 +1881,6 @@ void HelpButton::ImplInit( Window* pParent, WinBits nStyle )
PushButton
::
ImplInit
(
pParent
,
nStyle
|
WB_NOPOINTERFOCUS
);
SetText
(
Button
::
GetStandardText
(
BUTTON_HELP
)
);
SetHelpText
(
Button
::
GetStandardHelpText
(
BUTTON_HELP
)
);
}
// -----------------------------------------------------------------------
...
...
vcl/source/control/morebtn.cxx
Dosyayı görüntüle @
ce6b095c
...
...
@@ -45,8 +45,6 @@ void MoreButton::ImplInit( Window* pParent, WinBits nStyle )
mpMBData
->
maMoreText
=
Button
::
GetStandardText
(
BUTTON_MORE
);
mpMBData
->
maLessText
=
Button
::
GetStandardText
(
BUTTON_LESS
);
SetHelpText
(
Button
::
GetStandardHelpText
(
BUTTON_MORE
)
);
ShowState
();
SetSymbolAlign
(
SYMBOLALIGN_RIGHT
);
...
...
vcl/source/window/btndlg.cxx
Dosyayı görüntüle @
ce6b095c
...
...
@@ -306,7 +306,6 @@ void ButtonDialog::AddButton( StandardButtonType eType, sal_uInt16 nId,
!
((
eType
==
BUTTON_HELP
)
&&
(
pItem
->
mpPushButton
->
GetType
()
==
WINDOW_HELPBUTTON
))
)
{
pItem
->
mpPushButton
->
SetText
(
Button
::
GetStandardText
(
eType
)
);
pItem
->
mpPushButton
->
SetHelpText
(
Button
::
GetStandardHelpText
(
eType
)
);
}
if
(
nBtnFlags
&
BUTTONDIALOG_FOCUSBUTTON
)
...
...
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