[Libreoffice-commits] .: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Aug 29 16:35:36 PDT 2012
cui/source/options/optgenrl.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 3c1345bdde10a3bbf179530576053578c810b7f6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Aug 30 00:33:14 2012 +0100
try a stab at remote fix for no matching function for call to make_shared
Change-Id: I029df0a94158acc5ca9705f53070d39d297b7b17
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index 366ddda..0284902 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)
More information about the Libreoffice-commits
mailing list