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
c979adad
Kaydet (Commit)
c979adad
authored
Nis 09, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I2d9baed5032e267ac5053267d367723999526c8f
üst
104c9cc2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
20 deletions
+19
-20
addincol.hxx
sc/inc/addincol.hxx
+19
-20
addincol.cxx
sc/source/core/tool/addincol.cxx
+0
-0
No files found.
sc/inc/addincol.hxx
Dosyayı görüntüle @
c979adad
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include <com/sun/star/sheet/ResultEvent.hpp>
#include <com/sun/star/sheet/ResultEvent.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/reflection/XIdlMethod.hpp>
#include <com/sun/star/reflection/XIdlMethod.hpp>
#include <com/sun/star/sheet/LocalizedName.hpp>
#include <i18nlangtag/lang.h>
#include <i18nlangtag/lang.h>
#include <rtl/ustring.h>
#include <rtl/ustring.h>
#include "scdllapi.h"
#include "scdllapi.h"
...
@@ -71,7 +70,7 @@ struct ScAddInArgDesc
...
@@ -71,7 +70,7 @@ struct ScAddInArgDesc
OUString
aName
;
OUString
aName
;
OUString
aDescription
;
OUString
aDescription
;
ScAddInArgumentType
eType
;
ScAddInArgumentType
eType
;
sal_Bool
bOptional
;
bool
bOptional
;
};
};
class
ScUnoAddInFuncData
class
ScUnoAddInFuncData
...
@@ -99,7 +98,7 @@ private:
...
@@ -99,7 +98,7 @@ private:
sal_uInt16
nCategory
;
sal_uInt16
nCategory
;
OString
sHelpId
;
OString
sHelpId
;
mutable
::
std
::
vector
<
LocalizedName
>
maCompNames
;
mutable
::
std
::
vector
<
LocalizedName
>
maCompNames
;
mutable
sal_B
ool
bCompInitialized
;
mutable
b
ool
bCompInitialized
;
public
:
public
:
ScUnoAddInFuncData
(
const
OUString
&
rNam
,
const
OUString
&
rLoc
,
ScUnoAddInFuncData
(
const
OUString
&
rNam
,
const
OUString
&
rLoc
,
...
@@ -127,7 +126,7 @@ public:
...
@@ -127,7 +126,7 @@ public:
const
OString
GetHelpId
()
const
{
return
sHelpId
;
}
const
OString
GetHelpId
()
const
{
return
sHelpId
;
}
const
::
std
::
vector
<
LocalizedName
>&
GetCompNames
()
const
;
const
::
std
::
vector
<
LocalizedName
>&
GetCompNames
()
const
;
sal_B
ool
GetExcelName
(
LanguageType
eDestLang
,
OUString
&
rRetExcelName
)
const
;
b
ool
GetExcelName
(
LanguageType
eDestLang
,
OUString
&
rRetExcelName
)
const
;
void
SetFunction
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
reflection
::
XIdlMethod
>&
rNewFunc
,
void
SetFunction
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
reflection
::
XIdlMethod
>&
rNewFunc
,
const
com
::
sun
::
star
::
uno
::
Any
&
rNewObj
);
const
com
::
sun
::
star
::
uno
::
Any
&
rNewObj
);
...
@@ -146,7 +145,7 @@ private:
...
@@ -146,7 +145,7 @@ private:
ScAddInHashMap
*
pExactHashMap
;
///< exact internal name
ScAddInHashMap
*
pExactHashMap
;
///< exact internal name
ScAddInHashMap
*
pNameHashMap
;
///< internal name upper
ScAddInHashMap
*
pNameHashMap
;
///< internal name upper
ScAddInHashMap
*
pLocalHashMap
;
///< localized name upper
ScAddInHashMap
*
pLocalHashMap
;
///< localized name upper
sal_Bool
bInitialized
;
bool
bInitialized
;
void
Initialize
();
void
Initialize
();
void
ReadConfiguration
();
void
ReadConfiguration
();
...
@@ -162,7 +161,7 @@ public:
...
@@ -162,7 +161,7 @@ public:
~
ScUnoAddInCollection
();
~
ScUnoAddInCollection
();
/// User enetered name. rUpperName MUST already be upper case!
/// User enetered name. rUpperName MUST already be upper case!
OUString
FindFunction
(
const
OUString
&
rUpperName
,
sal_B
ool
bLocalFirst
);
OUString
FindFunction
(
const
OUString
&
rUpperName
,
b
ool
bLocalFirst
);
/** Only if bComplete is set, the function reference and argument types
/** Only if bComplete is set, the function reference and argument types
are initialized (component may have to be loaded).
are initialized (component may have to be loaded).
...
@@ -180,13 +179,13 @@ public:
...
@@ -180,13 +179,13 @@ public:
void
LocalizeString
(
OUString
&
rName
);
///< modify rName - input: exact name
void
LocalizeString
(
OUString
&
rName
);
///< modify rName - input: exact name
long
GetFuncCount
();
long
GetFuncCount
();
sal_Bool
FillFunctionDesc
(
long
nFunc
,
ScFuncDesc
&
rDesc
);
bool
FillFunctionDesc
(
long
nFunc
,
ScFuncDesc
&
rDesc
);
static
sal_Bool
FillFunctionDescFromData
(
const
ScUnoAddInFuncData
&
rFuncData
,
ScFuncDesc
&
rDesc
);
static
bool
FillFunctionDescFromData
(
const
ScUnoAddInFuncData
&
rFuncData
,
ScFuncDesc
&
rDesc
);
/// leave rRetExcelName unchanged, if no matching name is found
/// leave rRetExcelName unchanged, if no matching name is found
sal_B
ool
GetExcelName
(
const
OUString
&
rCalcName
,
LanguageType
eDestLang
,
OUString
&
rRetExcelName
);
b
ool
GetExcelName
(
const
OUString
&
rCalcName
,
LanguageType
eDestLang
,
OUString
&
rRetExcelName
);
/// leave rRetCalcName unchanged, if no matching name is found
/// leave rRetCalcName unchanged, if no matching name is found
sal_B
ool
GetCalcName
(
const
OUString
&
rExcelName
,
OUString
&
rRetCalcName
);
b
ool
GetCalcName
(
const
OUString
&
rExcelName
,
OUString
&
rRetCalcName
);
};
};
...
@@ -197,12 +196,12 @@ private:
...
@@ -197,12 +196,12 @@ private:
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
uno
::
Any
>
aArgs
;
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
uno
::
Any
>
aArgs
;
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
uno
::
Any
>
aVarArg
;
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
uno
::
Any
>
aVarArg
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XInterface
>
xCaller
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XInterface
>
xCaller
;
sal_B
ool
bValidCount
;
b
ool
bValidCount
;
// result:
// result:
sal_uInt16
nErrCode
;
sal_uInt16
nErrCode
;
sal_B
ool
bHasString
;
b
ool
bHasString
;
double
fValue
;
double
fValue
;
OUString
aString
;
OUString
aString
;
ScMatrixRef
xMatrix
;
ScMatrixRef
xMatrix
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
sheet
::
XVolatileResult
>
xVarRes
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
sheet
::
XVolatileResult
>
xVarRes
;
...
@@ -215,12 +214,12 @@ public:
...
@@ -215,12 +214,12 @@ public:
long
nParamCount
);
long
nParamCount
);
~
ScUnoAddInCall
();
~
ScUnoAddInCall
();
sal_B
ool
NeedsCaller
()
const
;
b
ool
NeedsCaller
()
const
;
void
SetCaller
(
const
com
::
sun
::
star
::
uno
::
Reference
<
void
SetCaller
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XInterface
>&
rInterface
);
com
::
sun
::
star
::
uno
::
XInterface
>&
rInterface
);
void
SetCallerFromObjectShell
(
SfxObjectShell
*
pSh
);
void
SetCallerFromObjectShell
(
SfxObjectShell
*
pSh
);
sal_B
ool
ValidParamCount
();
b
ool
ValidParamCount
();
ScAddInArgumentType
GetArgType
(
long
nPos
);
ScAddInArgumentType
GetArgType
(
long
nPos
);
void
SetParam
(
long
nPos
,
const
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
void
SetParam
(
long
nPos
,
const
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
...
@@ -228,12 +227,12 @@ public:
...
@@ -228,12 +227,12 @@ public:
void
SetResult
(
const
com
::
sun
::
star
::
uno
::
Any
&
rNewRes
);
void
SetResult
(
const
com
::
sun
::
star
::
uno
::
Any
&
rNewRes
);
sal_uInt16
GetErrCode
()
const
{
return
nErrCode
;
}
sal_uInt16
GetErrCode
()
const
{
return
nErrCode
;
}
sal_B
ool
HasString
()
const
{
return
bHasString
;
}
b
ool
HasString
()
const
{
return
bHasString
;
}
bool
HasMatrix
()
const
{
return
xMatrix
.
get
();
}
bool
HasMatrix
()
const
{
return
xMatrix
.
get
();
}
sal_B
ool
HasVarRes
()
const
{
return
(
xVarRes
.
is
()
);
}
b
ool
HasVarRes
()
const
{
return
(
xVarRes
.
is
()
);
}
double
GetValue
()
const
{
return
fValue
;
}
double
GetValue
()
const
{
return
fValue
;
}
const
OUString
&
GetString
()
const
{
return
aString
;
}
const
OUString
&
GetString
()
const
{
return
aString
;
}
ScMatrixRef
GetMatrix
()
const
{
return
xMatrix
;
}
ScMatrixRef
GetMatrix
()
const
{
return
xMatrix
;
}
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
sheet
::
XVolatileResult
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
sheet
::
XVolatileResult
>
GetVarRes
()
const
{
return
xVarRes
;
}
GetVarRes
()
const
{
return
xVarRes
;
}
...
...
sc/source/core/tool/addincol.cxx
Dosyayı görüntüle @
c979adad
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