summaryrefslogtreecommitdiff
path: root/forms/source/component/Pattern.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /forms/source/component/Pattern.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'forms/source/component/Pattern.cxx')
-rw-r--r--forms/source/component/Pattern.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx
index e0da52961d61..8a6af8afb605 100644
--- a/forms/source/component/Pattern.cxx
+++ b/forms/source/component/Pattern.cxx
@@ -65,7 +65,7 @@ StringSequence OPatternControl::getSupportedServiceNames() throw()
StringSequence aSupported = OBoundControl::getSupportedServiceNames();
aSupported.realloc(aSupported.getLength() + 1);
- ::rtl::OUString*pArray = aSupported.getArray();
+ OUString*pArray = aSupported.getArray();
pArray[aSupported.getLength()-1] = FRM_SUN_CONTROL_PATTERNFIELD;
return aSupported;
}
@@ -122,7 +122,7 @@ StringSequence SAL_CALL OPatternModel::getSupportedServiceNames() throw()
StringSequence aSupported = OBoundControlModel::getSupportedServiceNames();
aSupported.realloc(aSupported.getLength() + 2);
- ::rtl::OUString*pArray = aSupported.getArray();
+ OUString*pArray = aSupported.getArray();
pArray[aSupported.getLength()-2] = FRM_SUN_COMPONENT_DATABASE_PATTERNFIELD;
pArray[aSupported.getLength()-1] = FRM_SUN_COMPONENT_PATTERNFIELD;
return aSupported;
@@ -133,7 +133,7 @@ StringSequence SAL_CALL OPatternModel::getSupportedServiceNames() throw()
void OPatternModel::describeFixedProperties( Sequence< Property >& _rProps ) const
{
BEGIN_DESCRIBE_PROPERTIES( 4, OEditBaseModel )
- DECL_PROP2(DEFAULT_TEXT, ::rtl::OUString, BOUND, MAYBEDEFAULT);
+ DECL_PROP2(DEFAULT_TEXT, OUString, BOUND, MAYBEDEFAULT);
DECL_BOOL_PROP1(EMPTY_IS_NULL, BOUND);
DECL_PROP1(TABINDEX, sal_Int16, BOUND);
DECL_PROP2(FILTERPROPOSAL, sal_Bool, BOUND, MAYBEDEFAULT);
@@ -141,7 +141,7 @@ void OPatternModel::describeFixedProperties( Sequence< Property >& _rProps ) con
}
//------------------------------------------------------------------------------
-::rtl::OUString SAL_CALL OPatternModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OPatternModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException)
{
return FRM_COMPONENT_PATTERNFIELD; // old (non-sun) name for compatibility !
}
@@ -153,7 +153,7 @@ sal_Bool OPatternModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
if ( aNewValue != m_aLastKnownValue )
{
- ::rtl::OUString sNewValue;
+ OUString sNewValue;
aNewValue >>= sNewValue;
if ( !aNewValue.hasValue()
@@ -207,7 +207,7 @@ Any OPatternModel::translateDbColumnToControlValue()
if ( m_pFormattedValue.get() )
{
- ::rtl::OUString sValue( m_pFormattedValue->getFormattedValue() );
+ OUString sValue( m_pFormattedValue->getFormattedValue() );
if ( sValue.isEmpty()
&& m_pFormattedValue->getColumn().is()
&& m_pFormattedValue->getColumn()->wasNull()
@@ -223,7 +223,7 @@ Any OPatternModel::translateDbColumnToControlValue()
else
m_aLastKnownValue.clear();
- return m_aLastKnownValue.hasValue() ? m_aLastKnownValue : makeAny( ::rtl::OUString() );
+ return m_aLastKnownValue.hasValue() ? m_aLastKnownValue : makeAny( OUString() );
// (m_aLastKnownValue is alllowed to be VOID, the control value isn't)
}