diff options
Diffstat (limited to 'sfx2/source/bastyp/frmhtml.cxx')
-rw-r--r-- | sfx2/source/bastyp/frmhtml.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx index 779f26ebd922..fe458c7e9605 100644 --- a/sfx2/source/bastyp/frmhtml.cxx +++ b/sfx2/source/bastyp/frmhtml.cxx @@ -100,7 +100,7 @@ void SfxFrameHTMLParser::ParseFrameOptions( break; case HTML_O_FRAMEBORDER: { - OUString aStr = aOption.GetString(); + const OUString& aStr = aOption.GetString(); bool bBorder = true; if ( aStr.equalsIgnoreAsciiCase("NO") || aStr.equalsIgnoreAsciiCase("0") ) @@ -114,7 +114,7 @@ void SfxFrameHTMLParser::ParseFrameOptions( default: if (aOption.GetTokenString().equalsIgnoreAsciiCase(HTML_O_READONLY)) { - OUString aStr = aOption.GetString(); + const OUString& aStr = aOption.GetString(); bool bReadonly = true; if ( aStr.equalsIgnoreAsciiCase("FALSE") ) bReadonly = false; @@ -122,7 +122,7 @@ void SfxFrameHTMLParser::ParseFrameOptions( } else if (aOption.GetTokenString().equalsIgnoreAsciiCase(HTML_O_EDIT)) { - OUString aStr = aOption.GetString(); + const OUString& aStr = aOption.GetString(); bool bEdit = true; if ( aStr.equalsIgnoreAsciiCase("FALSE") ) bEdit = false; |