sfx2/source/doc/guisaveas.cxx | 13 ------------- 1 file changed, 13 deletions(-)
New commits: commit 4a8883e82720a364fc3e9a37631f02b957577d2a Author: Tor Lillqvist <t...@collabora.com> Date: Thu Sep 10 08:39:52 2015 +0300 WaE: Unreferenced externally visible function definition [loplugin:unreffun] Change-Id: Id8daecee5cc49a73c894c815b00add8b07cb694b diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 63aebd2..4a01b2e 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -739,19 +739,6 @@ sal_Int8 ModelData_Impl::CheckStateForSave() return nResult; } -bool hasMacros( const uno::Reference< frame::XModel >& xModel ) -{ - bool bHasMacros = false; - uno::Reference< script::XLibraryContainer > xContainer; - uno::Reference< beans::XPropertySet > xProps( xModel, uno::UNO_QUERY ); - if ( xProps.is() ) - { - xProps->getPropertyValue( "BasicLibraries" ) >>= xContainer; - bHasMacros = sfx2::DocumentMacroMode::containerHasBasicMacros( xContainer ); - } - return bHasMacros; -} - sal_Int8 ModelData_Impl::CheckFilter( const OUString& aFilterName ) { ::comphelper::SequenceAsHashMap aFiltPropsHM; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits