diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 00:42:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:01:54 +0100 |
commit | a8a1180056960ef689578db8e6d3542f0d3c7360 (patch) | |
tree | 5db61d693592c5fc2b3efb5c6d426baf808e54e0 /fpicker | |
parent | 5f2880cb23fb875128440f159a6257f92d89dd1d (diff) |
ByteString -> rtl::OStringBuffer
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/unx/gnome/SalGtkFilePicker.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index b98b68beedb7..9bae8ceec789 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -2449,7 +2449,7 @@ void SvtFileDialog::InitSize() if ( aDlgOpt.Exists() ) { - SetWindowState( ByteString( String( aDlgOpt.GetWindowState() ), osl_getThreadTextEncoding() ) ); + SetWindowState(rtl::OUStringToOString(aDlgOpt.GetWindowState(), osl_getThreadTextEncoding())); Any aUserData = aDlgOpt.GetUserItem( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "UserData" ) )); ::rtl::OUString sCfgStr; diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx index 2034763528ec..9f8fefdfd156 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx @@ -283,8 +283,8 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact gtk_container_add (GTK_CONTAINER (m_pFilterExpander), scrolled_window); gtk_widget_show (scrolled_window); - ByteString sExpand(getenv("SAL_EXPANDFPICKER")); - sal_Int32 nExpand = sExpand.ToInt32(); + rtl::OString sExpand(getenv("SAL_EXPANDFPICKER")); + sal_Int32 nExpand = sExpand.toInt32(); switch (nExpand) { default: |