summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propcontroller.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-27 17:20:30 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-27 17:20:30 +0100
commit1231e74a6d5c17f91d235b1564251497fa2e3f72 (patch)
tree1dc6ef96cb11d39a2461977c584ade730d553ff5 /extensions/source/propctrlr/propcontroller.cxx
parentc838ea595f578d57da5f25a14f8a84bdf51e7bbf (diff)
RTL_CONSTASCII_USTRINGPARAM in components 2 (build problem in sal ?)
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 657b1f2e9955..50a6ed66bd65 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -375,7 +375,7 @@ namespace pcr
::osl::MutexGuard aGuard( m_aMutex );
if (_rxFrame.is() && haveView())
- throw RuntimeException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Unable to attach to a second frame.")),*this);
+ throw RuntimeException(::rtl::OUString::createFromAscii("Unable to attach to a second frame."),*this);
// revoke as focus listener from the old container window
stopContainerWindowListening();
@@ -391,7 +391,7 @@ namespace pcr
VCLXWindow* pContainerWindow = VCLXWindow::GetImplementation(xContainerWindow);
Window* pParentWin = pContainerWindow ? pContainerWindow->GetWindow() : NULL;
if (!pParentWin)
- throw RuntimeException(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("The frame is invalid. Unable to extract the container window.")),*this);
+ throw RuntimeException(::rtl::OUString::createFromAscii("The frame is invalid. Unable to extract the container window."),*this);
if ( Construct( pParentWin ) )
{
@@ -597,14 +597,14 @@ namespace pcr
//------------------------------------------------------------------------
::rtl::OUString OPropertyBrowserController::getImplementationName_static( ) throw(RuntimeException)
{
- return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.comp.extensions.ObjectInspector"));
+ return ::rtl::OUString::createFromAscii("org.openoffice.comp.extensions.ObjectInspector");
}
//------------------------------------------------------------------------
Sequence< ::rtl::OUString > OPropertyBrowserController::getSupportedServiceNames_static( ) throw(RuntimeException)
{
Sequence< ::rtl::OUString > aSupported(1);
- aSupported[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.inspection.ObjectInspector"));
+ aSupported[0] = ::rtl::OUString::createFromAscii( "com.sun.star.inspection.ObjectInspector" );
return aSupported;
}