summaryrefslogtreecommitdiff
path: root/sw/util
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock@collabora.com>2015-02-24 14:06:26 +1100
committerStephan Bergmann <sbergman@redhat.com>2015-02-26 14:22:00 +0100
commit94fc8ec1b1fb6571a1ef898fb5198161e021b3a0 (patch)
tree542daafaffd472323617dd86da4066fbc8546283 /sw/util
parent50a0cca89bd86a36c4ee043cd92e2f84f5a6e0d1 (diff)
sw: convert swd.component to constructor usage
Whilst we are about it, need to expand the macro SFX_DECL_XSERVICEINFO_NOFACTORY and remove the impl_createInstance function. Also removed factory parameter from constructor as not needed. Change-Id: I400274fa9aaaa95be1c9929bce9dd6f25c780196 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/util')
-rw-r--r--sw/util/swd.component3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/util/swd.component b/sw/util/swd.component
index a342f059fc25..e09b38524654 100644
--- a/sw/util/swd.component
+++ b/sw/util/swd.component
@@ -19,7 +19,8 @@
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
prefix="swd" xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.writer.FormatDetector">
+ <implementation name="com.sun.star.comp.writer.FormatDetector"
+ constructor="com_sun_star_comp_writer_FormatDetector_get_implementation">
<service name="com.sun.star.frame.ExtendedTypeDetection"/>
<service name="com.sun.star.text.FormatDetector"/>
<service name="com.sun.star.text.W4WFormatDetector"/>