diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 11:30:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 14:12:07 +0100 |
commit | ddc280920282ff3e2801e9a79f9dfa8a6c6f5699 (patch) | |
tree | 4b477c76374f2f36659ba674c2e5d6796629d45b /sw/source/uibase/app/swmodul1.cxx | |
parent | 63e7b7afa75252298606c84e8ec82adaee5fa28a (diff) |
boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
Diffstat (limited to 'sw/source/uibase/app/swmodul1.cxx')
-rw-r--r-- | sw/source/uibase/app/swmodul1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/swmodul1.cxx b/sw/source/uibase/app/swmodul1.cxx index 945c181bdc41..3bfdfa30ba26 100644 --- a/sw/source/uibase/app/swmodul1.cxx +++ b/sw/source/uibase/app/swmodul1.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <boost/scoped_ptr.hpp> +#include <memory> #include <hintids.hxx> #include <sfx2/request.hxx> @@ -182,7 +182,7 @@ void SwModule::ApplyUsrPref(const SwViewOption &rUsrPref, SwView* pActView, bReadonly = pDocSh->IsReadOnly(); else //Use existing option if DocShell missing bReadonly = pSh->GetViewOptions()->IsReadonly(); - boost::scoped_ptr<SwViewOption> xViewOpt; + std::unique_ptr<SwViewOption> xViewOpt; if (!bViewOnly) xViewOpt.reset(new SwViewOption(*pPref)); else |