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
b1f7c093
Kaydet (Commit)
b1f7c093
authored
Şub 14, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unwind RID_PRICING_FUNCTION_NAMES local resource
Change-Id: I3da1caed4b6c91acdabe16d98e6d43bf5dc32247
üst
83d062b7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
27 deletions
+20
-27
pricing.cxx
scaddins/source/pricing/pricing.cxx
+1
-1
pricing.hrc
scaddins/source/pricing/pricing.hrc
+1
-2
pricing.hxx
scaddins/source/pricing/pricing.hxx
+0
-16
pricing.src
scaddins/source/pricing/pricing.src
+18
-8
No files found.
scaddins/source/pricing/pricing.cxx
Dosyayı görüntüle @
b1f7c093
...
...
@@ -292,7 +292,7 @@ OUString SAL_CALL ScaPricingAddIn::getDisplayFunctionName( const OUString& aProg
FindScaFuncData
(
aProgrammaticName
)
);
if
(
fDataIt
!=
pFuncDataList
->
end
()
)
{
aRet
=
ScaRes
StringLoader
(
RID_PRICING_FUNCTION_NAMES
,
fDataIt
->
GetUINameID
(),
GetResMgr
()
).
Get
String
();
aRet
=
ScaRes
Id
(
fDataIt
->
GetUINameID
(),
GetResMgr
()).
to
String
();
if
(
fDataIt
->
IsDouble
()
)
aRet
+=
"_ADD"
;
}
...
...
scaddins/source/pricing/pricing.hrc
Dosyayı görüntüle @
b1f7c093
...
...
@@ -23,7 +23,6 @@
#define PRICING_RESOURCE_START 1000
#define RID_PRICING_FUNCTION_DESCRIPTIONS PRICING_RESOURCE_START
#define RID_PRICING_FUNCTION_NAMES (PRICING_RESOURCE_START+1000)
#define PRICING_FUNCDESC_START (RID_PRICING_FUNCTION_DESCRIPTIONS+1)
...
...
@@ -32,7 +31,7 @@
#define PRICING_FUNCDESC_OptProbHit (PRICING_FUNCDESC_START+2)
#define PRICING_FUNCDESC_OptProbInMoney (PRICING_FUNCDESC_START+3)
#define PRICING_FUNCNAME_START (
RID_PRICING_FUNCTION_NAMES+1
)
#define PRICING_FUNCNAME_START (
PRICING_RESOURCE_START+1000
)
#define PRICING_FUNCNAME_OptBarrier (PRICING_FUNCNAME_START)
#define PRICING_FUNCNAME_OptTouch (PRICING_FUNCNAME_START+1)
...
...
scaddins/source/pricing/pricing.hxx
Dosyayı görüntüle @
b1f7c093
...
...
@@ -53,22 +53,6 @@ public:
ScaResId
(
sal_uInt16
nResId
,
ResMgr
&
rResMgr
);
};
class
ScaResStringLoader
{
private
:
OUString
aStr
;
public
:
ScaResStringLoader
(
sal_uInt16
nResId
,
sal_uInt16
nStrId
,
ResMgr
&
rResMgr
)
{
ResStringArray
aStrArray
(
ScaResId
(
nResId
,
rResMgr
));
aStr
=
aStrArray
.
GetString
(
aStrArray
.
FindIndex
(
nStrId
));
}
const
OUString
&
GetString
()
const
{
return
aStr
;
}
};
class
ScaResPublisher
:
public
Resource
{
public
:
...
...
scaddins/source/pricing/pricing.src
Dosyayı görüntüle @
b1f7c093
...
...
@@ -399,15 +399,25 @@ Resource RID_PRICING_FUNCTION_DESCRIPTIONS
};
// function names as accessible from cells
StringArray RID_PRICING_FUNCTION_NAMES
String PRICING_FUNCNAME_OptBarrier
{
ItemList [ en-US ] =
{
< "OPT_BARRIER"; PRICING_FUNCNAME_OptBarrier ; >;
< "OPT_TOUCH"; PRICING_FUNCNAME_OptTouch ; >;
< "OPT_PROB_HIT"; PRICING_FUNCNAME_OptProbHit ; >;
< "OPT_PROB_INMONEY"; PRICING_FUNCNAME_OptProbInMoney ; >;
};
Text [ en-US ] = "OPT_BARRIER";
};
String PRICING_FUNCNAME_OptTouch
{
Text [ en-US ] = "OPT_TOUCH";
};
String PRICING_FUNCNAME_OptProbHit
{
Text [ en-US ] = "OPT_PROB_HIT";
};
String PRICING_FUNCNAME_OptProbInMoney
{
Text [ en-US ] = "OPT_PROB_INMONEY";
};
// These were originally meant to be able to load Excel documents that for
...
...
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