[Libreoffice-commits] core.git: sc/source

Dennis Nielen d.nielen at posteo.nl
Wed Mar 22 11:33:05 UTC 2017


 sc/source/core/data/postit.cxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 021c51ad3ea8f408391670a173887b4c689bfa65
Author: Dennis Nielen <d.nielen at posteo.nl>
Date:   Tue Mar 21 16:09:26 2017 +0100

    tdf#96099 Reduce no of typedefs used for trivial containers
    
    Change-Id: Idf7bd4c80f9dc1fb9f93859e1e1106dd620d2311
    Reviewed-on: https://gerrit.libreoffice.org/35511
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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.


More information about the Libreoffice-commits mailing list