Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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 =
        {
        };
    };
};
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 =
+        {
+        };
+    };
 };

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.