summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-10 08:39:52 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-10 09:04:08 +0300
commit4a8883e82720a364fc3e9a37631f02b957577d2a (patch)
treedbc6769bd4c669a1e424373796760978a2ae021a /sfx2
parentda260fbb18ee9debd776468a8b8c4437dee420bd (diff)
WaE: Unreferenced externally visible function definition [loplugin:unreffun]
Change-Id: Id8daecee5cc49a73c894c815b00add8b07cb694b
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/guisaveas.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 63aebd248e24..4a01b2ef4ca6 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;