diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-07-10 19:20:21 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-07-10 19:20:21 -0400 |
commit | edf7e391f5fec3e0728eb36516f6434bb93b6ea8 (patch) | |
tree | f798fbd5d6227937f1923f900088210ec070ea3d | |
parent | 2d99acb627eaba41f82247d74415fcd8a1524f36 (diff) |
I needed to flag result data in order to show them.
-rw-r--r-- | source/dpsource.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/dpsource.cxx b/source/dpsource.cxx index 64df860..3456997 100644 --- a/source/dpsource.cxx +++ b/source/dpsource.cxx @@ -4,6 +4,7 @@ #include "dpdimensions.hxx" #include <cppuhelper/implementationentry.hxx> +#include <com/sun/star/sheet/DataResultFlags.hpp> #define SERVICE_NAME "com.sun.star.sheet.DataPilotSource" #define IMPLEMENTATION_NAME "com.novell.openoffice.DataPilotSourceProvider" @@ -145,10 +146,13 @@ Sequence<OUString> SourceProvider::getSupportedServiceNames() Sequence< Sequence<DataResult> > SourceProvider::getResults() throw (RuntimeException) { + using namespace ::com::sun::star::sheet; + StackPrinter __stack_printer__("dpsource/SourceProvider::getResults"); Sequence< Sequence<DataResult> > aResults(3); Sequence<DataResult> aRow(1); aRow[0].Value = 1.0; + aRow[0].Flags = DataResultFlags::HASDATA; aResults[0] = aRow; aResults[1] = aRow; aResults[2] = aRow; |