summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-28 21:44:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-11-01 09:27:22 +0000
commite2e684a49a8651ccc38a83e7d05ac756c6c4c2ed (patch)
tree214498c5ead880afe2a1b7f8fa550e77aad4b524 /reportdesign
parent77090e4e2515aefe547618487cdc96fde567e595 (diff)
ByteString->rtl::OString
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/Formula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/Formula.cxx b/reportdesign/source/ui/dlg/Formula.cxx
index 5092c43265c2..7a1c929873cd 100644
--- a/reportdesign/source/ui/dlg/Formula.cxx
+++ b/reportdesign/source/ui/dlg/Formula.cxx
@@ -215,7 +215,7 @@ void FormulaDialog::ToggleCollapsed( RefEdit* _pEdit, RefButton* _pButton)
SvtViewOptions aDlgOpt( E_WINDOW, String::CreateFromAscii( HID_RPT_FIELD_SEL_WIN ) );
if ( aDlgOpt.Exists() )
{
- m_pAddField->SetWindowState( ByteString( aDlgOpt.GetWindowState().getStr(), RTL_TEXTENCODING_ASCII_US ) );
+ m_pAddField->SetWindowState(::rtl::OUStringToOString(aDlgOpt.GetWindowState().getStr(), RTL_TEXTENCODING_ASCII_US));
}