diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-28 18:33:53 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-28 18:33:53 +0100 |
commit | 3c3ebcf0d0d9e91f4b94197b795df6b2465cd1f1 (patch) | |
tree | bed36eb230d93a31e75b04cb3d38b0a86a4919b0 /UnoControls/source/controls | |
parent | db67aa335d566ff014ebd7d8ae444f01e0974bd0 (diff) |
RTL_CONSTASCII_USTRINGPARAM in components 3
Diffstat (limited to 'UnoControls/source/controls')
-rw-r--r-- | UnoControls/source/controls/framecontrol.cxx | 4 | ||||
-rw-r--r-- | UnoControls/source/controls/progressmonitor.cxx | 16 | ||||
-rw-r--r-- | UnoControls/source/controls/statusindicator.cxx | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx index a111bf097..65e45120a 100644 --- a/UnoControls/source/controls/framecontrol.cxx +++ b/UnoControls/source/controls/framecontrol.cxx @@ -509,7 +509,7 @@ void FrameControl::impl_createFrame( const Reference< XWindowPeer >& xPeer , xOldFrame = m_xFrame ; } - xNewFrame = Reference< XFrame > ( impl_getMultiServiceFactory()->createInstance ( OUString::createFromAscii( "com.sun.star.frame.Frame" ) ), UNO_QUERY ) ; + xNewFrame = Reference< XFrame > ( impl_getMultiServiceFactory()->createInstance ( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Frame")) ), UNO_QUERY ) ; Reference< XDispatchProvider > xDSP ( xNewFrame, UNO_QUERY ) ; if (xDSP.is()) @@ -520,7 +520,7 @@ void FrameControl::impl_createFrame( const Reference< XWindowPeer >& xPeer , // option //xFrame->setName( "WhatYouWant" ); - Reference< XURLTransformer > xTrans ( impl_getMultiServiceFactory()->createInstance ( OUString::createFromAscii( "com.sun.star.util.URLTransformer" ) ), UNO_QUERY ) ; + Reference< XURLTransformer > xTrans ( impl_getMultiServiceFactory()->createInstance ( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.URLTransformer")) ), UNO_QUERY ) ; if(xTrans.is()) { // load file diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index cd90d00da..075092d90 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -897,9 +897,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Top->GetObject (n) ; aCollectString += pSearchItem->sTopic ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xTopic_Top->setText ( aCollectString ) ; } @@ -915,9 +915,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Top->GetObject (n) ; aCollectString += pSearchItem->sText ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xText_Top->setText ( aCollectString ) ; } @@ -935,9 +935,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Bottom->GetObject (n) ; aCollectString += pSearchItem->sTopic ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xTopic_Bottom->setText ( aCollectString ) ; } @@ -953,9 +953,9 @@ void ProgressMonitor::impl_rebuildFixedText () { IMPL_TextlistItem* pSearchItem = m_pTextlist_Bottom->GetObject (n) ; aCollectString += pSearchItem->sText ; - aCollectString += OUString::createFromAscii("\n") ; + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\n")) ; } - aCollectString += OUString::createFromAscii("\0") ; // It's better :-) + aCollectString += OUString(RTL_CONSTASCII_USTRINGPARAM("\0")) ; // It's better :-) m_xText_Bottom->setText ( aCollectString ) ; } diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 36d8afa2e..9f55e2ae0 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -459,7 +459,7 @@ WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const Reference< XW WindowDescriptor* pDescriptor = new WindowDescriptor ; pDescriptor->Type = WindowClass_SIMPLE ; - pDescriptor->WindowServiceName = OUString::createFromAscii( "floatingwindow" ) ; + pDescriptor->WindowServiceName = OUString(RTL_CONSTASCII_USTRINGPARAM("floatingwindow")) ; pDescriptor->ParentIndex = -1 ; pDescriptor->Parent = xParentPeer ; pDescriptor->Bounds = getPosSize () ; |