[Libreoffice-commits] .: chart2/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 22 08:40:26 PST 2010
chart2/source/tools/MediaDescriptorHelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 10f65ce5ea888bfa63438033b294fb4f46fb95fe
Author: serval <serval2412 at yahoo.fr>
Date: Wed Dec 22 16:21:47 2010 +0000
RTL_CONSTASCII_USTRINGPARAM
diff --git a/chart2/source/tools/MediaDescriptorHelper.cxx b/chart2/source/tools/MediaDescriptorHelper.cxx
index dc92065..e58b2e5 100644
--- a/chart2/source/tools/MediaDescriptorHelper.cxx
+++ b/chart2/source/tools/MediaDescriptorHelper.cxx
@@ -40,7 +40,7 @@ const short FLAG_DEPRECATED =1;
const short FLAG_MODEL =2;
#define WRITE_PROPERTY( MediaName, nFlags ) \
-if(rProp.Name.equals(::rtl::OUString::createFromAscii(#MediaName))) \
+if(rProp.Name.equals(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(#MediaName)))) \
{ \
if( rProp.Value >>= MediaName ) \
ISSET_##MediaName = sal_True; \
More information about the Libreoffice-commits
mailing list