[Libreoffice-commits] core.git: dtrans/source include/filter offapi/com offapi/type_reference sd/source

Stephan Bergmann sbergman at redhat.com
Mon May 29 13:39:06 UTC 2017


 dtrans/source/win32/clipb/WinClipbImpl.cxx                           |    4 +---
 include/filter/msfilter/escherex.hxx                                 |    2 +-
 offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl |    3 +--
 offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl      |    2 +-
 offapi/type_reference/offapi.idl                                     |    3 +--
 sd/source/filter/eppt/eppt.cxx                                       |    2 +-
 6 files changed, 6 insertions(+), 10 deletions(-)

New commits:
commit 32260c40b265b97358fc426fb9f849c243dc7dd4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 29 15:38:06 2017 +0200

    Revert "[API-CHANGE] Add persistent (in addition to persistant)"
    
    This reverts commit 795d56dfd55a78a240cef79c822ba958c4f18006.  The Gerrit UI had
    fooled me into pushing the "Submit" button in error.

diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index f10050b20817..548a7ff4c5aa 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -138,9 +138,7 @@ OUString SAL_CALL CWinClipbImpl::getName(  )
 
 sal_Int8 SAL_CALL CWinClipbImpl::getRenderingCapabilities(  )
 {
-    // Errant spelling "Persistant" deprecated in version 5.4
-    // see offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl
-    return ( Delayed | Persistant | Persistent );
+    return ( Delayed | Persistant );
 }
 
 void SAL_CALL CWinClipbImpl::flushClipboard( )
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx
index f25a961b7bc3..4486ceb34e58 100644
--- a/include/filter/msfilter/escherex.hxx
+++ b/include/filter/msfilter/escherex.hxx
@@ -1090,7 +1090,7 @@ public:
      */
     void            InsertAtCurrentPos( sal_uInt32 nBytes );
 
-    void            InsertPersistOffset( sal_uInt32 nKey, sal_uInt32 nOffset ); // It is not being checked if this key is already in the PersistentTable
+    void            InsertPersistOffset( sal_uInt32 nKey, sal_uInt32 nOffset ); // It is not being checked if this key is already in the PersistantTable
     void            ReplacePersistOffset( sal_uInt32 nKey, sal_uInt32 nOffset );
     sal_uInt32      GetPersistOffset( sal_uInt32 nKey );
     bool            SeekToPersistOffset( sal_uInt32 nKey );
diff --git a/offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl b/offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl
index f46bd2ff5d31..6b0cdc96c230 100644
--- a/offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl
+++ b/offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl
@@ -37,8 +37,7 @@ published constants RenderingCapabilities
     /** The implementation is able to store the data persistent in the system
         so that it does not get lost when the source application no longer exist.
     */
-    /** @deprecated */ const byte Persistant = 2;
-    const byte Persistent = 2;
+    const byte Persistant = 2;
 };
 
 
diff --git a/offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl b/offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl
index 32f8bf39db4e..1cb96db1ece8 100644
--- a/offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl
+++ b/offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl
@@ -46,7 +46,7 @@ published interface XSystemClipboard
     /** Provides the ability to render the complete clipboard content. This
         interface is only available if the method
         com::sun::star::datatransfer::clipboard::XClipboardEx::getRenderingCapabilities()
-        returns Persistent
+        returns Persistant
     */
     [optional] interface XFlushableClipboard;
 
diff --git a/offapi/type_reference/offapi.idl b/offapi/type_reference/offapi.idl
index 14f39fac820d..e796d59192e2 100644
--- a/offapi/type_reference/offapi.idl
+++ b/offapi/type_reference/offapi.idl
@@ -4312,8 +4312,7 @@ module com {
      };
      published constants RenderingCapabilities {
       const byte Delayed = 1;
-      /** @deprecated */ const byte Persistant = 2;
-      const byte Persistent = 2;
+      const byte Persistant = 2;
      };
      published interface XFlushableClipboard {
       interface ::com::sun::star::uno::XInterface;
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index 33f44824691b..fc6dce12a3e5 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -1319,7 +1319,7 @@ void PPTWriter::ImplWriteOLE( )
     }
 }
 
-// write PersistentTable and UserEditAtom
+// write PersistantTable and UserEditAtom
 
 bool PPTWriter::ImplWriteAtomEnding()
 {


More information about the Libreoffice-commits mailing list