diff options
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r-- | vcl/source/window/window2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 9c35022574f9..dfd27548f1d3 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1154,7 +1154,7 @@ bool Window::IsControlFont() const return (mpWindowImpl->mpControlFont != nullptr); } -Color Window::GetControlForeground() const +const Color& Window::GetControlForeground() const { return mpWindowImpl->maControlForeground; } @@ -1164,7 +1164,7 @@ bool Window::IsControlForeground() const return mpWindowImpl->mbControlForeground; } -Color Window::GetControlBackground() const +const Color& Window::GetControlBackground() const { return mpWindowImpl->maControlBackground; } @@ -2018,7 +2018,7 @@ void Window::remove_mnemonic_label(FixedText *pLabel) pLabel->set_mnemonic_widget(nullptr); } -std::vector<VclPtr<FixedText> > Window::list_mnemonic_labels() const +const std::vector<VclPtr<FixedText> >& Window::list_mnemonic_labels() const { return mpWindowImpl->m_aMnemonicLabels; } |