[Libreoffice-commits] core.git: odk/examples

Noel Grandin noel at peralex.com
Tue Apr 23 03:29:07 PDT 2013


 odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 4f6adb0585037013241bd59e5c869a261c1f20c1
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Apr 23 08:53:16 2013 +0200

    Fix compilation of Spreadsheet odk example
    
    because of change to XDataPilotsResults IDL in
    commit ac569ed4cf5064248b9952f182f6572f20dc9bcb
    "fdo#60300: Work-in-progress change to rework pivot table core"
    
    Change-Id: I730e15226f4dfe3e6baa5d54e987da1016f6b15b
    Reviewed-on: https://gerrit.libreoffice.org/3565
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
index c94f205..f7220f0 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
@@ -1,3 +1,5 @@
+import com.sun.star.sheet.DataPilotFieldFilter;
+
 /*************************************************************************
  *
  *  The Contents of this file are made available subject to the terms of
@@ -864,6 +866,11 @@ public class ExampleDataPilotSource
             return aResults;
         }
 
+        public double[] getFilteredResults(DataPilotFieldFilter[] aFilters) {
+            // FIXME
+            return new double[0];
+        }
+
         //  XDimensionsSupplier
 
         public com.sun.star.container.XNameAccess getDimensions()


More information about the Libreoffice-commits mailing list