diff options
Diffstat (limited to 'sfx2/source/doc/docfile.cxx')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 28e12befcd2b..e3663e41facb 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -1936,11 +1936,9 @@ void SfxMedium::Transfer_Impl() // set segment size property; package will automatically be divided in pieces fitting // into this size - css::uno::Any aAny; - aAny <<= pSegmentSize->GetValue(); uno::Reference < beans::XPropertySet > xSet( pImp->xStorage, uno::UNO_QUERY ); - xSet->setPropertyValue("SegmentSize", aAny ); + xSet->setPropertyValue("SegmentSize", Any(pSegmentSize->GetValue()) ); // copy the temporary storage into the disk spanned package GetStorage()->copyToStorage( xStor ); |