diff options
author | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-08-30 14:34:00 +0200 |
---|---|---|
committer | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-08-30 14:34:00 +0200 |
commit | c14df458b4b7da8da38e9be28db9122ee8765ad2 (patch) | |
tree | 4e9c697cda62e3ebb1f60831dc7682ba1a39daca /svx/source/form | |
parent | mib19: #163217# let the basic listeners stop listening on termination, patch ... (diff) | |
download | core-c14df458b4b7da8da38e9be28db9122ee8765ad2.tar.gz core-c14df458b4b7da8da38e9be28db9122ee8765ad2.zip |
mib19: #163429# switch off form design mode in new documents created with VBA symbol Workbooks.Add
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/fmview.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx index 22681d511b82..d3e8c848b940 100644 --- a/svx/source/form/fmview.cxx +++ b/svx/source/form/fmview.cxx @@ -139,9 +139,7 @@ void FmFormView::Init() const SfxPoolItem *pItem=0; if ( pObjShell->GetMedium()->GetItemSet()->GetItemState( SID_COMPONENTDATA, sal_False, &pItem ) == SFX_ITEM_SET ) { - Sequence< PropertyValue > aSeq; - ( ((SfxUnoAnyItem*)pItem)->GetValue() ) >>= aSeq; - ::comphelper::NamedValueCollection aComponentData( aSeq ); + ::comphelper::NamedValueCollection aComponentData( ((SfxUnoAnyItem*)pItem)->GetValue() ); bInitDesignMode = aComponentData.getOrDefault( "ApplyFormDesignMode", bInitDesignMode ); } } |