summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-01-08 12:52:04 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-01-14 14:45:01 +0100
commit640a7c791b4665c16be7ad8f5f7dda30dcc88eda (patch)
tree31f6dfe2de9a1620d8e1e99f3e899628930db1a0 /svx
parent61618210f87f57ae21cc39530c9f777d76002a12 (diff)
xmloff: XmlImageStyle class is pointless as the methods are static
When used, we instantiate the XmlImageStyle class but all its methods are static, so instantioation is completely pointless. So change XmlImageStyle to a namespace and static method to functions. Change-Id: I6385bd7eeb08c627cb8e48b79a6820372cf94a65 Reviewed-on: https://gerrit.libreoffice.org/47851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xml/xmlxtimp.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 207912fca311..14b4156dd14b 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -275,7 +275,6 @@ void SvxXMLTableImportContext::importBitmap( const uno::Reference< XAttributeLis
{
try
{
- XMLImageStyle aImageStyle;
XMLImageStyle::importXML( xAttrList, rAny, rName, GetImport() );
}
catch (const Exception&)