summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael E. Bohn <mbn@openoffice.org>2010-08-10 06:57:53 +0200
committerMichael E. Bohn <mbn@openoffice.org>2010-08-10 06:57:53 +0200
commit2e6db5ef3ba5c811cdab813beec4451ba28c78b1 (patch)
treeceacc943a08f2b840f6f6f116aef6374815a1473 /sc
parentf08c6459d921106f0ce77ef2e2bedc218df76392 (diff)
mib18: #163148# creation og basic modules in library Standard during Workbooks.add
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaworkbooks.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx
index 5298f60e0943..7efee1505dcb 100644
--- a/sc/source/ui/vba/vbaworkbooks.cxx
+++ b/sc/source/ui/vba/vbaworkbooks.cxx
@@ -76,7 +76,7 @@ void setUpDocumentModules( const uno::Reference< sheet::XSpreadsheetDocument >&
uno::Reference<script::XLibraryContainer> xLibContainer = pShell->GetBasicContainer();
uno::Reference<script::vba::XVBACompatibility> xVBACompat( xLibContainer, uno::UNO_QUERY_THROW );
xVBACompat->setVBACompatibilityMode( sal_True );
- String aPrjName( RTL_CONSTASCII_USTRINGPARAM( "VBAProject" ) );
+ String aPrjName( RTL_CONSTASCII_USTRINGPARAM( "Standard" ) );
pShell->GetBasicManager()->SetName( aPrjName );
if( xLibContainer.is() )