summaryrefslogtreecommitdiff
path: root/cui/source/inc/treeopt.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 16:48:15 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commit49ea2258d482950ad3af16f9c8ac4fef7f192fc0 (patch)
tree4910b89f264f47c378fa7540705ca84f50d91919 /cui/source/inc/treeopt.hxx
parente0b2e6e3f767240016133dd2d55e0bfb9192ca39 (diff)
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'cui/source/inc/treeopt.hxx')
-rw-r--r--cui/source/inc/treeopt.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx
index 86f7af92fbec..63ffc2c71b16 100644
--- a/cui/source/inc/treeopt.hxx
+++ b/cui/source/inc/treeopt.hxx
@@ -87,11 +87,11 @@ typedef ::std::vector< VectorOfLeaves > VectorOfGroupedLeaves;
struct OptionsNode
{
- OUString m_sId;
- OUString m_sLabel;
- OUString m_sPageURL;
+ OUString m_sId;
+ OUString m_sLabel;
+ OUString m_sPageURL;
bool m_bAllModules;
- OUString m_sGroupId;
+ OUString m_sGroupId;
sal_Int32 m_nGroupIndex;
VectorOfLeaves m_aLeaves;
VectorOfGroupedLeaves m_aGroupedLeaves;
@@ -111,7 +111,7 @@ struct OptionsNode
~OptionsNode()
{
- for ( sal_uInt32 i = 0; i < m_aLeaves.size(); ++i )
+ for ( size_t i = 0; i < m_aLeaves.size(); ++i )
delete m_aLeaves[i];
m_aLeaves.clear();
m_aGroupedLeaves.clear();
@@ -122,9 +122,9 @@ typedef ::std::vector< OptionsNode* > VectorOfNodes;
struct LastPageSaver
{
- sal_uInt16 m_nLastPageId;
- OUString m_sLastPageURL_Tools;
- OUString m_sLastPageURL_ExtMgr;
+ sal_uInt16 m_nLastPageId;
+ OUString m_sLastPageURL_Tools;
+ OUString m_sLastPageURL_ExtMgr;
LastPageSaver() : m_nLastPageId( USHRT_MAX ) {}
};