diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-07 10:50:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-26 10:15:18 +0100 |
commit | 91db89b73c4059bc2af86d91752b89d2497034c7 (patch) | |
tree | 70a4eb76497cdc9607a708cb698c5f40d25688cb /include/filter | |
parent | 6ed9590303b416c958d8d4ae98386f517a332f7f (diff) |
loplugin:useuniqueptr in SvxMSDffSolverContainer
Change-Id: Ied7b60ac59cf1c869232a96e1b2ccb4e1b5cbf53
Reviewed-on: https://gerrit.libreoffice.org/49945
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 447ea7226400..e79991a052d7 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -91,6 +91,10 @@ public: explicit DffPropertyReader( const SvxMSDffManager& rManager ); ~DffPropertyReader(); + + DffPropertyReader& operator=( DffPropertyReader const & ) = delete; // MSVC2015 workaround + DffPropertyReader( DffPropertyReader const & ) = delete; // MSVC2015 workaround + static sal_Int32 Fix16ToAngle( sal_Int32 nAngle ); #ifdef DBG_CUSTOMSHAPE @@ -174,11 +178,14 @@ struct SvxMSDffConnectorRule struct MSFILTER_DLLPUBLIC SvxMSDffSolverContainer { - ::std::vector< SvxMSDffConnectorRule* > aCList; + ::std::vector< std::unique_ptr<SvxMSDffConnectorRule> > aCList; SvxMSDffSolverContainer(); ~SvxMSDffSolverContainer(); + SvxMSDffSolverContainer& operator=( SvxMSDffSolverContainer const & ) = delete; // MSVC2015 workaround + SvxMSDffSolverContainer( SvxMSDffSolverContainer const & ) = delete; // MSVC2015 workaround + MSFILTER_DLLPUBLIC friend SvStream& ReadSvxMSDffSolverContainer( SvStream& rIn, SvxMSDffSolverContainer& rAtom ); }; |