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
5e04331f
Kaydet (Commit)
5e04331f
authored
Eki 25, 2010
tarafından
Adrià Cereto Massagué
Kaydeden (comit)
Jesús Corrius
Eki 25, 2010
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Several comment translations in formula
üst
7b0546a5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
FormulaHelper.cxx
formula/source/ui/dlg/FormulaHelper.cxx
+10
-10
formula.cxx
formula/source/ui/dlg/formula.cxx
+0
-0
funcpage.cxx
formula/source/ui/dlg/funcpage.cxx
+3
-3
funcutl.cxx
formula/source/ui/dlg/funcutl.cxx
+0
-0
No files found.
formula/source/ui/dlg/FormulaHelper.cxx
Dosyayı görüntüle @
5e04331f
...
@@ -59,7 +59,7 @@ namespace formula
...
@@ -59,7 +59,7 @@ namespace formula
};
};
}
}
//===================================================================
//===================================================================
// class FormulaHelper - stati
sche Methoden
// class FormulaHelper - stati
c Method
//===================================================================
//===================================================================
#define FUNC_NOTFOUND 0xffff
#define FUNC_NOTFOUND 0xffff
...
@@ -77,7 +77,7 @@ FormulaHelper::FormulaHelper(const IFunctionManager* _pFunctionManager)
...
@@ -77,7 +77,7 @@ FormulaHelper::FormulaHelper(const IFunctionManager* _pFunctionManager)
}
}
BOOL
FormulaHelper
::
GetNextFunc
(
const
String
&
rFormula
,
BOOL
FormulaHelper
::
GetNextFunc
(
const
String
&
rFormula
,
BOOL
bBack
,
BOOL
bBack
,
xub_StrLen
&
rFStart
,
//
Ein- und Ausgabe
xub_StrLen
&
rFStart
,
//
Input and output
xub_StrLen
*
pFEnd
,
// = NULL
xub_StrLen
*
pFEnd
,
// = NULL
const
IFunctionDescription
**
ppFDesc
,
// = NULL
const
IFunctionDescription
**
ppFDesc
,
// = NULL
::
std
::
vector
<
::
rtl
::
OUString
>*
pArgs
)
const
// = NULL
::
std
::
vector
<
::
rtl
::
OUString
>*
pArgs
)
const
// = NULL
...
@@ -111,7 +111,7 @@ BOOL FormulaHelper::GetNextFunc( const String& rFormula,
...
@@ -111,7 +111,7 @@ BOOL FormulaHelper::GetNextFunc( const String& rFormula,
*
ppFDesc
=
pCurrent
;
*
ppFDesc
=
pCurrent
;
break
;
break
;
}
}
}
// for(sal_uInt32 i = 0 ; i < nCount; ++i)
}
// for(sal_uInt32 i = 0 ; i < nCount; ++i)
}
}
if
(
*
ppFDesc
&&
pArgs
)
if
(
*
ppFDesc
&&
pArgs
)
{
{
...
@@ -146,7 +146,7 @@ void FormulaHelper::FillArgStrings( const String& rFormula,
...
@@ -146,7 +146,7 @@ void FormulaHelper::FillArgStrings( const String& rFormula,
{
{
nStart
=
GetArgStart
(
rFormula
,
nFuncPos
,
i
);
nStart
=
GetArgStart
(
rFormula
,
nFuncPos
,
i
);
if
(
i
+
1
<
nArgs
)
// l
etztes A
rgument?
if
(
i
+
1
<
nArgs
)
// l
ast a
rgument?
{
{
nEnd
=
GetArgStart
(
rFormula
,
nFuncPos
,
i
+
1
);
nEnd
=
GetArgStart
(
rFormula
,
nFuncPos
,
i
+
1
);
...
@@ -263,11 +263,11 @@ xub_StrLen FormulaHelper::GetFunctionStart( const String& rFormula,
...
@@ -263,11 +263,11 @@ xub_StrLen FormulaHelper::GetFunctionStart( const String& rFormula,
{
{
if
(
IsFormulaText
(
m_pCharClass
,
rFormula
,
nFStart
)
)
if
(
IsFormulaText
(
m_pCharClass
,
rFormula
,
nFStart
)
)
{
{
// Fun
ktion gefunden
// Fun
ction found
if
(
pFuncName
)
if
(
pFuncName
)
*
pFuncName
=
rFormula
.
Copy
(
nFStart
,
nParPos
-
nFStart
);
*
pFuncName
=
rFormula
.
Copy
(
nFStart
,
nParPos
-
nFStart
);
}
}
else
//
Klammern ohne Funktion -> weitersuchen
else
//
Brackets without function -> keep searching
{
{
bRepeat
=
TRUE
;
bRepeat
=
TRUE
;
if
(
!
bBack
)
if
(
!
bBack
)
...
@@ -278,7 +278,7 @@ xub_StrLen FormulaHelper::GetFunctionStart( const String& rFormula,
...
@@ -278,7 +278,7 @@ xub_StrLen FormulaHelper::GetFunctionStart( const String& rFormula,
bRepeat
=
FALSE
;
bRepeat
=
FALSE
;
}
}
}
}
else
//
keine Klammern gefunden
else
//
No brackets found
{
{
nFStart
=
FUNC_NOTFOUND
;
nFStart
=
FUNC_NOTFOUND
;
if
(
pFuncName
)
if
(
pFuncName
)
...
@@ -323,7 +323,7 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const String& rStr, xub_StrLen nStart
...
@@ -323,7 +323,7 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const String& rStr, xub_StrLen nStart
else
if
(
nParCount
<
0
)
else
if
(
nParCount
<
0
)
{
{
bFound
=
TRUE
;
bFound
=
TRUE
;
nStart
--
;
//
einen zu weit gelesen
nStart
--
;
//
read one too far
}
}
}
}
else
if
(
c
==
arrayOpen
)
else
if
(
c
==
arrayOpen
)
...
@@ -339,10 +339,10 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const String& rStr, xub_StrLen nStart
...
@@ -339,10 +339,10 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const String& rStr, xub_StrLen nStart
if
(
!
bInArray
&&
nParCount
==
0
)
if
(
!
bInArray
&&
nParCount
==
0
)
{
{
bFound
=
TRUE
;
bFound
=
TRUE
;
nStart
--
;
//
einen zu weit gelesen
nStart
--
;
//
read one too far
}
}
}
}
nStart
++
;
//
hinter gefundene Position stelle
n
nStart
++
;
//
Set behind found positio
n
}
}
return
nStart
;
return
nStart
;
...
...
formula/source/ui/dlg/formula.cxx
Dosyayı görüntüle @
5e04331f
This diff is collapsed.
Click to expand it.
formula/source/ui/dlg/funcpage.cxx
Dosyayı görüntüle @
5e04331f
...
@@ -84,7 +84,7 @@ long FormulaListBox::PreNotify( NotifyEvent& rNEvt )
...
@@ -84,7 +84,7 @@ long FormulaListBox::PreNotify( NotifyEvent& rNEvt )
inline
USHORT
Lb2Cat
(
USHORT
nLbPos
)
inline
USHORT
Lb2Cat
(
USHORT
nLbPos
)
{
{
//
Kategorie 0 == LRU, sonst
Categories == LbPos-1
//
Category 0 == LRU, otherwise
Categories == LbPos-1
if
(
nLbPos
>
0
)
if
(
nLbPos
>
0
)
nLbPos
-=
1
;
nLbPos
-=
1
;
...
@@ -161,7 +161,7 @@ void FuncPage::UpdateFunctionList()
...
@@ -161,7 +161,7 @@ void FuncPage::UpdateFunctionList()
impl_addFunctions
(
pCategory
);
impl_addFunctions
(
pCategory
);
}
}
}
}
else
// LRU-List
e
else
// LRU-List
{
{
::
std
::
vector
<
TFunctionDesc
>::
iterator
aIter
=
aLRUList
.
begin
();
::
std
::
vector
<
TFunctionDesc
>::
iterator
aIter
=
aLRUList
.
begin
();
::
std
::
vector
<
TFunctionDesc
>::
iterator
aEnd
=
aLRUList
.
end
();
::
std
::
vector
<
TFunctionDesc
>::
iterator
aEnd
=
aLRUList
.
end
();
...
@@ -251,7 +251,7 @@ String FuncPage::GetSelFunctionName() const
...
@@ -251,7 +251,7 @@ String FuncPage::GetSelFunctionName() const
}
}
const
IFunctionDescription
*
FuncPage
::
GetFuncDesc
(
USHORT
nPos
)
const
const
IFunctionDescription
*
FuncPage
::
GetFuncDesc
(
USHORT
nPos
)
const
{
{
// n
icht schoen, aber hoffentlich selten
// n
ot pretty, but hopefully rare
return
(
const
IFunctionDescription
*
)
aLbFunction
.
GetEntryData
(
nPos
);
return
(
const
IFunctionDescription
*
)
aLbFunction
.
GetEntryData
(
nPos
);
}
}
...
...
formula/source/ui/dlg/funcutl.cxx
Dosyayı görüntüle @
5e04331f
This diff is collapsed.
Click to expand it.
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