summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-22 00:59:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-22 00:59:11 +0100
commit4f314412dee35856ae70a8331047f7c54e07073b (patch)
treed236058b70db76555e70adc34c2ad26f3a78a97d /fpicker
parent9e5ce467898ee588b318f2efe8ee6fa4adc5a2dc (diff)
adapt for new api
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 9bae8ceec789..81298c5a1dcd 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -515,7 +515,7 @@ SvtFileDialog::~SvtFileDialog()
{
// save window state
SvtViewOptions aDlgOpt( E_DIALOG, _pImp->_aIniKey );
- aDlgOpt.SetWindowState( String( GetWindowState(), osl_getThreadTextEncoding() ) );
+ aDlgOpt.SetWindowState(::rtl::OStringToOUString(GetWindowState(), osl_getThreadTextEncoding()));
String sUserData = _pFileView->GetConfigString();
aDlgOpt.SetUserItem( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "UserData" )),
makeAny( ::rtl::OUString( sUserData ) ) );