summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-29 15:38:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-29 15:38:06 +0200
commit32260c40b265b97358fc426fb9f849c243dc7dd4 (patch)
tree2f88c423d0c177c22a6298562a5d27928c0882dd
parent795d56dfd55a78a240cef79c822ba958c4f18006 (diff)
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.
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx4
-rw-r--r--include/filter/msfilter/escherex.hxx2
-rw-r--r--offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl3
-rw-r--r--offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl2
-rw-r--r--offapi/type_reference/offapi.idl3
-rw-r--r--sd/source/filter/eppt/eppt.cxx2
6 files changed, 6 insertions, 10 deletions
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()
{