diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-05 02:00:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 02:05:30 +0200 |
commit | e42515549eae51fa625b2d8789f20a5065365ac5 (patch) | |
tree | 2af9385edcdd9a87361f8869349c6f4f57f82119 /sw | |
parent | af9618b29f186c3991d9225cc50b55dc78612f27 (diff) |
Sprinkle DISABLE_SCRIPTING ifdefs
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/app/docsh.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx index bb6adecbfa60..ef3d10aa173d 100644 --- a/sw/source/ui/app/docsh.cxx +++ b/sw/source/ui/app/docsh.cxx @@ -581,6 +581,7 @@ sal_Bool SwDocShell::ConvertTo( SfxMedium& rMedium ) if( pFlt->GetUserData().EqualsAscii( "HTML") ) { SvxHtmlOptions& rHtmlOpt = SvxHtmlOptions::Get(); +#ifndef DISABLE_SCRIPTING if( !rHtmlOpt.IsStarBasic() && rHtmlOpt.IsStarBasicWarning() && HasBasic() ) { uno::Reference< XLibraryContainer > xLibCont(GetBasicContainer(), UNO_QUERY); @@ -602,6 +603,7 @@ sal_Bool SwDocShell::ConvertTo( SfxMedium& rMedium ) } } } +#endif UpdateDocInfoForSave(); } |