summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-rw-r--r--sc/source/ui/vba/vbaformatconditions.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbaformatconditions.cxx b/sc/source/ui/vba/vbaformatconditions.cxx
index 2f6506d4c5f3..9b0a6d7cfa13 100644
--- a/sc/source/ui/vba/vbaformatconditions.cxx
+++ b/sc/source/ui/vba/vbaformatconditions.cxx
@@ -33,8 +33,6 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-typedef std::vector< beans::PropertyValue > VecPropValues;
-
static const char OPERATOR[] = "Operator";
static const char FORMULA1[] = "Formula1";
static const char FORMULA2[] = "Formula2";
@@ -168,7 +166,7 @@ ScVbaFormatConditions::Add( ::sal_Int32 _nType, const uno::Any& _aOperator, cons
sStyleName = xStyle->getName();
}
- VecPropValues aPropertyValueVector;
+ std::vector< beans::PropertyValue > aPropertyValueVector;
sheet::ConditionOperator aType = ScVbaFormatCondition::retrieveAPIType(_nType, uno::Reference< sheet::XSheetCondition >() );
uno::Any aValue;