avoid duplicate code

This commit is contained in:
David Tardon 2010-11-25 15:39:27 +01:00
parent 130bc9184d
commit 1873e78824

View file

@ -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();
}
};