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

Chamal e12346 at ce.pdn.ac.lk
Tue Nov 15 09:10:09 UTC 2016


 sc/source/filter/oox/pagesettings.cxx |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 4eb2863e95fb823d205f1ce0da21f7187339e3ff
Author: Chamal <e12346 at ce.pdn.ac.lk>
Date:   Fri Oct 14 06:24:56 2016 +0530

    tdf#96099 Reduce no of typedefs used for trivial containers
    
    OStringSet replaced with std::set< OString >
    
    Change-Id: Ifad06cd77c5c4123b85171df866ac10a3bea4705
    Reviewed-on: https://gerrit.libreoffice.org/29803
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx
index b5bd39b..1cfe945 100644
--- a/sc/source/filter/oox/pagesettings.cxx
+++ b/sc/source/filter/oox/pagesettings.cxx
@@ -425,15 +425,14 @@ private:
 
 private:
     typedef ::std::vector< HFPortionInfo >  HFPortionInfoVec;
-    typedef ::std::set< OString >           OStringSet;
-
+ 
     const OUString      maPageNumberService;
     const OUString      maPageCountService;
     const OUString      maSheetNameService;
     const OUString      maFileNameService;
     const OUString      maDateTimeService;
-    const OStringSet    maBoldNames;            /// All names for bold font style in lowercase UTF-8.
-    const OStringSet    maItalicNames;          /// All names for italic font style in lowercase UTF-8.
+    const std::set< OString >    maBoldNames;            /// All names for bold font style in lowercase UTF-8.
+    const std::set< OString >    maItalicNames;          /// All names for italic font style in lowercase UTF-8.
     HFPortionInfoVec    maPortions;
     HFPortionId         meCurrPortion;          /// Identifier of current H/F portion.
     OUStringBuffer      maBuffer;               /// Text data to append to current text range.


More information about the Libreoffice-commits mailing list