diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-25 22:58:19 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-25 22:58:19 +0100 |
commit | ced73bee6811bb68734d9c95ca110820a1758dd2 (patch) | |
tree | 4737bd8437e84a3e63d4cad1853393b0c18dd0c0 /toolkit/source/controls | |
parent | 6708ef04536191114eda027011e17037feb40e18 (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 22
Diffstat (limited to 'toolkit/source/controls')
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index c6d309659a4f..40a8dd456516 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -1428,7 +1428,7 @@ void UnoControl::setDesignMode( sal_Bool bOn ) throw(RuntimeException) disposeAccessibleContext(); aModeChangeEvent.Source = *this; - aModeChangeEvent.NewMode = ::rtl::OUString::createFromAscii( mbDesignMode ? "design" : "alive" ); + aModeChangeEvent.NewMode = mbDesignMode ? ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("design")) : ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("alive" )); } // ajust the visibility of our window |