From 8e5318b0b971580f8dabecc1318c74e799e84d53 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 8 Apr 2012 18:57:38 +0200 Subject: OUString( whatever ? "foo" : "bar" ) does not work with MSVC --- chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index 1fe743d8defb..702fff3be2a9 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -142,7 +142,7 @@ UpDownBarWrapper::UpDownBarWrapper( bool bUp, ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ) : m_spChart2ModelContact( spChart2ModelContact ) , m_aEventListenerContainer( m_aMutex ) - , m_aPropertySetName( bUp ? "WhiteDay" : "BlackDay" ) + , m_aPropertySetName( bUp ? OUString( "WhiteDay" ) : OUString( "BlackDay" )) { } -- cgit