diff options
Diffstat (limited to 'sc')
-rwxr-xr-x | sc/qa/extras/testdocuments/BGR-RGBTest.xls | bin | 0 -> 14888 bytes | |||
-rw-r--r-- | sc/qa/extras/vba-macro-test.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbafont.cxx | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/sc/qa/extras/testdocuments/BGR-RGBTest.xls b/sc/qa/extras/testdocuments/BGR-RGBTest.xls Binary files differnew file mode 100755 index 000000000000..e2bf43fb0e92 --- /dev/null +++ b/sc/qa/extras/testdocuments/BGR-RGBTest.xls diff --git a/sc/qa/extras/vba-macro-test.cxx b/sc/qa/extras/vba-macro-test.cxx index 04e4efece2cf..2464996d2812 100644 --- a/sc/qa/extras/vba-macro-test.cxx +++ b/sc/qa/extras/vba-macro-test.cxx @@ -466,6 +466,8 @@ void VBAMacroTest::testVba() { OUString("vba_findFunction."), OUString( "vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document") }, + { OUString("BGR-RGBTest."), + OUString("vnd.sun.Star.script:VBAProject.Module1.test?language=Basic&location=document") } }; OUString sTempDir; OUString sTempDirURL; diff --git a/sc/source/ui/vba/vbafont.cxx b/sc/source/ui/vba/vbafont.cxx index 99afd919bea7..db49f013499c 100644 --- a/sc/source/ui/vba/vbafont.cxx +++ b/sc/source/ui/vba/vbafont.cxx @@ -37,7 +37,7 @@ ScVbaFont::ScVbaFont( const ScVbaPalette& dPalette, const uno::Reference< beans::XPropertySet >& xPropertySet, ScCellRangeObj* pRangeObj, bool bFormControl ) : - ScVbaFont_BASE( xParent, xContext, dPalette.getPalette(), xPropertySet, bFormControl ), + ScVbaFont_BASE( xParent, xContext, dPalette.getPalette(), xPropertySet, Component::EXCEL, bFormControl ), mpRangeObj( pRangeObj ) { } |