diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-12-13 22:02:03 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-12-25 13:15:27 +0100 |
commit | c2b488e5dfa5defb87a6e8392749a9276c3a950f (patch) | |
tree | e000d16478adb2c5251fa6e5abd7c1b413dde7b1 /sw/inc | |
parent | 5e4124396cafc2b0a435f17a66b33e36303ae4e4 (diff) |
remove SwXStyle creation outside of compilation unit
Change-Id: I136822a0ad581d1490fc6f8842c95f2d25dfeba4
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unostyle.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index df697fe49309..ea7f723354bc 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -96,6 +96,11 @@ public: virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override; + + static css::uno::Reference<css::style::XStyle> CreateStyle(SfxStyleFamily eFamily, SwDoc& rDoc); + // FIXME: This is very ugly as is the whole conditional paragraph style + // hackety. Should be folded into CreateStyle hopefully one day + static css::uno::Reference<css::style::XStyle> CreateStyleCondParagraph(SwDoc& rDoc); }; |