[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 22 16:12:35 PST 2012


 sw/source/ui/envelp/labelcfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7552dc46259eb022ff6de7383c9886941df0477e
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Sun Dec 23 02:11:27 2012 +0200

    Try to fix "cannot convert from 'const char *' to 'rtl::OUString'"
    
    Change-Id: I0950c45af8505e0801431eb711108ea43f88c242

diff --git a/sw/source/ui/envelp/labelcfg.cxx b/sw/source/ui/envelp/labelcfg.cxx
index 1e39ecc..259e9da 100644
--- a/sw/source/ui/envelp/labelcfg.cxx
+++ b/sw/source/ui/envelp/labelcfg.cxx
@@ -133,7 +133,7 @@ static Sequence<PropertyValue> lcl_CreateProperties(
             case 1:
             {
                 OUString sTmp;
-                sTmp += OUString( rRec.bCont ? "C" : "S");                    sTmp += sColon;
+                sTmp += ( rRec.bCont ? "C" : "S" );                           sTmp += sColon;
                 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHDist) );       sTmp += sColon;
                 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lVDist));        sTmp += sColon;
                 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lWidth)  );      sTmp += sColon;


More information about the Libreoffice-commits mailing list