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
9f562a82
Kaydet (Commit)
9f562a82
authored
Eki 20, 2011
tarafından
Felix Zhang
Kaydeden (comit)
Jan Holesovsky
Eki 20, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused methods from formula::FormulaModalDialog
üst
093e7a56
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
101 deletions
+0
-101
formula.hxx
formula/inc/formula/formula.hxx
+0
-17
formula.cxx
formula/source/ui/dlg/formula.cxx
+0
-70
unusedcode.easy
unusedcode.easy
+0
-14
No files found.
formula/inc/formula/formula.hxx
Dosyayı görüntüle @
9f562a82
...
...
@@ -73,35 +73,18 @@ private:
::
std
::
auto_ptr
<
FormulaDlg_Impl
>
m_pImpl
;
SAL_WNODEPRECATED_DECLARATIONS_POP
protected
:
void
disableOk
();
protected
:
virtual
long
PreNotify
(
NotifyEvent
&
rNEvt
);
::
std
::
pair
<
RefButton
*
,
RefEdit
*>
RefInputStartBefore
(
RefEdit
*
pEdit
,
RefButton
*
pButton
=
NULL
);
void
RefInputStartAfter
(
RefEdit
*
pEdit
,
RefButton
*
pButton
=
NULL
);
void
RefInputDoneAfter
(
sal_Bool
bForced
=
sal_False
);
rtl
::
OString
FindFocusWin
(
Window
*
pWin
);
void
SetFocusWin
(
Window
*
pWin
,
const
rtl
::
OString
&
nUniqueId
);
void
HighlightFunctionParas
(
const
String
&
aFormula
);
void
SetMeText
(
const
String
&
_sText
);
FormulaDlgMode
SetMeText
(
const
String
&
_sText
,
xub_StrLen
PrivStart
,
xub_StrLen
PrivEnd
,
sal_Bool
bMatrix
,
sal_Bool
_bSelect
,
sal_Bool
_bUpdate
);
void
Update
();
sal_Bool
CheckMatrix
(
String
&
aFormula
/*IN/OUT*/
);
String
GetMeText
()
const
;
void
Update
(
const
String
&
_sExp
);
void
CheckMatrix
();
void
DoEnter
(
sal_Bool
_bOk
);
sal_Bool
isUserMatrix
()
const
;
const
IFunctionDescription
*
getCurrentFunctionDescription
()
const
;
sal_Bool
UpdateParaWin
(
Selection
&
_rSelection
);
void
UpdateParaWin
(
const
Selection
&
_rSelection
,
const
String
&
_sRefStr
);
RefEdit
*
GetActiveEdit
();
void
SetEdSelection
();
const
FormulaHelper
&
GetFormulaHelper
()
const
;
};
class
FORMULA_DLLPUBLIC
FormulaDlg
:
public
SfxModelessDialog
...
...
formula/source/ui/dlg/formula.cxx
Dosyayı görüntüle @
9f562a82
...
...
@@ -1822,45 +1822,16 @@ void FormulaModalDialog::SetMeText(const String& _sText)
m_pImpl
->
SetMeText
(
_sText
);
}
// -----------------------------------------------------------------------------
FormulaDlgMode
FormulaModalDialog
::
SetMeText
(
const
String
&
_sText
,
xub_StrLen
PrivStart
,
xub_StrLen
PrivEnd
,
sal_Bool
bMatrix
,
sal_Bool
_bSelect
,
sal_Bool
_bUpdate
)
{
return
m_pImpl
->
SetMeText
(
_sText
,
PrivStart
,
PrivEnd
,
bMatrix
,
_bSelect
,
_bUpdate
);
}
// -----------------------------------------------------------------------------
void
FormulaModalDialog
::
CheckMatrix
()
{
m_pImpl
->
aBtnMatrix
.
Check
();
}
// -----------------------------------------------------------------------------
sal_Bool
FormulaModalDialog
::
CheckMatrix
(
String
&
aFormula
)
{
return
m_pImpl
->
CheckMatrix
(
aFormula
);
}
// -----------------------------------------------------------------------------
String
FormulaModalDialog
::
GetMeText
()
const
{
return
m_pImpl
->
pMEdit
->
GetText
();
}
// -----------------------------------------------------------------------------
void
FormulaModalDialog
::
Update
()
{
m_pImpl
->
Update
();
}
// -----------------------------------------------------------------------------
const
FormulaHelper
&
FormulaModalDialog
::
GetFormulaHelper
()
const
{
return
m_pImpl
->
GetFormulaHelper
();
}
// -----------------------------------------------------------------------------
sal_Bool
FormulaModalDialog
::
isUserMatrix
()
const
{
return
m_pImpl
->
bUserMatrixFlag
;
}
void
FormulaModalDialog
::
DoEnter
(
sal_Bool
_bOk
)
{
m_pImpl
->
DoEnter
(
_bOk
);
}
::
std
::
pair
<
RefButton
*
,
RefEdit
*>
FormulaModalDialog
::
RefInputStartBefore
(
RefEdit
*
pEdit
,
RefButton
*
pButton
)
{
return
m_pImpl
->
RefInputStartBefore
(
pEdit
,
pButton
);
...
...
@@ -1874,11 +1845,6 @@ void FormulaModalDialog::RefInputDoneAfter( sal_Bool bForced )
m_pImpl
->
RefInputDoneAfter
(
bForced
);
}
rtl
::
OString
FormulaModalDialog
::
FindFocusWin
(
Window
*
pWin
)
{
return
m_pImpl
->
FindFocusWin
(
pWin
);
}
void
FormulaModalDialog
::
SetFocusWin
(
Window
*
pWin
,
const
rtl
::
OString
&
nUniqueId
)
{
if
(
pWin
->
GetUniqueId
()
==
nUniqueId
)
...
...
@@ -1897,7 +1863,6 @@ void FormulaModalDialog::SetFocusWin(Window *pWin,const rtl::OString& nUniqueId)
}
}
long
FormulaModalDialog
::
PreNotify
(
NotifyEvent
&
rNEvt
)
{
m_pImpl
->
PreNotify
(
rNEvt
);
...
...
@@ -1905,41 +1870,6 @@ long FormulaModalDialog::PreNotify( NotifyEvent& rNEvt )
return
ModalDialog
::
PreNotify
(
rNEvt
);
}
void
FormulaModalDialog
::
HighlightFunctionParas
(
const
String
&
aFormula
)
{
m_pImpl
->
m_pHelper
->
showReference
(
aFormula
);
}
void
FormulaModalDialog
::
disableOk
()
{
m_pImpl
->
aBtnEnd
.
Disable
();
}
// -----------------------------------------------------------------------------
const
IFunctionDescription
*
FormulaModalDialog
::
getCurrentFunctionDescription
()
const
{
OSL_VERIFY
(
!
m_pImpl
->
pFuncDesc
||
m_pImpl
->
pFuncDesc
->
getSuppressedArgumentCount
()
==
m_pImpl
->
nArgs
);
return
m_pImpl
->
pFuncDesc
;
}
// -----------------------------------------------------------------------------
void
FormulaModalDialog
::
UpdateParaWin
(
const
Selection
&
_rSelection
,
const
String
&
_sRefStr
)
{
m_pImpl
->
UpdateParaWin
(
_rSelection
,
_sRefStr
);
}
sal_Bool
FormulaModalDialog
::
UpdateParaWin
(
Selection
&
_rSelection
)
{
return
m_pImpl
->
UpdateParaWin
(
_rSelection
);
}
// -----------------------------------------------------------------------------
RefEdit
*
FormulaModalDialog
::
GetActiveEdit
()
{
return
m_pImpl
->
pParaWin
->
GetActiveEdit
();
}
// -----------------------------------------------------------------------------
void
FormulaModalDialog
::
SetEdSelection
()
{
m_pImpl
->
SetEdSelection
();
}
// --------------------------------------------------------------------------
// Initialisation / General functions for Dialog
// --------------------------------------------------------------------------
...
...
unusedcode.easy
Dosyayı görüntüle @
9f562a82
...
...
@@ -2147,20 +2147,6 @@ formula::FormulaDlg::HighlightFunctionParas(String const&)
formula::FormulaDlg_Impl::EditFuncParas(unsigned short)
formula::FormulaDlg_Impl::UpdateFunctionDesc()
formula::FormulaListBox::FormulaListBox(Window*, long)
formula::FormulaModalDialog::CheckMatrix()
formula::FormulaModalDialog::DoEnter(unsigned char)
formula::FormulaModalDialog::FindFocusWin(Window*)
formula::FormulaModalDialog::GetActiveEdit()
formula::FormulaModalDialog::GetFormulaHelper() const
formula::FormulaModalDialog::GetMeText() const
formula::FormulaModalDialog::HighlightFunctionParas(String const&)
formula::FormulaModalDialog::SetEdSelection()
formula::FormulaModalDialog::SetMeText(String const&, unsigned short, unsigned short, unsigned char, unsigned char, unsigned char)
formula::FormulaModalDialog::UpdateParaWin(Selection const&, String const&)
formula::FormulaModalDialog::UpdateParaWin(Selection&)
formula::FormulaModalDialog::disableOk()
formula::FormulaModalDialog::getCurrentFunctionDescription() const
formula::FormulaModalDialog::isUserMatrix() const
formula::FormulaSubroutineToken::GetTokenArray() const
formula::FormulaToken::IsMatrixFunction() const
formula::FormulaTokenArray::AddName(unsigned short)
...
...
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