summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-03-06 17:06:38 +0000
committerKurt Zenker <kz@openoffice.org>2009-03-06 17:06:38 +0000
commitaa360f8458dd0d0641cb562b0194a34076ea27ab (patch)
tree784e53ff490da547342a72baaef0887cbc7c2b31
parentf7a1c1f19f820b99d4b847b233b4697a96045b81 (diff)
CWS-TOOLING: integrate CWS mav47
2009-02-27 13:31:37 +0100 mav r268589 : #i99680# set the file name correctly
-rw-r--r--sfx2/source/doc/guisaveas.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index f1f45ca46c..12f0c4ef96 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -921,7 +921,7 @@ sal_Bool ModelData_Impl::OutputFileDialog( sal_Int8 nStoreMode,
// get the path from the dialog
INetURLObject aURL( pFileDlg->GetPath() );
// the path should be provided outside since it might be used for further calls to the dialog
- aSuggestedName = aURL.GetMainURL( INetURLObject::NO_DECODE );
+ aSuggestedName = aURL.GetName();
// old filter options should be cleared in case different filter is used