summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign/RelationController.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-27 12:04:57 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:44 +0200
commitb47e4dbc08b782824000f4be477c5d7fa62f51e7 (patch)
tree224fb61bcc16143ba5343445fe789673eef50dee /dbaccess/source/ui/relationdesign/RelationController.cxx
parent4068562f5d46a7f743d04386647920c0b7094f24 (diff)
convert more of dbaccess from String to OUString
seemed to have missed this the first time around Change-Id: I8b7b78c95c576b178e3e181c7589da81e5189ee3
Diffstat (limited to 'dbaccess/source/ui/relationdesign/RelationController.cxx')
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index 2cd7d52d8e40..c718a60abf15 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.cxx
@@ -158,7 +158,7 @@ void ORelationController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue
OSL_ENSURE(isEditable(),"Slot ID_BROWSER_SAVEDOC should not be enabled!");
if(!::dbaui::checkDataSourceAvailable(::comphelper::getString(getDataSource()->getPropertyValue(PROPERTY_NAME)), getORB()))
{
- String aMessage(ModuleRes(STR_DATASOURCE_DELETED));
+ OUString aMessage(ModuleRes(STR_DATASOURCE_DELETED));
OSQLWarningBox( getView(), aMessage ).Execute();
}
else
@@ -202,8 +202,8 @@ void ORelationController::impl_initialize()
setEditable(sal_False);
m_bRelationsPossible = sal_False;
{
- String sTitle(ModuleRes(STR_RELATIONDESIGN));
- sTitle.Erase(0,3);
+ OUString sTitle(ModuleRes(STR_RELATIONDESIGN));
+ sTitle = sTitle.copy(3);
OSQLMessageBox aDlg(NULL,sTitle,ModuleRes(STR_RELATIONDESIGN_NOT_AVAILABLE));
aDlg.Execute();
}