Commits

Anonymous committed 1d6e349

Fix for issue: 106417

Comments (0)

Files changed (3)

oovbaapi/ooo/vba/excel/XPivotCache.idl

 {
 	interface ::ooo::vba::XHelperInterface;
 
+	[attribute] long MissingItemsLimit;
 	void Refresh();
 };
 

sc/source/ui/vba/vbapivotcache.cxx

 {
 }
 
+sal_Int32  
+ScVbaPivotCache::getMissingItemsLimit() throw (css::uno::RuntimeException)
+{
+	return -1;
+}
+
+void 
+ScVbaPivotCache::setMissingItemsLimit( sal_Int32 aValue ) throw ( css::uno::RuntimeException)
+{
+}
+
 void SAL_CALL 
 ScVbaPivotCache::Refresh() throw (css::uno::RuntimeException)
 {

sc/source/ui/vba/vbapivotcache.hxx

 	css::uno::Reference< css::sheet::XDataPilotTable > m_xTable;
 public:
 	ScVbaPivotCache( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XDataPilotTable >& xTable );
+	
+	virtual ::sal_Int32 SAL_CALL getMissingItemsLimit() throw (css::uno::RuntimeException);
+	virtual void SAL_CALL setMissingItemsLimit( ::sal_Int32 aValue ) throw ( css::uno::RuntimeException);
+
 	virtual void SAL_CALL Refresh() throw (css::uno::RuntimeException);
 	// XHelperInterface
 	virtual rtl::OUString& getServiceImplName();