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
0078512e
Kaydet (Commit)
0078512e
authored
Ock 12, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedmethods unused return value in include/formula
Change-Id: Ic5d6c11d955ef5ef53dea0bb4e5bec8167874a91
üst
29137eef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
13 deletions
+8
-13
token.cxx
formula/source/core/api/token.cxx
+3
-6
formula.cxx
formula/source/ui/dlg/formula.cxx
+2
-2
formula.hxx
include/formula/formula.hxx
+1
-1
tokenarray.hxx
include/formula/tokenarray.hxx
+2
-4
No files found.
formula/source/core/api/token.cxx
Dosyayı görüntüle @
0078512e
...
...
@@ -901,7 +901,7 @@ FormulaToken* FormulaTokenArray::ReplaceToken( sal_uInt16 nOffset, FormulaToken*
}
}
sal_uInt16
FormulaTokenArray
::
RemoveToken
(
sal_uInt16
nOffset
,
sal_uInt16
nCount
)
void
FormulaTokenArray
::
RemoveToken
(
sal_uInt16
nOffset
,
sal_uInt16
nCount
)
{
if
(
nOffset
<
nLen
)
{
...
...
@@ -948,13 +948,10 @@ sal_uInt16 FormulaTokenArray::RemoveToken( sal_uInt16 nOffset, sal_uInt16 nCount
else
nIndex
-=
nStop
-
nOffset
;
}
return
nCount
;
}
else
{
SAL_WARN
(
"formula.core"
,
"FormulaTokenArray::RemoveToken - nOffset "
<<
nOffset
<<
" >= nLen "
<<
nLen
);
return
0
;
}
}
...
...
@@ -994,9 +991,9 @@ FormulaToken* FormulaTokenArray::AddDouble( double fVal )
return
Add
(
new
FormulaDoubleToken
(
fVal
)
);
}
FormulaToken
*
FormulaTokenArray
::
AddExternal
(
const
sal_Unicode
*
pStr
)
void
FormulaTokenArray
::
AddExternal
(
const
sal_Unicode
*
pStr
)
{
return
AddExternal
(
OUString
(
pStr
)
);
AddExternal
(
OUString
(
pStr
)
);
}
FormulaToken
*
FormulaTokenArray
::
AddExternal
(
const
OUString
&
rStr
,
...
...
formula/source/ui/dlg/formula.cxx
Dosyayı görüntüle @
0078512e
...
...
@@ -1742,9 +1742,9 @@ void FormulaModalDialog::SetMeText(const OUString& _sText)
m_pImpl
->
SetMeText
(
_sText
);
}
bool
FormulaModalDialog
::
CheckMatrix
(
OUString
&
aFormula
)
void
FormulaModalDialog
::
CheckMatrix
(
OUString
&
aFormula
)
{
return
m_pImpl
->
CheckMatrix
(
aFormula
);
m_pImpl
->
CheckMatrix
(
aFormula
);
}
void
FormulaModalDialog
::
Update
()
...
...
include/formula/formula.hxx
Dosyayı görüntüle @
0078512e
...
...
@@ -72,7 +72,7 @@ protected:
void
SetMeText
(
const
OUString
&
_sText
);
void
Update
();
bool
CheckMatrix
(
OUString
&
aFormula
/*IN/OUT*/
);
void
CheckMatrix
(
OUString
&
aFormula
/*IN/OUT*/
);
void
Update
(
const
OUString
&
_sExp
);
void
StoreFormEditData
(
FormEditData
*
pData
);
...
...
include/formula/tokenarray.hxx
Dosyayı görüntüle @
0078512e
...
...
@@ -159,10 +159,8 @@ protected:
Start offset into pCode.
@param nCount
Count of tokens to remove.
@return The actual number of tokens removed from pCode array.
*/
sal_uInt16
RemoveToken
(
sal_uInt16
nOffset
,
sal_uInt16
nCount
);
void
RemoveToken
(
sal_uInt16
nOffset
,
sal_uInt16
nCount
);
inline
void
SetCombinedBitsRecalcMode
(
ScRecalcMode
nBits
)
{
nMode
|=
(
nBits
&
~
RECALCMODE_EMASK
);
}
...
...
@@ -304,7 +302,7 @@ public:
FormulaToken
*
AddString
(
const
svl
::
SharedString
&
rStr
);
FormulaToken
*
AddDouble
(
double
fVal
);
FormulaToken
*
AddExternal
(
const
sal_Unicode
*
pStr
);
void
AddExternal
(
const
sal_Unicode
*
pStr
);
/** Xcl import may play dirty tricks with OpCode!=ocExternal.
Others don't use! */
FormulaToken
*
AddExternal
(
const
OUString
&
rStr
,
OpCode
eOp
=
ocExternal
);
...
...
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