[Libreoffice-commits] .: extensions/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 4 05:40:56 PST 2011


 extensions/source/plugin/win/winmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d7b48d2e4e0e048ddc70defe3844430d86a0438d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 4 13:40:49 2011 +0000

    use RTL_CONSTASCII_USTRINGPARAM

diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index d29c328..1f1e6dc 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -422,7 +422,7 @@ Sequence< PluginDescription > XPluginManager_Impl::impl_getPluginDescriptions(vo
                         rDescr.Description = aComment;
 
                         sal_Int32 nPos = 0, nLen = aExtToken.getLength();
-                        OUString aExtensions( OUString::createFromAscii( nLen ? "*." : "*.*" ) );
+                        OUString aExtensions = nLen ? OUString(RTL_CONSTASCII_USTRINGPARAM("*.")) : OUString(RTL_CONSTASCII_USTRINGPARAM("*.*"));
 
                         for ( ; nPos < nLen; ++nPos )
                         {


More information about the Libreoffice-commits mailing list