summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-03-26 09:44:56 +0000
committerOliver Bolte <obo@openoffice.org>2008-03-26 09:44:56 +0000
commit2879c3db6f16e6d5c309005f407ddb5ac8409165 (patch)
tree0679b4151ca3f30712b97e378f8b94cab3589a80 /sfx2
parent33f39d47e3330eeafacd905e9f0e3fdde910286f (diff)
INTEGRATION: CWS mav30_DEV300 (1.198.28.4.4); FILE MERGED
2008/03/14 17:40:03 mav 1.198.28.4.4.1: #i87034# check only normal StoreTo scenario
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index e8164daefbd0..66e0d9b18ed0 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: objstor.cxx,v $
*
- * $Revision: 1.205 $
+ * $Revision: 1.206 $
*
- * last change: $Author: kz $ $Date: 2008-03-06 19:55:28 $
+ * last change: $Author: obo $ $Date: 2008-03-26 10:44:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1288,7 +1288,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl
{
bStoreToSameLocation = sal_True;
- if ( bCopyTo )
+ if ( bCopyTo && GetCreateMode() != SFX_CREATE_MODE_EMBEDDED )
{
// export to the same location is vorbidden
SetError( ERRCODE_IO_CANTWRITE );