[Libreoffice-commits] core.git: unoidl/source
Stephan Bergmann
sbergman at redhat.com
Tue Apr 2 07:12:11 PDT 2013
unoidl/source/legacyprovider.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6275ffee61554490af69b51eb669e4a0a0a33eb6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Apr 2 16:11:46 2013 +0200
types.rdb format flags default service ctors as RT_MODE_TWOWAY
Change-Id: I94bc12af1dde2139b86c8d6522b61d874933ed6d
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index 4b7fc3e..251ddae 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -551,7 +551,7 @@ rtl::Reference< Entity > readEntity(
std::vector< SingleInterfaceBasedServiceEntity::Constructor >
ctors;
sal_uInt16 n = reader.getMethodCount();
- if (n == 1 && reader.getMethodFlags(0) == 0
+ if (n == 1 && reader.getMethodFlags(0) == RT_MODE_TWOWAY
&& reader.getMethodName(0).isEmpty()
&& reader.getMethodReturnTypeName(0) == "void"
&& reader.getMethodParameterCount(0) == 0
More information about the Libreoffice-commits
mailing list