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
0a6be648
Kaydet (Commit)
0a6be648
authored
Eki 08, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Deduplicate InputDialog (for disable-dynloading)
Change-Id: Id1522e1874ed2b65f7bd8d379b93c35941a7d0b5
üst
ce3ac48c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
scriptdlg.cxx
cui/source/dialogs/scriptdlg.cxx
+5
-5
scriptdlg.hxx
cui/source/inc/scriptdlg.hxx
+3
-3
No files found.
cui/source/dialogs/scriptdlg.cxx
Dosyayı görüntüle @
0a6be648
...
@@ -427,9 +427,9 @@ void SFTreeListBox::ExpandedHdl()
...
@@ -427,9 +427,9 @@ void SFTreeListBox::ExpandedHdl()
}
}
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// InputDialog ------------------------------------------------------------
//
Cui
InputDialog ------------------------------------------------------------
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
InputDialog
::
InputDialog
(
Window
*
pParent
,
sal_uInt16
nMode
)
CuiInputDialog
::
Cui
InputDialog
(
Window
*
pParent
,
sal_uInt16
nMode
)
:
ModalDialog
(
pParent
,
CUI_RES
(
RID_DLG_NEWLIB
)
),
:
ModalDialog
(
pParent
,
CUI_RES
(
RID_DLG_NEWLIB
)
),
aText
(
this
,
CUI_RES
(
FT_NEWLIB
)
),
aText
(
this
,
CUI_RES
(
FT_NEWLIB
)
),
aEdit
(
this
,
CUI_RES
(
ED_LIBNAME
)
),
aEdit
(
this
,
CUI_RES
(
ED_LIBNAME
)
),
...
@@ -484,7 +484,7 @@ InputDialog::InputDialog(Window * pParent, sal_uInt16 nMode )
...
@@ -484,7 +484,7 @@ InputDialog::InputDialog(Window * pParent, sal_uInt16 nMode )
}
}
InputDialog
::~
InputDialog
()
CuiInputDialog
::~
Cui
InputDialog
()
{
{
}
}
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
...
@@ -933,7 +933,7 @@ void SvxScriptOrgDialog::createEntry( SvLBoxEntry* pEntry )
...
@@ -933,7 +933,7 @@ void SvxScriptOrgDialog::createEntry( SvLBoxEntry* pEntry )
}
}
SAL_WNODEPRECATED_DECLARATIONS_PUSH
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std
::
auto_ptr
<
InputDialog
>
xNewDlg
(
new
InputDialog
(
static_cast
<
Window
*>
(
this
),
nMode
)
);
std
::
auto_ptr
<
CuiInputDialog
>
xNewDlg
(
new
Cui
InputDialog
(
static_cast
<
Window
*>
(
this
),
nMode
)
);
SAL_WNODEPRECATED_DECLARATIONS_POP
SAL_WNODEPRECATED_DECLARATIONS_POP
xNewDlg
->
SetObjectName
(
aNewName
);
xNewDlg
->
SetObjectName
(
aNewName
);
...
@@ -1065,7 +1065,7 @@ void SvxScriptOrgDialog::renameEntry( SvLBoxEntry* pEntry )
...
@@ -1065,7 +1065,7 @@ void SvxScriptOrgDialog::renameEntry( SvLBoxEntry* pEntry )
sal_uInt16
nMode
=
INPUTMODE_RENAME
;
sal_uInt16
nMode
=
INPUTMODE_RENAME
;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std
::
auto_ptr
<
InputDialog
>
xNewDlg
(
new
InputDialog
(
static_cast
<
Window
*>
(
this
),
nMode
)
);
std
::
auto_ptr
<
CuiInputDialog
>
xNewDlg
(
new
Cui
InputDialog
(
static_cast
<
Window
*>
(
this
),
nMode
)
);
SAL_WNODEPRECATED_DECLARATIONS_POP
SAL_WNODEPRECATED_DECLARATIONS_POP
xNewDlg
->
SetObjectName
(
aNewName
);
xNewDlg
->
SetObjectName
(
aNewName
);
...
...
cui/source/inc/scriptdlg.hxx
Dosyayı görüntüle @
0a6be648
...
@@ -98,7 +98,7 @@ public:
...
@@ -98,7 +98,7 @@ public:
void
deleteAllTree
(
);
void
deleteAllTree
(
);
};
};
class
InputDialog
:
public
ModalDialog
class
Cui
InputDialog
:
public
ModalDialog
{
{
private
:
private
:
FixedText
aText
;
FixedText
aText
;
...
@@ -107,8 +107,8 @@ private:
...
@@ -107,8 +107,8 @@ private:
CancelButton
aCancelButton
;
CancelButton
aCancelButton
;
public
:
public
:
InputDialog
(
Window
*
pParent
,
sal_uInt16
nMode
);
Cui
InputDialog
(
Window
*
pParent
,
sal_uInt16
nMode
);
~
InputDialog
();
~
Cui
InputDialog
();
String
GetObjectName
()
const
{
return
aEdit
.
GetText
();
}
String
GetObjectName
()
const
{
return
aEdit
.
GetText
();
}
void
SetObjectName
(
const
String
&
rName
)
{
aEdit
.
SetText
(
rName
);
aEdit
.
SetSelection
(
Selection
(
0
,
rName
.
Len
()
)
);}
void
SetObjectName
(
const
String
&
rName
)
{
aEdit
.
SetText
(
rName
);
aEdit
.
SetSelection
(
Selection
(
0
,
rName
.
Len
()
)
);}
...
...
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