ByteString -> rtl::OStringBuffer
This commit is contained in:
parent
0d6753aa92
commit
49c7f6147b
2 changed files with 6 additions and 4 deletions
|
@ -1106,7 +1106,7 @@ void IconChoiceDialog::Start_Impl()
|
|||
if ( aTabDlgOpt.Exists() )
|
||||
{
|
||||
// ggf. Position aus Konfig
|
||||
SetWindowState( ByteString( aTabDlgOpt.GetWindowState().getStr(), RTL_TEXTENCODING_ASCII_US ) );
|
||||
SetWindowState(rtl::OUStringToOString(aTabDlgOpt.GetWindowState().getStr(), RTL_TEXTENCODING_ASCII_US));
|
||||
|
||||
// initiale TabPage aus Programm/Hilfe/Konfig
|
||||
nActPage = (sal_uInt16)aTabDlgOpt.GetPageID();
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "backgrnd.hxx"
|
||||
#include <svx/dialogs.hrc> // RID_SVXPAGE_...
|
||||
#include <tools/resary.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
|
||||
// class SvxSearchFormatDialog -------------------------------------------
|
||||
|
||||
|
@ -186,9 +187,10 @@ SvxSearchAttributeDialog::SvxSearchAttributeDialog( Window* pParent,
|
|||
pEntry = aAttrLB.SvTreeListBox::InsertEntry( aAttrNames.GetString(nId) );
|
||||
else
|
||||
{
|
||||
ByteString sError( "no resource for slot id\nslot = " );
|
||||
sError += ByteString::CreateFromInt32( nSlot );
|
||||
DBG_ERRORFILE( sError.GetBuffer() );
|
||||
rtl::OStringBuffer sError(
|
||||
RTL_CONSTASCII_STRINGPARAM("no resource for slot id\nslot = "));
|
||||
sError.append(nSlot);
|
||||
DBG_ERRORFILE(sError.getStr());
|
||||
}
|
||||
|
||||
if ( pEntry )
|
||||
|
|
Loading…
Reference in a new issue