[Libreoffice-commits] core.git: sfx2/source

Michael Stahl mstahl at redhat.com
Thu Aug 15 04:28:02 PDT 2013


 sfx2/source/bastyp/frmhtml.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 283e39afef68f90dc7ed8ba9abf9126077ac9da0
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Aug 15 13:24:53 2013 +0200

    SfxFrameHTMLParser: fix more clang warnings
    
    Change-Id: I97fe3dcbe6750d9db747b1cbf8b46f7f56781997

diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx
index 37cf469..2273a81 100644
--- a/sfx2/source/bastyp/frmhtml.cxx
+++ b/sfx2/source/bastyp/frmhtml.cxx
@@ -113,8 +113,7 @@ void SfxFrameHTMLParser::ParseFrameOptions(
             pFrame->SetResizable( sal_False );
             break;
         default:
-            if ( aOption.GetTokenString().equalsIgnoreAsciiCaseAscii(
-                                                        HTML_O_READONLY ) )
+            if (aOption.GetTokenString().equalsIgnoreAsciiCase(HTML_O_READONLY))
             {
                 String aStr = aOption.GetString();
                 sal_Bool bReadonly = sal_True;
@@ -122,8 +121,7 @@ void SfxFrameHTMLParser::ParseFrameOptions(
                     bReadonly = sal_False;
                 pFrame->SetReadOnly( bReadonly );
             }
-            else if ( aOption.GetTokenString().equalsIgnoreAsciiCaseAscii(
-                                                        HTML_O_EDIT ) )
+            else if (aOption.GetTokenString().equalsIgnoreAsciiCase(HTML_O_EDIT))
             {
                 String aStr = aOption.GetString();
                 sal_Bool bEdit = sal_True;


More information about the Libreoffice-commits mailing list