summaryrefslogtreecommitdiff
path: root/toolkit/source/controls
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-25 22:58:19 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-25 22:58:19 +0100
commitced73bee6811bb68734d9c95ca110820a1758dd2 (patch)
tree4737bd8437e84a3e63d4cad1853393b0c18dd0c0 /toolkit/source/controls
parent6708ef04536191114eda027011e17037feb40e18 (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 22
Diffstat (limited to 'toolkit/source/controls')
-rw-r--r--toolkit/source/controls/unocontrol.cxx2
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