summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svmain.cxx2
-rw-r--r--vcl/source/control/edit.cxx2
-rw-r--r--vcl/source/gdi/print3.cxx2
-rw-r--r--vcl/source/window/arrange.cxx6
-rw-r--r--vcl/source/window/window4.cxx6
5 files changed, 9 insertions, 9 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 2624e6c32b44..3147b9a85910 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -249,7 +249,7 @@ uno::Any SAL_CALL DesktopEnvironmentContext::getValueByName( const rtl::OUString
{
uno::Any retVal;
- if (Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("system.desktop-environment")))
+ if ( Name == "system.desktop-environment" )
{
retVal = uno::makeAny( Application::GetDesktopEnvironment() );
}
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index aaa72bbe88ea..128d7db6b878 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -3080,7 +3080,7 @@ void Edit::dragEnter( const ::com::sun::star::datatransfer::dnd::DropTargetDragE
{
sal_Int32 nIndex = 0;
rtl::OUString aMimetype = rFlavors[i].MimeType.getToken( 0, ';', nIndex );
- if( aMimetype.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("text/plain")) )
+ if ( aMimetype == "text/plain" )
{
mpDDInfo->bIsStringSupported = sal_True;
break;
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 8194f527f509..1a4b9405c390 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1396,7 +1396,7 @@ void PrinterController::setUIOptions( const Sequence< beans::PropertyValue >& i_
{
rEntry.Value >>= aDep.mnDependsOnEntry;
}
- else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ChoicesDisabled")) )
+ else if ( rEntry.Name == "ChoicesDisabled" )
{
rEntry.Value >>= aChoicesDisabled;
}
diff --git a/vcl/source/window/arrange.cxx b/vcl/source/window/arrange.cxx
index 5ff1ac48a738..e24706fb459d 100644
--- a/vcl/source/window/arrange.cxx
+++ b/vcl/source/window/arrange.cxx
@@ -237,7 +237,7 @@ void WindowArranger::setProperties( const uno::Sequence< beans::PropertyValue >&
bool bResize = false;
for( sal_Int32 i = 0; i < i_rProps.getLength(); i++ )
{
- if( pProps[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("OuterBorder")) )
+ if ( pProps[i].Name == "OuterBorder" )
{
sal_Int32 nVal = 0;
if( pProps[i].Value >>= nVal )
@@ -249,7 +249,7 @@ void WindowArranger::setProperties( const uno::Sequence< beans::PropertyValue >&
}
}
}
- else if( pProps[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ManagedArea")) )
+ else if ( pProps[i].Name == "ManagedArea" )
{
awt::Rectangle aArea( 0, 0, 0, 0 );
if( pProps[i].Value >>= aArea )
@@ -261,7 +261,7 @@ void WindowArranger::setProperties( const uno::Sequence< beans::PropertyValue >&
bResize = true;
}
}
- else if( pProps[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Visible")) )
+ else if ( pProps[i].Name == "Visible" )
{
sal_Bool bVal = sal_False;
if( pProps[i].Value >>= bVal )
diff --git a/vcl/source/window/window4.cxx b/vcl/source/window/window4.cxx
index 238c032cd4be..f0d8f47b2515 100644
--- a/vcl/source/window/window4.cxx
+++ b/vcl/source/window/window4.cxx
@@ -161,19 +161,19 @@ void Window::setProperties( const uno::Sequence< beans::PropertyValue >& i_rProp
const beans::PropertyValue* pVals = i_rProps.getConstArray();
for( sal_Int32 i = 0; i < i_rProps.getLength(); i++ )
{
- if( pVals[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Enabled")) )
+ if ( pVals[i].Name == "Enabled" )
{
sal_Bool bVal = sal_True;
if( pVals[i].Value >>= bVal )
Enable( bVal );
}
- else if( pVals[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Visible")) )
+ else if ( pVals[i].Name == "Visible" )
{
sal_Bool bVal = sal_True;
if( pVals[i].Value >>= bVal )
Show( bVal );
}
- else if( pVals[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Text")) )
+ else if ( pVals[i].Name == "Text" )
{
rtl::OUString aText;
if( pVals[i].Value >>= aText )