summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-07-31 15:21:29 +0300
committerTor Lillqvist <tlillqvist@suse.com>2013-07-31 15:21:29 +0300
commit89133bbf19a91bd78c7d8f7ec5cedc6b24521014 (patch)
tree4fbc50c7083e72b24b0e6e061dfed49b73a93628 /vcl
parent00ca0272697f701da80af6664df090e1ccadc746 (diff)
Fix compilation error with MSVC
Change-Id: Ibd81f2f5252d00c2545e429552028b2115475524
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index d4316306cb81..baa82e536d8d 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;