diff options
author | Daniel Rentz <dr@openoffice.org> | 2010-08-10 10:27:30 +0200 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2010-08-10 10:27:30 +0200 |
commit | d0093c4e1b54648d1e09c16b389519fdf2564f6e (patch) | |
tree | 2eb0449cfa717bbd7c47a62b96fc6fd1b3734ae3 | |
parent | b9876f93ddc6eaa0e5cf4aaf62cd19d3a08776c4 (diff) |
mib18: #163246# add VBA symbol Worksheet.ProtectScenarios
-rw-r--r-- | sc/source/ui/vba/vbaworksheet.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworksheet.hxx | 1 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx index 89f729303..71e4faebb 100644 --- a/sc/source/ui/vba/vbaworksheet.cxx +++ b/sc/source/ui/vba/vbaworksheet.cxx @@ -414,7 +414,7 @@ ScVbaWorksheet::getStandardHeight() throw (uno::RuntimeException) sal_Bool ScVbaWorksheet::getProtectionMode() throw (uno::RuntimeException) { - return false; + return sal_False; } sal_Bool @@ -427,7 +427,13 @@ ScVbaWorksheet::getProtectContents()throw (uno::RuntimeException) sal_Bool ScVbaWorksheet::getProtectDrawingObjects() throw (uno::RuntimeException) { - return false; + return sal_False; +} + +sal_Bool +ScVbaWorksheet::getProtectScenarios() throw (uno::RuntimeException) +{ + return sal_False; } void diff --git a/sc/source/ui/vba/vbaworksheet.hxx b/sc/source/ui/vba/vbaworksheet.hxx index 935c0c8ab..eaa9fdf0f 100644 --- a/sc/source/ui/vba/vbaworksheet.hxx +++ b/sc/source/ui/vba/vbaworksheet.hxx @@ -98,6 +98,7 @@ public: virtual ::sal_Bool SAL_CALL getProtectionMode() throw (css::uno::RuntimeException); virtual ::sal_Bool SAL_CALL getProtectContents() throw (css::uno::RuntimeException); virtual ::sal_Bool SAL_CALL getProtectDrawingObjects() throw (css::uno::RuntimeException); + virtual ::sal_Bool SAL_CALL getProtectScenarios() throw (css::uno::RuntimeException); virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getUsedRange() throw (css::uno::RuntimeException) ; virtual css::uno::Any SAL_CALL ChartObjects( const css::uno::Any& Index ) throw (css::uno::RuntimeException); virtual css::uno::Reference< ov::excel::XOutline > SAL_CALL Outline( ) throw (css::uno::RuntimeException); |