summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2010-11-25 15:39:27 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-25 15:39:27 +0100
commitff1fe0370f360386b91e81636b3ab5111dfecf5e (patch)
treee8a74f8c412075ce63263ae208a446687904196f /desktop/source
parent0a661a68df0a1c8e81c0759623a806ab697af9b9 (diff)
avoid duplicate code
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/misc/dp_platform.cxx4
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();
}
};