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

Stephan Bergmann sbergman at redhat.com
Tue May 7 04:59:45 PDT 2013


 odk/examples/DevelopersGuide/OfficeBean/Makefile           |    4 +---
 odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java |    3 ++-
 2 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit c756afcdbab0afae23f2dc39def08debd949d492
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 7 13:59:20 2013 +0200

    Move the example code off the com.sun.star.comp.beans package
    
    Change-Id: I27ffb8f1bddc0a41d76a8b6d441e10e9a71ff10f

diff --git a/odk/examples/DevelopersGuide/OfficeBean/Makefile b/odk/examples/DevelopersGuide/OfficeBean/Makefile
index 5aab7ea..3326244 100644
--- a/odk/examples/DevelopersGuide/OfficeBean/Makefile
+++ b/odk/examples/DevelopersGuide/OfficeBean/Makefile
@@ -43,9 +43,7 @@ include $(SETTINGS)/std.mk
 # Define non-platform/compiler specific settings
 OUT_COMP_CLASS = $(OUT_CLASS)/OOoBeanViewer
 
-# normally the idl file should be stored in a directory tree fitting the module structure,
-# for the example we know the module structure
-PACKAGE = com/sun/star/comp/beans
+PACKAGE = org/libreoffice/sdk/examples/developers_guide/office_bean
 
 JAVAFILES  = \
 	OOoBeanViewer.java \
diff --git a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
index 0bbe547..8cc7556 100644
--- a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
+++ b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
@@ -32,8 +32,9 @@
  *
  *************************************************************************/
 
-package com.sun.star.comp.beans;
+package org.libreoffice.sdk.examples.developers_guide.office_bean;
 
+import com.sun.star.comp.beans.OOoBean;
 import javax.swing.filechooser.*;
 import javax.swing.*;
 import java.io.*;


More information about the Libreoffice-commits mailing list