summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-10-30 12:34:25 +0200
committerTor Lillqvist <tml@collabora.com>2017-10-30 16:38:16 +0200
commit4913a117f8be045b3b1e2f2ef09d7f6a85ff076b (patch)
tree7f4211f2d8ef9d5bb5c8468e99a2ee4aa184e065 /sfx2
parenta92c62b7d6c57de6df65c35f5052d6c8e9c3e89a (diff)
'r' means C++ reference, but this mormal local OUString variable is not that
Change-Id: I56d21c3dc09f972a415bbd74dc635b231373d9f3
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/childwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 8ce0dda592e4..37391b4c3dee 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -286,12 +286,12 @@ void SfxChildWindow::SaveStatus(const SfxChildWinInfo& rInfo)
{
sal_uInt16 nID = GetType();
- OUString rInfoVisible = rInfo.bVisible ? OUString("V") : OUString("H");
+ OUString aInfoVisible = rInfo.bVisible ? OUString("V") : OUString("H");
OUString aWinData = "V"
+ OUString::number(static_cast<sal_Int32>(nVersion))
+ ","
- + rInfoVisible
+ + aInfoVisible
+ ","
+ OUString::number(static_cast<sal_Int32>(rInfo.nFlags));