diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-08-22 09:46:57 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-08-22 09:50:18 -0400 |
commit | 45b03c888042052a47cb79bc5a2837d04e115c5e (patch) | |
tree | 68a54393517c5c8f81baf0b4900d6a3213c750a0 /sfx2/source | |
parent | c29af1572ad15ac5199a09e5812fb8354c165329 (diff) |
fdo#52451: Some name changes to be consistent with other prop names.
We use IMPORT EXPORT flags, so let's stick with the term 'Export' as
opposed to 'FileSave'. Also, the file type's extensions are given
without the star-dot (*.), so let's strip that as well.
Change-Id: Ibde05058f7acb6ae149382009e78f3f10a71d543
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index b1c47238d7eb..14df8c481ed1 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -979,11 +979,12 @@ void SfxFilterContainer::ReadSingleFilter_Impl( { lFilterProperties[nFilterProperty].Value >>= sServiceName; } - else if (lFilterProperties[nFilterProperty].Name == "FileSaveExtension") + else if (lFilterProperties[nFilterProperty].Name == "ExportExtension") { // Extension preferred by the filter. This takes precedence // over those that are given in the file format type. lFilterProperties[nFilterProperty].Value >>= sExtension; + sExtension = OUString("*.") + sExtension; } else if ( lFilterProperties[nFilterProperty].Name == "Type" ) { |