summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-10 08:48:25 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-10 11:18:46 +0100
commit52f920ebf7f27396720b140ad8ee1beab13303c7 (patch)
tree6e64e2f167548ebce21bdbcd8d96210363157ae2 /basctl/source/basicide/baside2.cxx
parent4b33e878a446b0bcdb1d5f882a05a256967eea54 (diff)
cid#1583747 COPY_INSTEAD_OF_MOVE
and cid#1583746 COPY_INSTEAD_OF_MOVE cid#1583745 COPY_INSTEAD_OF_MOVE cid#1583744 COPY_INSTEAD_OF_MOVE Change-Id: Ib63c469844925723645f01720f8cebc60388ae29 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161875 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'basctl/source/basicide/baside2.cxx')
-rw-r--r--basctl/source/basicide/baside2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 0f892d5683bf..8eebbdb44e8d 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -1433,9 +1433,9 @@ void ModulWindow::UpdateModule ()
MarkDocumentModified(m_aDocument);
}
-void ModulWindow::SetEditorColorScheme(OUString aColorScheme)
+void ModulWindow::SetEditorColorScheme(const OUString& rColorScheme)
{
- m_sWinColorScheme = aColorScheme;
+ m_sWinColorScheme = rColorScheme;
EditorWindow& rEditWindow = GetEditorWindow();
Wallpaper aBackgroundColor(GetLayout().GetSyntaxBackgroundColor());
rEditWindow.SetBackground(aBackgroundColor);
@@ -1553,10 +1553,10 @@ void ModulWindowLayout::OnFirstSize (tools::Long const nWidth, tools::Long const
// Applies the color scheme to the current window and updates color definitions;
// note that other ModulWindow instances are not affected by calling this method
-void ModulWindowLayout::ApplyColorSchemeToCurrentWindow(OUString aSchemeId)
+void ModulWindowLayout::ApplyColorSchemeToCurrentWindow(const OUString& rSchemeId)
{
// Apply new color scheme to the UI
- m_sColorSchemeId = aSchemeId;
+ m_sColorSchemeId = rSchemeId;
aSyntaxColors.ApplyColorScheme(m_sColorSchemeId, false);
}