summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-14 08:41:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-14 11:06:32 +0000
commitf7965b0bcd559451c471a26bf5fd6f542887d95e (patch)
treef6b1a30faeba1e6f16393dd4ea34bc75293a5655 /xmloff
parent03637a75c1bebf8b35b520139b9ddfa3238ee53f (diff)
remove some unused typedefs, and inline some use-once
Change-Id: I5ada1cff98c0a3e065d126444f8052f444323743 Reviewed-on: https://gerrit.libreoffice.org/23234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/prstylei.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index f80f4e01f124..c5275cb132ae 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -248,8 +248,6 @@ Reference < XStyle > XMLPropStyleContext::Create()
return xNewStyle;
}
-typedef ::std::set < OUString > PropertyNameSet;
-
void XMLPropStyleContext::CreateAndInsert( bool bOverwrite )
{
SvXMLStylesContext* pSvXMLStylesContext = static_cast< SvXMLStylesContext* >(&mxStyles);
@@ -391,7 +389,7 @@ void XMLPropStyleContext::CreateAndInsert( bool bOverwrite )
}
else
{
- PropertyNameSet aNameSet;
+ std::set < OUString > aNameSet;
sal_Int32 nCount = xPrMap->GetEntryCount();
sal_Int32 i;
for( i = 0; i < nCount; i++ )