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
ef4dfeff
Kaydet (Commit)
ef4dfeff
authored
Eyl 13, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert formula/source/ui/dlg/parawin.hxx from String to OUString
Change-Id: I301a1e7201f8ad21dfa18f749f0f92eae90c1c36
üst
85eb736b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
34 deletions
+33
-34
formula.cxx
formula/source/ui/dlg/formula.cxx
+5
-6
parawin.cxx
formula/source/ui/dlg/parawin.cxx
+13
-13
parawin.hxx
formula/source/ui/dlg/parawin.hxx
+15
-15
No files found.
formula/source/ui/dlg/formula.cxx
Dosyayı görüntüle @
ef4dfeff
...
...
@@ -1165,25 +1165,24 @@ void FormulaDlg_Impl::SaveArg( sal_uInt16 nEd )
{
if
(
nEd
<
nArgs
)
{
sal_uInt16
i
;
for
(
i
=
0
;
i
<=
nEd
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<=
nEd
;
i
++
)
{
if
(
m_aArguments
[
i
].
isEmpty
()
)
m_aArguments
[
i
]
=
OUString
(
" "
);
}
if
(
pParaWin
->
GetArgument
(
nEd
).
Len
()
!=
0
)
if
(
!
pParaWin
->
GetArgument
(
nEd
).
isEmpty
()
)
m_aArguments
[
nEd
]
=
pParaWin
->
GetArgument
(
nEd
);
sal_uInt16
nClearPos
=
nEd
+
1
;
for
(
i
=
nEd
+
1
;
i
<
nArgs
;
i
++
)
for
(
sal_uInt16
i
=
nEd
+
1
;
i
<
nArgs
;
i
++
)
{
if
(
pParaWin
->
GetArgument
(
i
).
Len
()
!=
0
)
if
(
!
pParaWin
->
GetArgument
(
i
).
isEmpty
()
)
{
nClearPos
=
i
+
1
;
}
}
for
(
i
=
nClearPos
;
i
<
nArgs
;
i
++
)
for
(
sal_uInt16
i
=
nClearPos
;
i
<
nArgs
;
i
++
)
{
m_aArguments
[
i
]
=
OUString
();
}
...
...
formula/source/ui/dlg/parawin.cxx
Dosyayı görüntüle @
ef4dfeff
...
...
@@ -252,21 +252,21 @@ RefEdit* ParaWin::GetActiveEdit()
}
String
ParaWin
::
GetArgument
(
sal_uInt16
no
)
OU
String
ParaWin
::
GetArgument
(
sal_uInt16
no
)
{
String
aStr
;
OU
String
aStr
;
if
(
no
<
aParaArray
.
size
())
{
aStr
=
aParaArray
[
no
];
if
(
no
==
nActiveLine
&&
aStr
.
Len
()
==
0
)
aStr
+=
' '
;
if
(
no
==
nActiveLine
&&
aStr
.
isEmpty
()
)
aStr
+=
" "
;
}
return
aStr
;
}
String
ParaWin
::
GetActiveArgName
()
OU
String
ParaWin
::
GetActiveArgName
()
{
String
aStr
;
OU
String
aStr
;
if
(
nArgs
>
0
&&
nEdFocus
!=
NOT_FOUND
)
{
aStr
=
aArgInput
[
nEdFocus
].
GetArgName
();
...
...
@@ -275,7 +275,7 @@ String ParaWin::GetActiveArgName()
}
void
ParaWin
::
SetArgument
(
sal_uInt16
no
,
const
String
&
aString
)
void
ParaWin
::
SetArgument
(
sal_uInt16
no
,
const
OU
String
&
aString
)
{
if
(
no
<
aParaArray
.
size
())
aParaArray
[
no
]
=
comphelper
::
string
::
stripStart
(
aString
,
' '
);
...
...
@@ -283,7 +283,7 @@ void ParaWin::SetArgument(sal_uInt16 no, const String& aString)
void
ParaWin
::
DelParaArray
()
{
::
std
::
vector
<
String
>
().
swap
(
aParaArray
);
::
std
::
vector
<
OU
String
>
().
swap
(
aParaArray
);
}
void
ParaWin
::
SetArgumentFonts
(
const
Font
&
aBoldFont
,
const
Font
&
aLightFont
)
...
...
@@ -335,22 +335,22 @@ void ParaWin::SetFunctionDesc(const IFunctionDescription* pFDesc)
}
void
ParaWin
::
SetArgumentText
(
const
String
&
aText
)
void
ParaWin
::
SetArgumentText
(
const
OU
String
&
aText
)
{
aFtArgName
.
SetText
(
aText
);
}
void
ParaWin
::
SetArgumentDesc
(
const
String
&
aText
)
void
ParaWin
::
SetArgumentDesc
(
const
OU
String
&
aText
)
{
aFtArgDesc
.
SetText
(
aText
);
}
void
ParaWin
::
SetEditDesc
(
const
String
&
aText
)
void
ParaWin
::
SetEditDesc
(
const
OU
String
&
aText
)
{
aFtEditDesc
.
SetText
(
aText
);
}
void
ParaWin
::
SetArgName
(
sal_uInt16
no
,
const
String
&
aText
)
void
ParaWin
::
SetArgName
(
sal_uInt16
no
,
const
OU
String
&
aText
)
{
aArgInput
[
no
].
SetArgName
(
aText
);
}
...
...
@@ -360,7 +360,7 @@ void ParaWin::SetArgNameFont(sal_uInt16 no,const Font& aFont)
aArgInput
[
no
].
SetArgNameFont
(
aFont
);
}
void
ParaWin
::
SetArgVal
(
sal_uInt16
no
,
const
String
&
aText
)
void
ParaWin
::
SetArgVal
(
sal_uInt16
no
,
const
OU
String
&
aText
)
{
aArgInput
[
no
].
SetArgVal
(
aText
);
}
...
...
formula/source/ui/dlg/parawin.hxx
Dosyayı görüntüle @
ef4dfeff
...
...
@@ -81,16 +81,16 @@ private:
RefButton
aRefBtn4
;
ScrollBar
aSlider
;
String
m_sOptional
;
String
m_sRequired
;
sal_Bool
bRefMode
;
OUString
m_sOptional
;
OUString
m_sRequired
;
sal_Bool
bRefMode
;
sal_uInt16
nEdFocus
;
sal_uInt16
nActiveLine
;
sal_uInt16
nEdFocus
;
sal_uInt16
nActiveLine
;
ArgInput
aArgInput
[
4
];
String
aDefaultString
;
::
std
::
vector
<
String
>
OUString
aDefaultString
;
::
std
::
vector
<
OU
String
>
aParaArray
;
DECL_LINK
(
ScrollHdl
,
void
*
);
...
...
@@ -109,13 +109,13 @@ protected:
ArgEdit
&
rEdArg
,
RefButton
&
rRefBtn
);
void
DelParaArray
();
void
SetArgumentDesc
(
const
String
&
aText
);
void
SetArgumentText
(
const
String
&
aText
);
void
SetArgumentDesc
(
const
OU
String
&
aText
);
void
SetArgumentText
(
const
OU
String
&
aText
);
void
SetArgName
(
sal_uInt16
no
,
const
String
&
aArg
);
void
SetArgName
(
sal_uInt16
no
,
const
OU
String
&
aArg
);
void
SetArgNameFont
(
sal_uInt16
no
,
const
Font
&
);
void
SetArgVal
(
sal_uInt16
no
,
const
String
&
aArg
);
void
SetArgVal
(
sal_uInt16
no
,
const
OU
String
&
aArg
);
void
HideParaLine
(
sal_uInt16
no
);
void
ShowParaLine
(
sal_uInt16
no
);
...
...
@@ -128,7 +128,7 @@ public:
void
SetFunctionDesc
(
const
IFunctionDescription
*
pFDesc
);
void
SetArgumentOffset
(
sal_uInt16
nOffset
);
void
SetEditDesc
(
const
String
&
aText
);
void
SetEditDesc
(
const
OU
String
&
aText
);
void
UpdateParas
();
void
ClearAll
();
...
...
@@ -138,10 +138,10 @@ public:
sal_uInt16
GetActiveLine
();
void
SetActiveLine
(
sal_uInt16
no
);
RefEdit
*
GetActiveEdit
();
String
GetActiveArgName
();
OUString
GetActiveArgName
();
String
GetArgument
(
sal_uInt16
no
);
void
SetArgument
(
sal_uInt16
no
,
const
String
&
aString
);
OUString
GetArgument
(
sal_uInt16
no
);
void
SetArgument
(
sal_uInt16
no
,
const
OU
String
&
aString
);
void
SetArgumentFonts
(
const
Font
&
aBoldFont
,
const
Font
&
aLightFont
);
void
SetEdFocus
(
sal_uInt16
nEditLine
);
//Sichtbare Editzeilen
...
...
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