diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-01 17:23:10 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-01 18:03:37 +0200 |
commit | f67d166b30dcba9e854716b29e1035693ef7481b (patch) | |
tree | 1e554fa17dcfa18213d9a94e38b6837feaf24c6d /desktop | |
parent | 041d2b88a473cc7ba9b68113f7642dd8417369e4 (diff) |
remove run-time replacement of %WRITERCOMPATIBILITYVERSIONOOO11
Instead hard-code OpenOffice.org 1.1 as the value, since StarOffice and
StarSuite are irrelevant.
Change-Id: I9ab3d1cf38cf64cd4e440b3ae43158f748ead7d2
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 2e3ee0e20efb..267d60afef4b 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -472,8 +472,6 @@ namespace : public rtl::Static< OUString, XMLFileFormatName > {}; struct XMLFileFormatVersion : public rtl::Static< OUString, XMLFileFormatVersion > {}; - struct WriterCompatibilityVersionOOo11 - : public rtl::Static< OUString, WriterCompatibilityVersionOOo11 > {}; } OUString ReplaceStringHookProc( const OUString& rStr ) @@ -528,19 +526,6 @@ OUString ReplaceStringHookProc( const OUString& rStr ) sRet = sRet.replaceAll( "%OOOVENDOR", sOOOVendor ); } - if ( sRet.indexOf( "%WRITERCOMPATIBILITYVERSIONOOO11" ) != -1 ) - { - OUString sWriterCompatibilityVersionOOo11 = WriterCompatibilityVersionOOo11::get(); - if ( sWriterCompatibilityVersionOOo11.isEmpty() ) - { - sWriterCompatibilityVersionOOo11 = - utl::ConfigManager::getWriterCompatibilityVersionOOo_1_1(); - } - - sRet = sRet.replaceAll( "%WRITERCOMPATIBILITYVERSIONOOO11", - sWriterCompatibilityVersionOOo11 ); - } - return sRet; } |