summaryrefslogtreecommitdiff
path: root/offapi/org/freedesktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-04 16:50:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-04 16:54:23 +0200
commite76b2053b4c5520ec880fb4fa0031a7ff2ca9ee5 (patch)
treeb7c5aee12bd2782680b183c097cc9b8e603c346e /offapi/org/freedesktop
parent330b860205c7ba69dd6603f65324d0f89ad9cd5f (diff)
Fix UNOIDL interface method parameter identifiers
UNOIDL identifiers starting with a lowercase letter and containing underscores are reserved for the implementation. It would be good to be able to enforce that in code parsing UNOIDL files, but some existing identifiers violate that. So at least change any violating method parameter identifiers here. While that is theoretically an incompatible change for published interfaces, it practically does not matter at all. Change-Id: I5eff17b5dd5e2e92984184127c4fe1712d62c9dd
Diffstat (limited to 'offapi/org/freedesktop')
-rw-r--r--offapi/org/freedesktop/PackageKit/XModify.idl2
-rw-r--r--offapi/org/freedesktop/PackageKit/XQuery.idl4
2 files changed, 3 insertions, 3 deletions
diff --git a/offapi/org/freedesktop/PackageKit/XModify.idl b/offapi/org/freedesktop/PackageKit/XModify.idl
index b79542f87e5c..5313d8fd9da8 100644
--- a/offapi/org/freedesktop/PackageKit/XModify.idl
+++ b/offapi/org/freedesktop/PackageKit/XModify.idl
@@ -56,7 +56,7 @@ interface XModify : com::sun::star::uno::XInterface
* @since LibreOffice 4.0
*/
- void InstallMimeTypes( [in] unsigned long xid, [in] sequence< string > mime_types, [in] string interaction);
+ void InstallMimeTypes( [in] unsigned long xid, [in] sequence< string > mimeTypes, [in] string interaction);
/**
* Installs fontconfig resources ( [in] usually fonts) from a configured software source.
diff --git a/offapi/org/freedesktop/PackageKit/XQuery.idl b/offapi/org/freedesktop/PackageKit/XQuery.idl
index 5b3605abd2f6..0c8ea1c3bbfd 100644
--- a/offapi/org/freedesktop/PackageKit/XQuery.idl
+++ b/offapi/org/freedesktop/PackageKit/XQuery.idl
@@ -27,14 +27,14 @@ interface XQuery : com::sun::star::uno::XInterface
* @since LibreOffice 4.0
*/
- void IsInstalled([in] string package_name, [in] string interaction, [out] boolean installed);
+ void IsInstalled([in] string packageName, [in] string interaction, [out] boolean installed);
/**
* Installs packages to provide files.
* @since LibreOffice 4.0
*/
- void SearchFile([in] string file_name, [in] string interaction, [out] boolean installed, [out] string package_name);
+ void SearchFile([in] string fileName, [in] string interaction, [out] boolean installed, [out] string packageName);
};