summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/tbunocontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/tbunocontroller.cxx')
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 2546935a6303..ce259c38ca86 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -335,7 +335,7 @@ throw ( uno::RuntimeException )
if ( m_pBox )
{
SolarMutexGuard aSolarMutexGuard;
- if ( rEvent.FeatureURL.Path.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FontHeight" ) ))
+ if ( rEvent.FeatureURL.Path == "FontHeight" )
{
if ( rEvent.IsEnabled )
{
@@ -349,7 +349,7 @@ throw ( uno::RuntimeException )
else
m_pBox->Disable();
}
- else if ( rEvent.FeatureURL.Path.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CharFontName" ) ))
+ else if ( rEvent.FeatureURL.Path == "CharFontName" )
{
if ( rEvent.State >>= m_aCurrentFont )
m_pBox->UpdateFont( m_aCurrentFont );