diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 09:30:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 09:31:11 +0100 |
commit | 68e18231b94f6db7999ff58f9b7edd9ae8164fb7 (patch) | |
tree | efdb59842b5e2df9cd6a6b586854c5966805f70b /sw/source | |
parent | 639571d52b1b7e4cf912803642ca245c5dd86839 (diff) |
tweak to get building universally
Change-Id: I5760dc1fccb7ad726663727b9404e014da519755
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/tox/ToxTextGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx index 10a3e2f99b85..1360f6db9256 100644 --- a/sw/source/core/tox/ToxTextGenerator.cxx +++ b/sw/source/core/tox/ToxTextGenerator.cxx @@ -311,7 +311,7 @@ void ToxTextGenerator::GenerateText(SwDoc* pDoc, const std::vector<SwTOXSortTabB /*static*/ boost::shared_ptr<SfxItemSet> ToxTextGenerator::CollectAttributesForTox(const SwTxtAttr& hint, SwAttrPool& pool) { - boost::shared_ptr<SfxItemSet> retval = boost::make_shared<SfxItemSet>(pool); + boost::shared_ptr<SfxItemSet> retval(new SfxItemSet(pool)); if (hint.Which() != RES_TXTATR_AUTOFMT) { return retval; } |