summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbapivottables.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbapivottables.cxx')
-rw-r--r--sc/source/ui/vba/vbapivottables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbapivottables.cxx b/sc/source/ui/vba/vbapivottables.cxx
index 13b2b46c0f5f..4c22a93d808f 100644
--- a/sc/source/ui/vba/vbapivottables.cxx
+++ b/sc/source/ui/vba/vbapivottables.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
using namespace ::ooo::vba;
-uno::Any DataPilotToPivotTable( const uno::Any& aSource, const uno::Reference< uno::XComponentContext > & xContext )
+static uno::Any DataPilotToPivotTable( const uno::Any& aSource, const uno::Reference< uno::XComponentContext > & xContext )
{
uno::Reference< sheet::XDataPilotTable > xTable( aSource, uno::UNO_QUERY_THROW );
return uno::makeAny( uno::Reference< excel::XPivotTable > ( new ScVbaPivotTable( xContext, xTable ) ) );