diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/sfxhtml.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx index 4fa1288f62cd..c7d5dd8989f3 100644 --- a/sfx2/source/bastyp/sfxhtml.cxx +++ b/sfx2/source/bastyp/sfxhtml.cxx @@ -183,9 +183,9 @@ IMAPOBJ_SETEVENT: case IMAP_OBJ_RECTANGLE: if( aCoords.size() >=4 ) { - Rectangle aRec( aCoords[0], aCoords[1], - aCoords[2], aCoords[3] ); - IMapRectangleObject aMapRObj( aRec, aHRef, aAlt, String(), aTarget, aName, + Rectangle aRect( aCoords[0], aCoords[1], + aCoords[2], aCoords[3] ); + IMapRectangleObject aMapRObj( aRect, aHRef, aAlt, String(), aTarget, aName, !bNoHRef ); if( !aMacroTbl.empty() ) aMapRObj.SetMacroTable( aMacroTbl ); |