summaryrefslogtreecommitdiff
path: root/framework/source/helper/oframes.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 16:03:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-25 17:19:22 +0200
commitd116894b26f538793a0d5dc5847efd2fb53e7acb (patch)
tree5d99d51c14bccc6a08d646b32246814c8b1bd61d /framework/source/helper/oframes.cxx
parent3361e28f944d9f752f0e0df91968559f1ae55f72 (diff)
loplugin:oncevar in formula..framework
Change-Id: I96d6af49c1994ebd7d6dcc41469127e3151b4350 Reviewed-on: https://gerrit.libreoffice.org/39186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/helper/oframes.cxx')
-rw-r--r--framework/source/helper/oframes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/oframes.cxx b/framework/source/helper/oframes.cxx
index 90f324c5240d..8a0ac74218d2 100644
--- a/framework/source/helper/oframes.cxx
+++ b/framework/source/helper/oframes.cxx
@@ -180,7 +180,7 @@ Sequence< css::uno::Reference< XFrame > > SAL_CALL OFrames::queryFrames( sal_Int
{
// Don't search for parents, siblings and self at children!
// These things are supported by this instance himself.
- sal_Int32 nChildSearchFlags = FrameSearchFlag::SELF | FrameSearchFlag::CHILDREN;
+ sal_Int32 const nChildSearchFlags = FrameSearchFlag::SELF | FrameSearchFlag::CHILDREN;
// Step over all items of container and ask children for frames.
sal_uInt32 nCount = m_pFrameContainer->getCount();
for ( sal_uInt32 nIndex=0; nIndex<nCount; ++nIndex )