summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-25 13:42:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-25 14:24:20 +0100
commit07f1a395098a7a3ac75eb5f05c35aa3982e33e67 (patch)
treede5521de6b2bc6c9a09ddfab61942a8e27214ebb /vcl/source/window
parentd9ac7def8ba320853e8865535a7a14f9af77521e (diff)
(nearly) nothing uses GetUniqueId anymore, so remove it.
The odd one out is the usage in Formula, which attempts to restore focus to a particular window identified by an unique id. In this case restore focus by keeping a VclPtr to the desired window. Change-Id: I1dc335325c109d75745c6bba2e12662e6ae50638
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/resource.cxx2
-rw-r--r--vcl/source/window/window2.cxx10
2 files changed, 0 insertions, 12 deletions
diff --git a/vcl/source/window/resource.cxx b/vcl/source/window/resource.cxx
index 332d163d97a4..fba41a6c7e34 100644
--- a/vcl/source/window/resource.cxx
+++ b/vcl/source/window/resource.cxx
@@ -146,8 +146,6 @@ void Window::ImplLoadRes( const ResId& rResId )
sal_uIntPtr nRes = ReadLongRes();
SetData( reinterpret_cast<void*>(nRes) );
}
- if ( nObjMask & WINDOW_UNIQUEID )
- SetUniqueId( ReadByteStringRes() );
if ( nObjMask & WINDOW_BORDER_STYLE )
{
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 2b9b5e6e7dc6..95a6e1de8794 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -909,16 +909,6 @@ const OString& Window::GetHelpId() const
return mpWindowImpl->maHelpId;
}
-void Window::SetUniqueId( const OString& rUniqueId )
-{
- mpWindowImpl->maUniqId = rUniqueId;
-}
-
-const OString& Window::GetUniqueId() const
-{
- return mpWindowImpl->maUniqId;
-}
-
// --------- old inline methods ---------------
vcl::Window* Window::ImplGetWindow()