[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tlillqvist at suse.com
Wed Jul 31 05:24:47 PDT 2013
vcl/source/gdi/pdfwriter_impl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 89133bbf19a91bd78c7d8f7ec5cedc6b24521014
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Wed Jul 31 15:21:29 2013 +0300
Fix compilation error with MSVC
Change-Id: Ibd81f2f5252d00c2545e429552028b2115475524
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index d431630..baa82e5 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -8382,7 +8382,7 @@ void PDFWriterImpl::drawStrikeoutChar( const Point& rPos, long nWidth, FontStrik
//See qadevOOo/testdocs/StrikeThrough.odt for examples if you need
//to tweak this
- OUString aStrikeoutChar = eStrikeout == STRIKEOUT_SLASH ? "/" : "X";
+ OUString aStrikeoutChar = eStrikeout == STRIKEOUT_SLASH ? OUString( "/" ) : OUString( "X" );
OUString aStrikeout = aStrikeoutChar;
while( m_pReferenceDevice->GetTextWidth( aStrikeout ) < nWidth )
aStrikeout += aStrikeout;
More information about the Libreoffice-commits
mailing list