summaryrefslogtreecommitdiff
path: root/cui/source/options/treeopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/treeopt.cxx')
-rw-r--r--cui/source/options/treeopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 23979b4235ff..1420c3ae2811 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -327,7 +327,7 @@ SfxTabPage* CreateGeneralTabPage( sal_uInt16 nId, Window* pParent, const SfxItem
#endif
}
- SfxTabPage* pRet = fnCreate ? (*fnCreate)( pParent, rSet ) : NULL;
+ SfxTabPage* pRet = fnCreate ? (*fnCreate)( pParent, &rSet ) : NULL;
return pRet;
}