summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-05 16:28:32 +0200
committerNoel Grandin <noel@peralex.com>2014-12-08 14:13:17 +0200
commit2979ff295c9fafdb92cb56cd1f5ddb0a6b56cf20 (patch)
treeb2088ed0b437f8181af5bdce70fd0d7ef27ea8e0 /dbaccess/source/ui
parenteae0dda3e2eddb55b4e2032136541c15ba87fa09 (diff)
fdo#38835 strip out OUString globals
Change-Id: I1a435214af102461e02217f7d95248dac14e5f1a
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/misc/indexcollection.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx
index 7557d6cc16ad..5049e2a90e22 100644
--- a/dbaccess/source/ui/misc/indexcollection.cxx
+++ b/dbaccess/source/ui/misc/indexcollection.cxx
@@ -150,9 +150,9 @@ namespace dbaui
}
// set the properties
- static const OUString s_sUniquePropertyName = "IsUnique";
- static const OUString s_sSortPropertyName = "IsAscending";
- static const OUString s_sNamePropertyName = "Name";
+ static const char s_sUniquePropertyName[] = "IsUnique";
+ static const char s_sSortPropertyName[] = "IsAscending";
+ static const char s_sNamePropertyName[] = "Name";
// the index' own props
xIndexDescriptor->setPropertyValue(s_sUniquePropertyName, css::uno::makeAny(_rPos->bUnique));
xIndexDescriptor->setPropertyValue(s_sNamePropertyName, makeAny(_rPos->sName));
@@ -252,10 +252,10 @@ namespace dbaui
void OIndexCollection::implFillIndexInfo(OIndex& _rIndex, Reference< XPropertySet > _rxDescriptor)
{
- static const OUString s_sPrimaryIndexPropertyName = "IsPrimaryKeyIndex";
- static const OUString s_sUniquePropertyName = "IsUnique";
- static const OUString s_sSortPropertyName = "IsAscending";
- static const OUString s_sCatalogPropertyName = "Catalog";
+ static const char s_sPrimaryIndexPropertyName[] = "IsPrimaryKeyIndex";
+ static const char s_sUniquePropertyName[] = "IsUnique";
+ static const char s_sSortPropertyName[] = "IsAscending";
+ static const char s_sCatalogPropertyName[] = "Catalog";
_rIndex.bPrimaryKey = ::cppu::any2bool(_rxDescriptor->getPropertyValue(s_sPrimaryIndexPropertyName));
_rIndex.bUnique = ::cppu::any2bool(_rxDescriptor->getPropertyValue(s_sUniquePropertyName));