diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-23 13:39:15 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-23 14:29:59 +0300 |
commit | 43bea0e2f77bb2de9ca4d74f2f1f401e857b7178 (patch) | |
tree | c4b5714c184c54917d6d53fc34c453b2d792bed7 /sfx2/source/doc | |
parent | 87e81e4e527044fbc76cdf8f1b8a244093c06bae (diff) |
Avoid including <config_features.h> in <sfx2/objsh.hxx>
Change-Id: I36969367e47c1ed1368ed46638ff9e7768e8a008
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 070703e1a36e..0e825c4351cc 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -673,14 +673,22 @@ bool SfxObjectShell::HasSharedXMLFlagSet() const bool SfxObjectShell::IsDocShared() const { +#if HAVE_FEATURE_MULTIUSER_ENVIRONMENT return ( !pImp->m_aSharedFileURL.isEmpty() ); +#else + return false; +#endif } OUString SfxObjectShell::GetSharedFileURL() const { +#if HAVE_FEATURE_MULTIUSER_ENVIRONMENT return pImp->m_aSharedFileURL; +#else + return OUString(); +#endif } #endif |