summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/srchdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/srchdlg.cxx')
-rw-r--r--sfx2/source/dialog/srchdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/dialog/srchdlg.cxx b/sfx2/source/dialog/srchdlg.cxx
index 0cf9690d9896..7d7c45ad8cab 100644
--- a/sfx2/source/dialog/srchdlg.cxx
+++ b/sfx2/source/dialog/srchdlg.cxx
@@ -119,13 +119,13 @@ void SearchDialog::SaveConfig()
}
sUserData = comphelper::string::stripStart(sUserData, '\t');
sUserData += ';';
- sUserData += String::CreateFromInt32( m_aWholeWordsBox.IsChecked() ? 1 : 0 );
+ sUserData += OUString::number( m_aWholeWordsBox.IsChecked() ? 1 : 0 );
sUserData += ';';
- sUserData += String::CreateFromInt32( m_aMatchCaseBox.IsChecked() ? 1 : 0 );
+ sUserData += OUString::number( m_aMatchCaseBox.IsChecked() ? 1 : 0 );
sUserData += ';';
- sUserData += String::CreateFromInt32( m_aWrapAroundBox.IsChecked() ? 1 : 0 );
+ sUserData += OUString::number( m_aWrapAroundBox.IsChecked() ? 1 : 0 );
sUserData += ';';
- sUserData += String::CreateFromInt32( m_aBackwardsBox.IsChecked() ? 1 : 0 );
+ sUserData += OUString::number( m_aBackwardsBox.IsChecked() ? 1 : 0 );
Any aUserItem = makeAny( ::rtl::OUString( sUserData ) );
aViewOpt.SetUserItem( "UserItem", aUserItem );