You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/02/27 10:53:57 UTC

svn commit: r1450697 - /openoffice/trunk/main/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm

Author: hdu
Date: Wed Feb 27 09:53:57 2013
New Revision: 1450697

URL: http://svn.apache.org/r1450697
Log:
fix building in environments where trigraphs are accidentially enabled

Modified:
    openoffice/trunk/main/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm

Modified: openoffice/trunk/main/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm?rev=1450697&r1=1450696&r2=1450697&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm (original)
+++ openoffice/trunk/main/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm Wed Feb 27 09:53:57 2013
@@ -69,7 +69,7 @@ using namespace ::rtl;
 
 +(int)convertItalicStyle:(PropertyValue)property {
     int italicStyle = 0;
-    sal_Int16 value = property.Value.get<::css_awt::FontSlant>();
+    const sal_Int16 value = property.Value.get< ::css_awt::FontSlant>();
     if ( value == ::css_awt::FontSlant_ITALIC ) {
         italicStyle = NSItalicFontMask;
     }