summaryrefslogtreecommitdiff
path: root/oox/source/ole/vbacontrol.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-01-28 16:59:16 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-01-28 16:59:16 +0000
commitc4a384a3fc10147dfd611e388cd69e35fa5d0689 (patch)
tree9f8578bd41193a0b8f3fa1b0da02002370cd49e9 /oox/source/ole/vbacontrol.cxx
parent3f4b29b8f2f99c83ba41b4e1c3e485d659f9e54a (diff)
revert incorrect usage of RTL_CONSTASCII_STRINGPARAM on char * pointers
Diffstat (limited to 'oox/source/ole/vbacontrol.cxx')
-rw-r--r--oox/source/ole/vbacontrol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/ole/vbacontrol.cxx b/oox/source/ole/vbacontrol.cxx
index 526704db3502..4a42f7043aaf 100644
--- a/oox/source/ole/vbacontrol.cxx
+++ b/oox/source/ole/vbacontrol.cxx
@@ -288,11 +288,11 @@ ControlModelRef VbaSiteModel::createControlModel( const AxClassTable& rClassTabl
OSL_ENSURE( pGuid, "VbaSiteModel::createControlModel - invalid class table index" );
if( pGuid )
{
- if( pGuid->equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( COMCTL_GUID_SCROLLBAR_60 ) ) )
+ if( pGuid->equalsAscii( COMCTL_GUID_SCROLLBAR_60 ) )
xCtrlModel.reset( new ComCtlScrollBarModel( 6 ) );
- else if( pGuid->equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( COMCTL_GUID_PROGRESSBAR_50 ) ) )
+ else if( pGuid->equalsAscii( COMCTL_GUID_PROGRESSBAR_50 ) )
xCtrlModel.reset( new ComCtlProgressBarModel( 5 ) );
- else if( pGuid->equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( COMCTL_GUID_PROGRESSBAR_60 ) ) )
+ else if( pGuid->equalsAscii( COMCTL_GUID_PROGRESSBAR_60 ) )
xCtrlModel.reset( new ComCtlProgressBarModel( 6 ) );
}
}