summaryrefslogtreecommitdiff
path: root/sc/inc/viewopti.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-09 12:00:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-09 13:14:45 +0100
commitbf64b723878d793980a025e624119bc5c39268d6 (patch)
tree60e717b8dd47b58c106efa6d6aabf21aec0efed5 /sc/inc/viewopti.hxx
parentd2313a5d052373f86174f9de4e24153024f6a8a2 (diff)
use unique_ptr in ScViewOptions::CreateGridItem
Change-Id: I350e606b14a5a7f269fecca1d176f40c4343c344 Reviewed-on: https://gerrit.libreoffice.org/66005 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/viewopti.hxx')
-rw-r--r--sc/inc/viewopti.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index a0660acdf4b2..e768b1ba4a8a 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -94,7 +94,7 @@ public:
const ScGridOptions& GetGridOptions() const { return aGridOpt; }
void SetGridOptions( const ScGridOptions& rNew ) { aGridOpt = rNew; }
- SvxGridItem* CreateGridItem() const;
+ std::unique_ptr<SvxGridItem> CreateGridItem() const;
ScViewOptions& operator= ( const ScViewOptions& rCpy );
bool operator== ( const ScViewOptions& rOpt ) const;