[Libreoffice-commits] core.git: offapi/com toolkit/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 4 07:46:34 UTC 2021
offapi/com/sun/star/awt/XDockableWindow.idl | 4 ++++
toolkit/source/awt/vclxwindow.cxx | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit d78f9b5cca2415c0d3bc4d081dec19a0ce976cb7
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun May 2 20:17:34 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 4 09:45:57 2021 +0200
final 'next incompatible build' TODO
from
commit 22ff1aff328874d0d42875552f9a3d2db37b83fb
Date: Thu Sep 9 14:12:47 2004 +0000
INTEGRATION: CWS toolbars2 (1.47.22); FILE MERGED
2004/08/24 13:53:25 ssa 1.47.22.2: #i32185# prepare removal of useless interface
just mark as deprecated in the .idl and leave the stubs alone
Change-Id: I0c0c4dccccb1b35add82306870519e2e94c044d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115010
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/offapi/com/sun/star/awt/XDockableWindow.idl b/offapi/com/sun/star/awt/XDockableWindow.idl
index 400283827bae..d34289a5bdb8 100644
--- a/offapi/com/sun/star/awt/XDockableWindow.idl
+++ b/offapi/com/sun/star/awt/XDockableWindow.idl
@@ -100,6 +100,8 @@ interface XDockableWindow : com::sun::star::uno::XInterface
the corresponding events
@param WindowRect
specifies the position and size of the pop-up window in frame coordinates
+
+ @deprecated - doesn't do anything
*/
void startPopupMode( [in] com::sun::star::awt::Rectangle WindowRect );
@@ -108,6 +110,8 @@ interface XDockableWindow : com::sun::star::uno::XInterface
@returns
`TRUE` if the window is in pop-up mode
`FALSE` if the window is not in pop-up mode
+
+ @deprecated - always returns `FALSE`
*/
boolean isInPopupMode();
};
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index b178fc57cd58..4649a146d6e7 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -2409,12 +2409,12 @@ void SAL_CALL VCLXWindow::unlock( )
void SAL_CALL VCLXWindow::startPopupMode( const css::awt::Rectangle& )
{
- // TODO: remove interface in the next incompatible build
+ // deprecated
}
sal_Bool SAL_CALL VCLXWindow::isInPopupMode( )
{
- // TODO: remove interface in the next incompatible build
+ // deprecated
return false;
}
More information about the Libreoffice-commits
mailing list