diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 17:42:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 21:10:03 +0000 |
commit | 54932e7e182962c4084dcbc094650eec13960029 (patch) | |
tree | 26b7999103966182454d24ccc74cf176121e53f9 /bean | |
parent | 6a38eace8c0936c507cb02b8d0dd09e837a183fd (diff) |
Remove visual noise from bean
Change-Id: Ifc6889ef79bd4002c03006a48149594e0ed6690b
Reviewed-on: https://gerrit.libreoffice.org/8235
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bean')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeConnection.java | 2 | ||||
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeWindow.java | 2 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/Controller.java | 8 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/Frame.java | 12 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/OOoBean.java | 10 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/OfficeDocument.java | 22 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/Wrapper.java | 10 |
7 files changed, 33 insertions, 33 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java index d8e7b3baa654..02a08d0b83b5 100644 --- a/bean/com/sun/star/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/beans/LocalOfficeConnection.java @@ -330,7 +330,7 @@ public class LocalOfficeConnection aExec = OFFICE_APP_NAME + ".exe"; // add other non-UNIX operating systems here - // ... + // find soffice executable relative to this class's class loader: File path = NativeLibraryLoader.getResource( diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index 8f79b9909378..bb58b656dcdd 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -251,7 +251,7 @@ public class LocalOfficeWindow */ private native int getNativeWindowSystemType(); - //--------------------------------------------------------------------------- + /** Helper class to watch calls into OOo with a timeout. * @deprecated */ diff --git a/bean/com/sun/star/comp/beans/Controller.java b/bean/com/sun/star/comp/beans/Controller.java index 9521af6bc2cd..9e93c5878b2f 100644 --- a/bean/com/sun/star/comp/beans/Controller.java +++ b/bean/com/sun/star/comp/beans/Controller.java @@ -40,9 +40,9 @@ public class Controller xController ); } - //============================================================== + // com.sun.star.frame.XController - //-------------------------------------------------------------- + public void attachFrame( /*IN*/ com.sun.star.frame.XFrame xFrame ) { @@ -79,9 +79,9 @@ public class Controller return xController.getFrame(); } - //============================================================== + // com.sun.star.frame.XDispatchProvider - //-------------------------------------------------------------- + public com.sun.star.frame.XDispatch queryDispatch( /*IN*/ com.sun.star.util.URL aURL, diff --git a/bean/com/sun/star/comp/beans/Frame.java b/bean/com/sun/star/comp/beans/Frame.java index b14b633b6020..62affe330db1 100644 --- a/bean/com/sun/star/comp/beans/Frame.java +++ b/bean/com/sun/star/comp/beans/Frame.java @@ -45,9 +45,9 @@ public class Frame xFrame ); } - //============================================================== + // com.sun.star.frame.XFrame - //-------------------------------------------------------------- + public void initialize( /*IN*/ com.sun.star.awt.XWindow xWindow ) { @@ -134,9 +134,9 @@ public class Frame xFrame.removeFrameActionListener( xListener ); } - //============================================================== + // com.sun.star.frame.XDispatchProvider - //-------------------------------------------------------------- + public com.sun.star.frame.XDispatch queryDispatch( /*IN*/ com.sun.star.util.URL aURL, @@ -152,9 +152,9 @@ public class Frame return xDispatchProvider.queryDispatches( aRequests ); } - //============================================================== + // com.sun.star.frame.XDispatchProviderInterception - //-------------------------------------------------------------- + public void registerDispatchProviderInterceptor( /*IN*/ com.sun.star.frame.XDispatchProviderInterceptor xInterceptor ) diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 49bab1b0576c..e5a110249fc3 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -1029,7 +1029,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); bIgnoreVisibility = false; } - //-------------------------------------------------------------------------- + /** Applies all tool visiblities to the real thing. @deprecated Clients should use the service com.sun.star.frame.LayoutManager, @@ -1300,9 +1300,9 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); return bStatusBarVisible; } - //=========================================================================== + // Helper Methods / Internal Methods - //--------------------------------------------------------------------------- + // general instance intializer { @@ -1362,9 +1362,9 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); return aExtendedArguments; } - //=========================================================================== + // Helper Classes - //--------------------------------------------------------------------------- + /** Helper class to listen on the connection to learn when it dies. diff --git a/bean/com/sun/star/comp/beans/OfficeDocument.java b/bean/com/sun/star/comp/beans/OfficeDocument.java index 380bceac5c50..8986d2b1a213 100644 --- a/bean/com/sun/star/comp/beans/OfficeDocument.java +++ b/bean/com/sun/star/comp/beans/OfficeDocument.java @@ -20,7 +20,7 @@ package com.sun.star.comp.beans; import com.sun.star.uno.UnoRuntime; -//========================================================================== + /** Wrapper class for service OfficeDocument which emulates the upcoming mode of automatic runtime Java classes to get rid of the need for queryInterface. @@ -55,9 +55,9 @@ public class OfficeDocument extends Wrapper com.sun.star.frame.XStorable.class, xModel ); } - //========================================================== + // com.sun.star.frame.XModel - //---------------------------------------------------------- + public boolean attachResource( /*IN*/String aURL, /*IN*/com.sun.star.beans.PropertyValue[] aArguments ) @@ -119,9 +119,9 @@ public class OfficeDocument extends Wrapper return xModel.getCurrentSelection(); } - //========================================================== + // com.sun.star.util.XModifyBroadcaster - //---------------------------------------------------------- + public void addModifyListener( /*IN*/ com.sun.star.util.XModifyListener xListener ) @@ -135,9 +135,9 @@ public class OfficeDocument extends Wrapper xModifiable.removeModifyListener( xListener ); } - //========================================================== + // com.sun.star.util.XModifiable - //---------------------------------------------------------- + public boolean isModified( ) { @@ -150,9 +150,9 @@ public class OfficeDocument extends Wrapper xModifiable.setModified( bModified ); } - //========================================================== + // com.sun.star.view.XPrintable - //---------------------------------------------------------- + public com.sun.star.beans.PropertyValue[] getPrinter( ) { @@ -171,9 +171,9 @@ public class OfficeDocument extends Wrapper xPrintable.print( xOptions ); } - //========================================================== + // com.sun.star.frame.XStorable - //---------------------------------------------------------- + public boolean hasLocation( ) { diff --git a/bean/com/sun/star/comp/beans/Wrapper.java b/bean/com/sun/star/comp/beans/Wrapper.java index 30b7739efdb9..46d186a49e36 100644 --- a/bean/com/sun/star/comp/beans/Wrapper.java +++ b/bean/com/sun/star/comp/beans/Wrapper.java @@ -20,7 +20,7 @@ package com.sun.star.comp.beans; import com.sun.star.uno.UnoRuntime; -//========================================================================== + /** Wrapper base class for UNO services which emulates the upcoming mode of automatic runtime Java classes to get rid of the need for queryInterface. @@ -55,9 +55,9 @@ class Wrapper com.sun.star.lang.XComponent.class, xProxy ); } - //============================================================== + // com.sun.star.uno.IQueryInterface - //-------------------------------------------------------------- + public String getOid() { @@ -74,9 +74,9 @@ class Wrapper return xQueryInterface.queryInterface( aType ); } - //============================================================== + // com.sun.star.lang.XComponent - //-------------------------------------------------------------- + public void dispose( ) { |