summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-30 00:33:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-30 00:33:14 +0100
commit3c1345bdde10a3bbf179530576053578c810b7f6 (patch)
treef30b16f697569f6e5cb473a56fe45e2689ad2b92 /cui
parentsome more build failures (diff)
downloadcore-3c1345bdde10a3bbf179530576053578c810b7f6.tar.gz
core-3c1345bdde10a3bbf179530576053578c810b7f6.zip
try a stab at remote fix for no matching function for call to make_shared
Change-Id: I029df0a94158acc5ca9705f53070d39d297b7b17
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgenrl.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index 366ddda3b553..0284902c44d3 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -45,6 +45,7 @@
#include <svx/dlgutil.hxx>
#include <svx/svxids.hrc> // SID_FIELD_GRABFOCUS
+#include <boost/ref.hpp>
#include <boost/make_shared.hpp>
namespace
@@ -267,7 +268,7 @@ void SvxGeneralTabPage::CreateControls ()
continue;
// creating row
vRows.push_back(boost::make_shared<Row>(
- *this, vRowInfo[iRow].nTextId, eRow
+ boost::ref(*this), vRowInfo[iRow].nTextId, eRow
));
Row& rRow = *vRows.back();
// fields in the row
@@ -281,7 +282,7 @@ void SvxGeneralTabPage::CreateControls ()
{
// creating edit field
vFields.push_back(boost::make_shared<Field>(
- *this, vFieldInfo[iField].nEditId, iField
+ boost::ref(*this), vFieldInfo[iField].nEditId, iField
));
// "short name" field?
if (vFieldInfo[iField].nEditId == ED_SHORTNAME)