summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nielen <d.nielen@posteo.nl>2017-03-21 16:09:26 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-22 11:32:42 +0000
commit021c51ad3ea8f408391670a173887b4c689bfa65 (patch)
tree01dbc5c80939e0d798b95e0b6a73e712cafcbbc0
parentb49b79ae27911f88032efe97b46ee2fc3b747d30 (diff)
tdf#96099 Reduce no of typedefs used for trivial containers
Change-Id: Idf7bd4c80f9dc1fb9f93859e1e1106dd620d2311 Reviewed-on: https://gerrit.libreoffice.org/35511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sc/source/core/data/postit.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx
index 2c9646682a52..2f1763266ce1 100644
--- a/sc/source/core/data/postit.cxx
+++ b/sc/source/core/data/postit.cxx
@@ -765,11 +765,8 @@ void ScCaptionPtr::clear()
struct ScCaptionInitData
{
- typedef ::std::unique_ptr< SfxItemSet > SfxItemSetPtr;
- typedef ::std::unique_ptr< OutlinerParaObject > OutlinerParaObjPtr;
-
- SfxItemSetPtr mxItemSet; /// Caption object formatting.
- OutlinerParaObjPtr mxOutlinerObj; /// Text object with all text portion formatting.
+ std::unique_ptr< SfxItemSet > mxItemSet; /// Caption object formatting.
+ std::unique_ptr< OutlinerParaObject > mxOutlinerObj; /// Text object with all text portion formatting.
OUString maSimpleText; /// Simple text without formatting.
Point maCaptionOffset; /// Caption position relative to cell corner.
Size maCaptionSize; /// Size of the caption object.