[Libreoffice-commits] .: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Dec 22 22:01:06 PST 2012
sw/source/ui/envelp/labelcfg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9c655c4c55e3be85a6cef0bd04f95e4d47e211f1
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Sun Dec 23 07:59:34 2012 +0200
Fix that actually compiles, at least with V2012
Change-Id: I04a29decfeec5e05b50070904189bbeccaf25910
diff --git a/sw/source/ui/envelp/labelcfg.cxx b/sw/source/ui/envelp/labelcfg.cxx
index 259e9da..1e48502 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 += ( rRec.bCont ? "C" : "S" ); sTmp += sColon;
+ sTmp += rRec.bCont ? OUString("C") : OUString("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