[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Tue Jun 28 08:32:15 UTC 2016
svx/source/svdraw/svdmodel.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit db11f792018f6905733323a4979c6a5e697807ca
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jun 28 10:24:54 2016 +0200
loplugin:unreffun
Change-Id: I7a5a00e3a85cf0705d5e4e2fca2184e991f56b7a
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index f537e07..bc0af3a 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -1930,12 +1930,6 @@ void SdrModel::ReadUserDataSequenceValue(const css::beans::PropertyValue* /*pVal
// TODO: Read common model-level values
}
-template <typename T>
-inline void addPair(std::vector< std::pair< OUString, Any > >& aUserData, const OUString& name, const T val)
-{
- aUserData.push_back(std::pair< OUString, Any >(name, css::uno::makeAny(val)));
-}
-
void SdrModel::WriteUserDataSequence(css::uno::Sequence < css::beans::PropertyValue >& rValues, bool /*bBrowse*/)
{
std::vector< std::pair< OUString, Any > > aUserData;
More information about the Libreoffice-commits
mailing list