summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoMainWindow.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 16:56:40 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 16:56:40 -0500
commit910a61f9423d69871c2ef9ca8a0d7ace32474f93 (patch)
tree794bd468068d2616d05878f58b0786b07ceff8d9 /lib/kofficecore/KoMainWindow.cpp
parent420112343c04d209e40c6f03f492cdb6154f70fb (diff)
downloadkoffice-910a61f9423d69871c2ef9ca8a0d7ace32474f93.tar.gz
koffice-910a61f9423d69871c2ef9ca8a0d7ace32474f93.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'lib/kofficecore/KoMainWindow.cpp')
-rw-r--r--lib/kofficecore/KoMainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoMainWindow.cpp b/lib/kofficecore/KoMainWindow.cpp
index 248d3ed39..19fea8238 100644
--- a/lib/kofficecore/KoMainWindow.cpp
+++ b/lib/kofficecore/KoMainWindow.cpp
@@ -757,7 +757,7 @@ bool KoMainWindow::saveDocument( bool saveas, bool silent )
int c = suggestedFilename.findRev ('.');
KMimeType::Ptr mime = KMimeType::mimeType( _native_format );
- TQString ext = mime->property( "X-KDE-NativeExtension" ).toString();
+ TQString ext = mime->property( "X-TDE-NativeExtension" ).toString();
if (!ext.isEmpty ())
{
if (c < 0)
@@ -1201,7 +1201,7 @@ void KoMainWindow::print(bool quick) {
// strip off the native extension (I don't want foobar.kwd.ps when printing into a file)
KMimeType::Ptr mime = KMimeType::mimeType( rootView()->koDocument()->outputMimeType() );
if ( mime ) {
- TQString extension = mime->property( "X-KDE-NativeExtension" ).toString();
+ TQString extension = mime->property( "X-TDE-NativeExtension" ).toString();
if ( fileName.endsWith( extension ) )
fileName.truncate( fileName.length() - extension.length() );