diff options
author | David Tardon <dtardon@redhat.com> | 2010-11-25 15:39:27 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-25 15:39:27 +0100 |
commit | ff1fe0370f360386b91e81636b3ab5111dfecf5e (patch) | |
tree | e8a74f8c412075ce63263ae208a446687904196f /desktop/source | |
parent | 0a661a68df0a1c8e81c0759623a806ab697af9b9 (diff) |
avoid duplicate code
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/deployment/misc/dp_platform.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/source/deployment/misc/dp_platform.cxx b/desktop/source/deployment/misc/dp_platform.cxx index 0e67097df5..dff464b829 100644 --- a/desktop/source/deployment/misc/dp_platform.cxx +++ b/desktop/source/deployment/misc/dp_platform.cxx @@ -113,9 +113,7 @@ namespace ::rtl::OUStringBuffer buf; buf.append( StrOperatingSystem::get() ); buf.append( static_cast<sal_Unicode>('_') ); - OUString arch( RTL_CONSTASCII_USTRINGPARAM("$_ARCH") ); - ::rtl::Bootstrap::expandMacros( arch ); - buf.append( arch ); + buf.append( StrCPU::get() ); return buf.makeStringAndClear(); } }; |