additional calc functions produce warnings
tino
ttk448 at gmail.com
Fri Dec 14 14:22:40 PST 2012
> Now I can see them with that obvious tip. Resource
> RID_PRICING_DEFFUNCTION_NAME is empty in
> scaddins/source/pricing/pricing.src
Ah yes, thanks for that. I left that empty because I assumed this was
optional and I didn't understand the point of it. It seemed something
to do with translating function names (the other add-ins only
contain a German translation and again the English version).
In any case, the attached diff will get rid of the warnings. Don't
know if it's ok to leave ItemList empty, but at least no warnings are
printed, except for
core/sfx2/source/control/dispatch.cxx:1477: Childwindow slot missing!
which I guess is unrelated.
---------------------------------------------------------------------
./core/scaddins/source/pricing/pricing.src
------------------------------------------
Resource RID_PRICING_DEFFUNCTION_NAMES
{
StringArray PRICING_DEFFUNCNAME_OptBarrier
{
ItemList =
{
};
};
StringArray PRICING_DEFFUNCNAME_OptTouch
{
ItemList =
{
};
};
StringArray PRICING_DEFFUNCNAME_OptProbHit
{
ItemList =
{
};
};
StringArray PRICING_DEFFUNCNAME_OptProbInMoney
{
ItemList =
{
};
};
};
-------------- next part --------------
diff --git a/scaddins/source/pricing/pricing.src b/scaddins/source/pricing/pricing.src
index 6aa1675..67ae69f 100644
--- a/scaddins/source/pricing/pricing.src
+++ b/scaddins/source/pricing/pricing.src
@@ -432,5 +432,32 @@ Resource RID_PRICING_FUNCTION_NAMES
// for translating function names
Resource RID_PRICING_DEFFUNCTION_NAMES
{
+ StringArray PRICING_DEFFUNCNAME_OptBarrier
+ {
+ ItemList =
+ {
+ };
+ };
+
+
+ StringArray PRICING_DEFFUNCNAME_OptTouch
+ {
+ ItemList =
+ {
+ };
+ };
+ StringArray PRICING_DEFFUNCNAME_OptProbHit
+ {
+ ItemList =
+ {
+ };
+ };
+
+ StringArray PRICING_DEFFUNCNAME_OptProbInMoney
+ {
+ ItemList =
+ {
+ };
+ };
};
More information about the LibreOffice
mailing list