[Libreoffice-commits] core.git: 2 commits - offapi/com vcl/source

Julien Nabet serval2412 at yahoo.fr
Thu Jul 4 22:27:14 PDT 2013


 offapi/com/sun/star/document/XDocumentRecovery.idl     |    2 +-
 offapi/com/sun/star/drawing/AccessibleGraphicShape.idl |    4 ++--
 offapi/com/sun/star/text/AccessibleEndnoteView.idl     |    2 +-
 vcl/source/window/menu.cxx                             |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 9a556a1f355ef828ff326b00cf5c28a10f1d6bb5
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Jul 5 07:26:45 2013 +0200

    Fix some idl descriptions
    
    Change-Id: I983ba19bebceb4f38ca51f8c60204c91b78bc965

diff --git a/offapi/com/sun/star/document/XDocumentRecovery.idl b/offapi/com/sun/star/document/XDocumentRecovery.idl
index 60dc2be..a18e8dd 100644
--- a/offapi/com/sun/star/document/XDocumentRecovery.idl
+++ b/offapi/com/sun/star/document/XDocumentRecovery.idl
@@ -85,7 +85,7 @@ interface XDocumentRecovery
         Instead, the implementation is responsible to do so, if required.</p>
 
         <p>A default implementation of this method could simply delegate this call to
-        ::com::sun::star::frame:::XLoadable::load(), followed by
+        ::com::sun::star::frame::XLoadable::load(), followed by
         com::sun::star::frame::XModel::attachResource().</p>
 
         @param SourceLocation
diff --git a/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl b/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl
index 880583f..9dfd88c 100644
--- a/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl
+++ b/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl
@@ -60,8 +60,8 @@ service AccessibleGraphicShape
         the time being this interface does not provide information that is
         not available through the AccessibleShape service:
         the size returned by the
-        ::com::sun::star::accessibility::XAccessibleImage::getWidth() and
-        ::com::sun::star::accessibility::XAccessibleImage::getHeight()
+        ::com::sun::star::accessibility::XAccessibleImage::getAccessibleImageWidth() and
+        ::com::sun::star::accessibility::XAccessibleImage::getAccessibleImageHeight()
         functions is the same as that returned by the
         ::com::sun::star::accessibility::XAccessibleComponent::getSize()
         function; the description returned by
diff --git a/offapi/com/sun/star/text/AccessibleEndnoteView.idl b/offapi/com/sun/star/text/AccessibleEndnoteView.idl
index f019eba..86ea0b0 100644
--- a/offapi/com/sun/star/text/AccessibleEndnoteView.idl
+++ b/offapi/com/sun/star/text/AccessibleEndnoteView.idl
@@ -65,7 +65,7 @@ service AccessibleEndnoteView
                 <p>The logical order of paragraph and table fragments is never
                    changed.
             <li>The role is
-                ::com::sun::star::accessibility::AccessibleRole::ENDNOTE
+                ::com::sun::star::accessibility::AccessibleRole::END_NOTE
             <li>The name is "endnote" (or the equivalent term
                 in application's language) with a number appended.
             <li>The description is endnote" (or the equivalent term
commit f53bebb800ac35ee948640e57bcfff3ca59fd833
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Jul 4 22:37:44 2013 +0200

    Remove "!!"
    
    Change-Id: I14bc066fa6383bf33260d65a99a1036fde62b108

diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 7bf3c16..ac9c206 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1915,7 +1915,7 @@ void Menu::SetItemImageAngle( sal_uInt16 nItemId, long nAngle10 )
             nDeltaAngle += 3600;
 
         pData->nItemImageAngle = nAngle10;
-        if( nDeltaAngle && !!pData->aImage )
+        if( nDeltaAngle && pData->aImage )
             pData->aImage = ImplRotImage( pData->aImage, nDeltaAngle );
     }
 }
@@ -1942,7 +1942,7 @@ void Menu::SetItemImageMirrorMode( sal_uInt16 nItemId, sal_Bool bMirror )
             )
         {
             pData->bMirrorMode = bMirror ? true : false;
-            if( !!pData->aImage )
+            if( pData->aImage )
                 pData->aImage = ImplMirrorImage( pData->aImage );
         }
     }


More information about the Libreoffice-commits mailing list