summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oovbaapi/ooo/vba/excel/XInterior.idl1
-rw-r--r--sc/source/ui/vba/vbainterior.cxx11
-rw-r--r--sc/source/ui/vba/vbainterior.hxx2
3 files changed, 14 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/excel/XInterior.idl b/oovbaapi/ooo/vba/excel/XInterior.idl
index 71ec105ac86c..98e24dd625a9 100644
--- a/oovbaapi/ooo/vba/excel/XInterior.idl
+++ b/oovbaapi/ooo/vba/excel/XInterior.idl
@@ -40,6 +40,7 @@ interface XInterior
[attribute] any PatternColorIndex;
[attribute] any ThemeColor;
[attribute] any TintAndShade;
+ [attribute] any PatternTintAndShade;
};
diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx
index 8896724f6957..bd9b15cb49fe 100644
--- a/sc/source/ui/vba/vbainterior.cxx
+++ b/sc/source/ui/vba/vbainterior.cxx
@@ -406,6 +406,17 @@ void SAL_CALL ScVbaInterior::setTintAndShade(const uno::Any& /*rAny*/)
// Just a stub for now.
}
+uno::Any SAL_CALL ScVbaInterior::getPatternTintAndShade()
+{
+ // Just a stub for now.
+ return uno::makeAny(static_cast<double>(0));
+}
+
+void SAL_CALL ScVbaInterior::setPatternTintAndShade(const uno::Any& /*rAny*/)
+{
+ // Just a stub for now.
+}
+
OUString
ScVbaInterior::getServiceImplName()
{
diff --git a/sc/source/ui/vba/vbainterior.hxx b/sc/source/ui/vba/vbainterior.hxx
index 3a01b4247cf7..3dd642fd146d 100644
--- a/sc/source/ui/vba/vbainterior.hxx
+++ b/sc/source/ui/vba/vbainterior.hxx
@@ -74,6 +74,8 @@ public:
void SAL_CALL setThemeColor(const css::uno::Any& rAny) override;
css::uno::Any SAL_CALL getTintAndShade() override;
void SAL_CALL setTintAndShade(const css::uno::Any& rAny) override;
+ css::uno::Any SAL_CALL getPatternTintAndShade() override;
+ void SAL_CALL setPatternTintAndShade(const css::uno::Any& rAny) override;
//XHelperInterface
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;