[Libreoffice-commits] .: toolkit/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Fri Jan 28 07:13:04 PST 2011


 toolkit/source/layout/core/helper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 804af5e48eec0f1dbdc63d96b2687d18d23b7eb9
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Fri Jan 28 16:12:59 2011 +0100

    Replace suitable equalsAscii calls with equalsAsciiL.

diff --git a/toolkit/source/layout/core/helper.cxx b/toolkit/source/layout/core/helper.cxx
index 4f7c392..f85e6c7 100644
--- a/toolkit/source/layout/core/helper.cxx
+++ b/toolkit/source/layout/core/helper.cxx
@@ -567,8 +567,8 @@ Window* WidgetFactory::layoutCreateWindow (VCLXWindow** component, Window *paren
         window = new Window( parent, ImplGetWinBits( attributes, 0 ) );
         *component = new layoutimpl::LocalizedString();
     }
-    else if (name.equalsAscii ("svxfontlistbox")
-             || name.equalsAscii ("svxlanguagebox"))
+    else if (name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("svxfontlistbox"))
+             || name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("svxlanguagebox")))
     {
         window = new ListBox (parent, ImplGetWinBits (attributes, 0));
         *component = new VCLXListBox ();


More information about the Libreoffice-commits mailing list