summaryrefslogtreecommitdiff
path: root/forms/source/component/File.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/File.hxx')
-rw-r--r--forms/source/component/File.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx
index 9e5fd5a7b999..80b3ef6ce07d 100644
--- a/forms/source/component/File.hxx
+++ b/forms/source/component/File.hxx
@@ -43,7 +43,10 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- IMPLEMENTATION_NAME(OFileControlModel);
+ OUString SAL_CALL getImplementationName()
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ { return OUString("com.sun.star.form.OFileControlModel"); }
+
virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper