summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-08 11:24:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-11 23:05:38 +0200
commitd4f07d4c08724602d0a13045bec957e285d45c0d (patch)
treec3cd07e8a5780e03299cac24fadeec3a9ddc8cc8 /vcl/source/window
parent9dac3118ee80bea900cede71e4ef616bad165401 (diff)
replace createFromAscii with OUString literals in OConfigurationNode
Change-Id: I19017bc993f0adafdae32313e0e01e69e1bbe80b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167517 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/toolbox2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 37a0c4c75fe0..8460dcf680c1 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1684,7 +1684,7 @@ bool ToolBox::AlwaysLocked()
{
// feature enabled ?
bool bStatesEnabled = bool();
- css::uno::Any aValue = aNode.getNodeValue( "StatesEnabled" );
+ css::uno::Any aValue = aNode.getNodeValue( u"StatesEnabled"_ustr );
if( aValue >>= bStatesEnabled )
{
if( bStatesEnabled )
@@ -1695,7 +1695,7 @@ bool ToolBox::AlwaysLocked()
u"/org.openoffice.Office.UI.GlobalSettings/Toolbars/States"_ustr ); // note: case sensitive !
bool bLocked = bool();
- css::uno::Any aValue2 = aNode2.getNodeValue( "Locked" );
+ css::uno::Any aValue2 = aNode2.getNodeValue( u"Locked"_ustr );
if( aValue2 >>= bLocked )
nAlwaysLocked = bLocked ? 1 : 0;
}