summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-25 16:42:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-25 16:42:23 +0100
commit1800862c700428e74aa500c9dee41237b8991932 (patch)
tree8d1019148d5c4a565fec82d73a2e773dd3fc9883 /oox
parentb33b441341abcdaa6e208bee7f0af528620055c5 (diff)
loplugin:stringconstant: look into 'char const * const var = "..."'
Change-Id: I52a97b8ec273509131c2200e47527221cb62d7ee
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ole/axfontdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/axfontdata.cxx b/oox/source/ole/axfontdata.cxx
index ea31b3d1b9d0..549d807a0e36 100644
--- a/oox/source/ole/axfontdata.cxx
+++ b/oox/source/ole/axfontdata.cxx
@@ -102,7 +102,7 @@ bool AxFontData::importStdFont( BinaryInputStream& rInStrm )
bool AxFontData::importGuidAndFont( BinaryInputStream& rInStrm )
{
OUString aGuid = OleHelper::importGuid( rInStrm );
- if( aGuid.equalsAscii( AX_GUID_CFONT ) )
+ if( aGuid == "{AFC20920-DA4E-11CE-B943-00AA006887B4}" )
return importBinaryModel( rInStrm );
if ( aGuid == OLE_GUID_STDFONT )
return importStdFont( rInStrm );