summaryrefslogtreecommitdiffstats
path: root/forms/source/component/DatabaseForm.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-04-23 11:48:24 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-23 11:58:32 +0200
commit8ed6f1c2bf1f3ffe7da79a5a8765de7b3ec8523f (patch)
tree4d96d9166a0933ca8d6fad73ba6d7a9adcb27bc0 /forms/source/component/DatabaseForm.cxx
parentFix linking with harfbuzz (diff)
downloadcore-8ed6f1c2bf1f3ffe7da79a5a8765de7b3ec8523f.tar.gz
core-8ed6f1c2bf1f3ffe7da79a5a8765de7b3ec8523f.zip
forms: FORMS_CONSTASCII_STRING is no longer needed
Change-Id: I2b666f0e48db4c97cc4c641480a82681f5057ac2
Diffstat (limited to 'forms/source/component/DatabaseForm.cxx')
-rw-r--r--forms/source/component/DatabaseForm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 13bc6248955d..0a493978bb30 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -2357,7 +2357,7 @@ void ODatabaseForm::invlidateParameters()
//------------------------------------------------------------------------------
void ODatabaseForm::_propertyChanged(const PropertyChangeEvent& evt) throw( RuntimeException )
{
- if ((evt.PropertyName.equalsAsciiL(PROPERTY_ACTIVE_CONNECTION.ascii, PROPERTY_ACTIVE_CONNECTION.length)) && !m_bForwardingConnection)
+ if (evt.PropertyName == PROPERTY_ACTIVE_CONNECTION && !m_bForwardingConnection)
{
// the rowset changed its active connection itself (without interaction from our side), so
// we need to fire this event, too
@@ -3862,7 +3862,7 @@ const sal_uInt16 DONTAPPLYFILTER = 0x0002;
//------------------------------------------------------------------------------
OUString ODatabaseForm::getServiceName() throw( RuntimeException )
{
- return FRM_COMPONENT_FORM; // old (non-sun) name for compatibility !
+ return OUString(FRM_COMPONENT_FORM); // old (non-sun) name for compatibility !
}
//------------------------------------------------------------------------------