[PATCH] Fix compilation of Spreadsheet odk example

Noel Grandin (via Code Review) gerrit at gerrit.libreoffice.org
Tue Apr 23 00:00:32 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3565

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/65/3565/1

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
---
M odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
1 file changed, 7 insertions(+), 0 deletions(-)



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 @@
             return aResults;
         }
 
+        public double[] getFilteredResults(DataPilotFieldFilter[] aFilters) {
+            // FIXME
+            return new double[0];
+        }
+
         //  XDimensionsSupplier
 
         public com.sun.star.container.XNameAccess getDimensions()

-- 
To view, visit https://gerrit.libreoffice.org/3565
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I730e15226f4dfe3e6baa5d54e987da1016f6b15b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Noel Grandin <noelgrandin at gmail.com>



More information about the LibreOffice mailing list