summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nielen <d.nielen@posteo.nl>2017-03-21 16:09:26 +0100
committerHenry Castro <hcastro@collabora.com>2017-05-02 19:35:45 -0400
commita9b96349dffe344aa98c2028507b658e8c30040c (patch)
tree11a05a46bff9a8f8709151d2ebdfc9a7a403a4e3
parentd24ee03618d183993605d8733cc3523104e3dc25 (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 dd451734be28..227f8f01e2a9 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.