summaryrefslogtreecommitdiff
path: root/include/filter/msfilter/msdffimp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-07 10:50:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-26 10:15:18 +0100
commit91db89b73c4059bc2af86d91752b89d2497034c7 (patch)
tree70a4eb76497cdc9607a708cb698c5f40d25688cb /include/filter/msfilter/msdffimp.hxx
parent6ed9590303b416c958d8d4ae98386f517a332f7f (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/msfilter/msdffimp.hxx')
-rw-r--r--include/filter/msfilter/msdffimp.hxx9
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 );
};