summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/resource
diff options
context:
space:
mode:
authorJean-Tiare LE BIGOT <admin@jtlebi.fr>2012-08-11 13:22:07 -0400
committerDavid Tardon <dtardon@redhat.com>2012-08-12 19:29:16 +0200
commitfc2998738538a8e8abc4b8ab5b84a12aa7365dd0 (patch)
tree8026ad5e9a05948f882f790675c0813c72cd42bf /offapi/com/sun/star/resource
parentfix typo (diff)
downloadcore-fc2998738538a8e8abc4b8ab5b84a12aa7365dd0.tar.gz
core-fc2998738538a8e8abc4b8ab5b84a12aa7365dd0.zip
Remove comment art from offapi and udkapi
I used this "one-liner" to detect comment lines containing only spaces and '=' or '-' $ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \; Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
Diffstat (limited to 'offapi/com/sun/star/resource')
-rw-r--r--offapi/com/sun/star/resource/MissingResourceException.idl3
-rw-r--r--offapi/com/sun/star/resource/OfficeResourceLoader.idl4
-rw-r--r--offapi/com/sun/star/resource/StringResource.idl3
-rw-r--r--offapi/com/sun/star/resource/StringResourceWithLocation.idl3
-rw-r--r--offapi/com/sun/star/resource/StringResourceWithStorage.idl3
-rw-r--r--offapi/com/sun/star/resource/XLocale.idl21
-rw-r--r--offapi/com/sun/star/resource/XResourceBundle.idl6
-rw-r--r--offapi/com/sun/star/resource/XResourceBundleLoader.idl5
-rw-r--r--offapi/com/sun/star/resource/XStringResourceManager.idl3
-rw-r--r--offapi/com/sun/star/resource/XStringResourcePersistence.idl3
-rw-r--r--offapi/com/sun/star/resource/XStringResourceResolver.idl3
-rw-r--r--offapi/com/sun/star/resource/XStringResourceSupplier.idl4
-rw-r--r--offapi/com/sun/star/resource/XStringResourceWithLocation.idl3
-rw-r--r--offapi/com/sun/star/resource/XStringResourceWithStorage.idl3
14 files changed, 0 insertions, 67 deletions
diff --git a/offapi/com/sun/star/resource/MissingResourceException.idl b/offapi/com/sun/star/resource/MissingResourceException.idl
index 1d5224737604..95e78e6a104a 100644
--- a/offapi/com/sun/star/resource/MissingResourceException.idl
+++ b/offapi/com/sun/star/resource/MissingResourceException.idl
@@ -22,11 +22,9 @@
#include <com/sun/star/uno/RuntimeException.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** is used to signal that a resource is missing.
@@ -36,7 +34,6 @@ published exception MissingResourceException: com::sun::star::uno::RuntimeExcept
{
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/OfficeResourceLoader.idl b/offapi/com/sun/star/resource/OfficeResourceLoader.idl
index 9f247e0337c9..4f16fc68fbb7 100644
--- a/offapi/com/sun/star/resource/OfficeResourceLoader.idl
+++ b/offapi/com/sun/star/resource/OfficeResourceLoader.idl
@@ -31,9 +31,7 @@
#include <com/sun/star/resource/XResourceBundleLoader.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** describes a <type>XResourceBundleLoader</type> which provides access to the OpenOffice.org
resource files.
@@ -73,9 +71,7 @@ module com { module sun { module star { module resource {
*/
singleton OfficeResourceLoader : XResourceBundleLoader;
-//=============================================================================
}; }; }; };
-//=============================================================================
#endif
diff --git a/offapi/com/sun/star/resource/StringResource.idl b/offapi/com/sun/star/resource/StringResource.idl
index 0613a3355841..1d2e16a01b34 100644
--- a/offapi/com/sun/star/resource/StringResource.idl
+++ b/offapi/com/sun/star/resource/StringResource.idl
@@ -23,18 +23,15 @@
#include <com/sun/star/resource/XStringResourcePersistence.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** specifies a service providing access to a resource string table implementing the
<type scope="com::sun::star::awt">XDialog</type> interface.
*/
service StringResource : com::sun::star::resource::XStringResourcePersistence;
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/StringResourceWithLocation.idl b/offapi/com/sun/star/resource/StringResourceWithLocation.idl
index c59749e78c9c..f7c5af6f9dc0 100644
--- a/offapi/com/sun/star/resource/StringResourceWithLocation.idl
+++ b/offapi/com/sun/star/resource/StringResourceWithLocation.idl
@@ -32,11 +32,9 @@
#include <com/sun/star/resource/XStringResourceWithLocation.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** specifies a service providing access to a resource string table implementing the
<type scope="com::sun::star::resource">XStringResourceWithLocation</type> interface.
@@ -89,7 +87,6 @@ service StringResourceWithLocation : com::sun::star::resource::XStringResourceWi
raises( ::com::sun::star::lang::IllegalArgumentException );
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/StringResourceWithStorage.idl b/offapi/com/sun/star/resource/StringResourceWithStorage.idl
index 1946ee044100..6392d7a0ae5d 100644
--- a/offapi/com/sun/star/resource/StringResourceWithStorage.idl
+++ b/offapi/com/sun/star/resource/StringResourceWithStorage.idl
@@ -32,11 +32,9 @@
#include <com/sun/star/resource/XStringResourceWithStorage.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** specifies a service providing access to a resource string table implementing the
<type scope="com::sun::star::resource">XStringResourceWithStorage</type> interface.
@@ -84,7 +82,6 @@ service StringResourceWithStorage : com::sun::star::resource::XStringResourceWit
raises( ::com::sun::star::lang::IllegalArgumentException );
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XLocale.idl b/offapi/com/sun/star/resource/XLocale.idl
index 39cb839e160c..48bff0f5fe63 100644
--- a/offapi/com/sun/star/resource/XLocale.idl
+++ b/offapi/com/sun/star/resource/XLocale.idl
@@ -26,11 +26,9 @@
#include <com/sun/star/resource/MissingResourceException.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
// DocMerge from xml: interface com::sun::star::resource::XLocale
/** offers some operations on <type scope="com::sun::star::lang">Locale</type>
@@ -39,7 +37,6 @@
*/
published interface XLocale: com::sun::star::uno::XInterface
{
- //-------------------------------------------------------------------------
// DocMerge from xml: method com::sun::star::resource::XLocale::create
/** creates a locale from language, country, and variant.
@@ -58,7 +55,6 @@ published interface XLocale: com::sun::star::uno::XInterface
[in] string aCountry,
[in] string aVariant );
- //-------------------------------------------------------------------------
// DocMerge from xml: method com::sun::star::resource::XLocale::getDefault
/** the common method of getting the current default locale.
@@ -76,7 +72,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
com::sun::star::lang::Locale getDefault();
- //-------------------------------------------------------------------------
// DocMerge from xml: method com::sun::star::resource::XLocale::setDefault
/** sets the default locale for the whole environment.
@@ -89,7 +84,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
void setDefault( [in] com::sun::star::lang::Locale newLocale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getAvailableLocales
/** @returns
@@ -97,7 +91,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
sequence<com::sun::star::lang::Locale> getAvailableLocales();
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getISOCountries
/** @returns
@@ -105,7 +98,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
sequence<string> getISOCountries();
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getISOLanguages
/** @returns
@@ -113,7 +105,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
sequence<string> getISOLanguages();
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getLanguagesForCountry
/** @returns
@@ -122,7 +113,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
sequence<string> getLanguagesForCountry( [in] string country );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getISO3Language
/** @returns
@@ -131,7 +121,6 @@ published interface XLocale: com::sun::star::uno::XInterface
string getISO3Language( [in] com::sun::star::lang::Locale locale )
raises( com::sun::star::resource::MissingResourceException );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getISO3Country
/** @returns
@@ -140,7 +129,6 @@ published interface XLocale: com::sun::star::uno::XInterface
string getISO3Country( [in] com::sun::star::lang::Locale locale )
raises( com::sun::star::resource::MissingResourceException );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayLanguage_Default
/** @returns
@@ -150,7 +138,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
string getDisplayLanguage_Default( [in] com::sun::star::lang::Locale locale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayLanguage
@@ -167,7 +154,6 @@ published interface XLocale: com::sun::star::uno::XInterface
string getDisplayLanguage( [in] com::sun::star::lang::Locale locale,
[in] com::sun::star::lang::Locale inLocale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayCountry_Default
/** @returns
@@ -177,7 +163,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
string getDisplayCountry_Default( [in] com::sun::star::lang::Locale locale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayCountry
/** @returns
@@ -190,7 +175,6 @@ published interface XLocale: com::sun::star::uno::XInterface
string getDisplayCountry( [in] com::sun::star::lang::Locale locale,
[in] com::sun::star::lang::Locale inLocale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayVariant_Default
/** @returns
@@ -199,7 +183,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
string getDisplayVariant_Default( [in] com::sun::star::lang::Locale locale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayVariant
/** @returns
@@ -212,7 +195,6 @@ published interface XLocale: com::sun::star::uno::XInterface
string getDisplayVariant( [in] com::sun::star::lang::Locale locale,
[in] com::sun::star::lang::Locale inLocale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayName_Default
/** @returns
@@ -222,7 +204,6 @@ published interface XLocale: com::sun::star::uno::XInterface
*/
string getDisplayName_Default( [in] com::sun::star::lang::Locale locale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::getDisplayName
/** @returns
@@ -235,7 +216,6 @@ published interface XLocale: com::sun::star::uno::XInterface
string getDisplayName( [in] com::sun::star::lang::Locale locale,
[in] com::sun::star::lang::Locale inLocale );
- //-------------------------------------------------------------------------
// DocMerge from idl: method com::sun::star::resource::XLocale::equals
/** @returns
@@ -251,7 +231,6 @@ published interface XLocale: com::sun::star::uno::XInterface
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XResourceBundle.idl b/offapi/com/sun/star/resource/XResourceBundle.idl
index 06f6bb2c0867..899a0daed301 100644
--- a/offapi/com/sun/star/resource/XResourceBundle.idl
+++ b/offapi/com/sun/star/resource/XResourceBundle.idl
@@ -23,11 +23,9 @@
#include <com/sun/star/lang/Locale.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** Resource bundles contain locale-specific objects.
<p>When your program needs a locale-specific resource, such as
@@ -189,7 +187,6 @@ module com { module sun { module star { module resource {
*/
published interface XResourceBundle: com::sun::star::container::XNameAccess
{
- //-------------------------------------------------------------------------
/** contains the parent bundle of this bundle.
<p>The parent bundle is searched by the method
@@ -198,7 +195,6 @@ published interface XResourceBundle: com::sun::star::container::XNameAccess
*/
[attribute] XResourceBundle Parent;
- //-------------------------------------------------------------------------
/** @returns
the locale for this resource bundle.
@@ -209,7 +205,6 @@ published interface XResourceBundle: com::sun::star::container::XNameAccess
*/
com::sun::star::lang::Locale getLocale();
- //-------------------------------------------------------------------------
/** @returns
an object from a resource bundle or NULL if no resource
exists.
@@ -223,7 +218,6 @@ published interface XResourceBundle: com::sun::star::container::XNameAccess
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XResourceBundleLoader.idl b/offapi/com/sun/star/resource/XResourceBundleLoader.idl
index e4e518f6dd56..b531a6b80c81 100644
--- a/offapi/com/sun/star/resource/XResourceBundleLoader.idl
+++ b/offapi/com/sun/star/resource/XResourceBundleLoader.idl
@@ -28,11 +28,9 @@
#include <com/sun/star/lang/Locale.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/** makes it possible to load resource bundles.
@@ -46,14 +44,12 @@ module com { module sun { module star { module resource {
*/
published interface XResourceBundleLoader: com::sun::star::uno::XInterface
{
- //-------------------------------------------------------------------------
/** loads the appropriate resource bundle.
*/
com::sun::star::resource::XResourceBundle loadBundle_Default( [in] string aBaseName )
raises( com::sun::star::resource::MissingResourceException );
- //-------------------------------------------------------------------------
/** loads the appropriate resource bundle subclass.
*/
@@ -63,7 +59,6 @@ published interface XResourceBundleLoader: com::sun::star::uno::XInterface
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XStringResourceManager.idl b/offapi/com/sun/star/resource/XStringResourceManager.idl
index 1f8caedf68d0..0373f13bba5d 100644
--- a/offapi/com/sun/star/resource/XStringResourceManager.idl
+++ b/offapi/com/sun/star/resource/XStringResourceManager.idl
@@ -36,11 +36,9 @@
#include <com/sun/star/lang/NoSupportException.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/**
Interface to manage a resource string table containing a set of
strings for different locales.
@@ -294,7 +292,6 @@ interface XStringResourceManager: com::sun::star::resource::XStringResourceResol
raises( com::sun::star::lang::NoSupportException );
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XStringResourcePersistence.idl b/offapi/com/sun/star/resource/XStringResourcePersistence.idl
index d658a3a3e61a..8ab062eca2dc 100644
--- a/offapi/com/sun/star/resource/XStringResourcePersistence.idl
+++ b/offapi/com/sun/star/resource/XStringResourcePersistence.idl
@@ -33,11 +33,9 @@
#include <com/sun/star/task/XInteractionHandler.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/**
Interface derived from XStringResourceManager containing
basic persistence functionality limited to operations that
@@ -233,7 +231,6 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XStringResourceResolver.idl b/offapi/com/sun/star/resource/XStringResourceResolver.idl
index a62753d567d5..acd5b45cbc4f 100644
--- a/offapi/com/sun/star/resource/XStringResourceResolver.idl
+++ b/offapi/com/sun/star/resource/XStringResourceResolver.idl
@@ -33,11 +33,9 @@
#include <com/sun/star/lang/Locale.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/**
Interface to access strings in a resource.
@@ -187,7 +185,6 @@ interface XStringResourceResolver: com::sun::star::util::XModifyBroadcaster
sequence<com::sun::star::lang::Locale> getLocales();
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XStringResourceSupplier.idl b/offapi/com/sun/star/resource/XStringResourceSupplier.idl
index 19bfa183e8e7..ff897b3277c1 100644
--- a/offapi/com/sun/star/resource/XStringResourceSupplier.idl
+++ b/offapi/com/sun/star/resource/XStringResourceSupplier.idl
@@ -23,11 +23,9 @@
#include <com/sun/star/resource/XStringResourceResolver.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/**
Provides access to a string resource represented by a
@@ -35,7 +33,6 @@ module com { module sun { module star { module resource {
*/
interface XStringResourceSupplier: com::sun::star::uno::XInterface
{
- //-------------------------------------------------------------------------
/**
Provides access to a string resource.
@@ -50,7 +47,6 @@ interface XStringResourceSupplier: com::sun::star::uno::XInterface
com::sun::star::resource::XStringResourceResolver getStringResource();
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XStringResourceWithLocation.idl b/offapi/com/sun/star/resource/XStringResourceWithLocation.idl
index 5e5e77632b65..2f717095da48 100644
--- a/offapi/com/sun/star/resource/XStringResourceWithLocation.idl
+++ b/offapi/com/sun/star/resource/XStringResourceWithLocation.idl
@@ -31,11 +31,9 @@
#include <com/sun/star/resource/XStringResourcePersistence.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/**
Extends <type>XStringResourcePersistence</type> by methods to handle an
associated location.
@@ -81,7 +79,6 @@ interface XStringResourceWithLocation: com::sun::star::resource::XStringResource
raises( ::com::sun::star::lang::IllegalArgumentException );
};
-//=============================================================================
}; }; }; };
diff --git a/offapi/com/sun/star/resource/XStringResourceWithStorage.idl b/offapi/com/sun/star/resource/XStringResourceWithStorage.idl
index d2bba99d65a1..25a01bcb6910 100644
--- a/offapi/com/sun/star/resource/XStringResourceWithStorage.idl
+++ b/offapi/com/sun/star/resource/XStringResourceWithStorage.idl
@@ -31,11 +31,9 @@
#include <com/sun/star/resource/XStringResourcePersistence.idl>
-//=============================================================================
module com { module sun { module star { module resource {
-//=============================================================================
/**
Extends <type>XStringResourcePersistence</type> by methods to handle an
associated <type scope="com::sun::star::embed">XStorage</type> instance.
@@ -81,7 +79,6 @@ interface XStringResourceWithStorage: com::sun::star::resource::XStringResourceP
raises( ::com::sun::star::lang::IllegalArgumentException );
};
-//=============================================================================
}; }; }; };