summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-09 08:41:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-09 09:50:03 +0200
commit77db82df17be6390d3187ef39067a5da0462aa96 (patch)
tree3608c2b094b615d32ef59834255de42ca06522d2 /cui
parent758b33f4d5eaa2e81afcb27b61847864a178a597 (diff)
Resolves: tdf#111416 missing draw/impress options
Change-Id: I2dc3627e754670b9fa4c799a6728bdb16b3dc983 Reviewed-on: https://gerrit.libreoffice.org/40910 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/treeopt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 867bf0d5b45c..6efd3ae3966a 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1589,7 +1589,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
const sal_uInt16 nCount = static_cast<sal_uInt16>(SAL_N_ELEMENTS(SID_SD_EDITOPTIONS_RES));
for ( sal_uInt16 i = 1; i < nCount; ++i )
{
- nPageId = (sal_uInt16)SID_SD_EDITOPTIONS_RES[0].second;
+ nPageId = (sal_uInt16)SID_SD_EDITOPTIONS_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
@@ -1611,7 +1611,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
const sal_uInt16 nCount = static_cast<sal_uInt16>(SAL_N_ELEMENTS(SID_SD_GRAPHIC_OPTIONS_RES));
for ( sal_uInt16 i = 1; i < nCount; ++i )
{
- nPageId = (sal_uInt16)SID_SD_GRAPHIC_OPTIONS_RES[0].second;
+ nPageId = (sal_uInt16)SID_SD_GRAPHIC_OPTIONS_RES[i].second;
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
@@ -1633,7 +1633,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
nGroup = AddGroup(CuiResId(SID_SM_EDITOPTIONS_RES[0].first), pSmMod, pSmMod, SID_SM_EDITOPTIONS );
for ( sal_uInt32 i = 1; i < SAL_N_ELEMENTS(SID_SM_EDITOPTIONS_RES); ++i )
{
- nPageId = (sal_uInt16)SID_SM_EDITOPTIONS_RES[0].second;
+ nPageId = (sal_uInt16)SID_SM_EDITOPTIONS_RES[i].second;
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
AddTabPage( nPageId, CuiResId(SID_SM_EDITOPTIONS_RES[i].first), nGroup );
}