summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginsonAtgmail.com>2012-04-10 12:43:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-10 12:49:49 +0100
commit8a3aae9b694deb2b41157509e84815a5b7fb7655 (patch)
tree330c03bb0b312ac25f3ac7174261eedc9f6a642c /sfx2/source/dialog
parent65cf853589958a51a3a30f6e03dc578c01c320bc (diff)
Resolves: fdo#31022 about dialog is suboptimal
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index edee5ab35204..e06df27a42af 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -2801,7 +2801,7 @@ sal_Bool SfxTemplateCatalog_Impl::IsCheckedItem(sal_uInt16 nMesId)
sal_uInt16 i;
for ( i = 0; i < aFamIds.size() && aFamIds[i] != nMesId; i++ )
;
- return aFamList.IsEntrySelected( String::CreateFromInt32(i) );
+ return aFamList.IsEntrySelected( rtl::OUString::valueOf(static_cast<sal_Int32>(i)) );
}
//-------------------------------------------------------------------------