summaryrefslogtreecommitdiff
path: root/automation/source/server/statemnt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'automation/source/server/statemnt.cxx')
-rw-r--r--automation/source/server/statemnt.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index 16a8ceda6c18..ed0e1103fe0d 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -1001,7 +1001,8 @@ void StatementCommand::WriteControlData( Window *pBase, sal_uLong nConf, sal_Boo
aID.Assign("Help");
break;
default:
- aID = ByteString::CreateFromInt32( pBD->GetButtonId(i) );
+ aID = rtl::OString::valueOf(
+ static_cast<sal_Int32>(pBD->GetButtonId(i)));
break;
}