summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2017-11-17 09:56:00 +0100
committerBartosz Kosiorek <gang65@poczta.onet.pl>2017-11-17 16:38:11 +0100
commitc1c868003e129ff286ccd787e22f1a64a75de58a (patch)
tree6b357112b1156e87aaecacebd4b6468d039848fc
parentf53b3b547b04dc112076d8323b5b24ae178d6260 (diff)
tdf#111486 Use buildin methods for displaying matrix
Change-Id: I0f40f7178be126229c8963b56e6a15313acc19a7 Reviewed-on: https://gerrit.libreoffice.org/44868 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
-rw-r--r--drawinglayer/source/tools/emfpbrush.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/drawinglayer/source/tools/emfpbrush.cxx b/drawinglayer/source/tools/emfpbrush.cxx
index 4d743d10b684..68ec151a6fe8 100644
--- a/drawinglayer/source/tools/emfpbrush.cxx
+++ b/drawinglayer/source/tools/emfpbrush.cxx
@@ -210,14 +210,9 @@ namespace emfplushelper
if (additionalFlags & 0x02)
{
- SAL_INFO("drawinglayer", "EMF+\tuse transformation");
EmfPlusHelperData::readXForm(s, brush_transformation);
hasTransformation = true;
- SAL_INFO("drawinglayer",
- "EMF+\tm11: " << brush_transformation.get(0,0) << " m12: " << brush_transformation.get(1,0) <<
- "\nEMF+\tm21: " << brush_transformation.get(0,1) << " m22: " << brush_transformation.get(1,1) <<
- "\nEMF+\tdx: " << brush_transformation.get(0,2) << " dy: " << brush_transformation.get(1,2));
-
+ SAL_INFO("drawinglayer", "EMF+\tuse brush transformation: " << brush_transformation);
}
if (additionalFlags & 0x08)
@@ -296,13 +291,9 @@ namespace emfplushelper
if (additionalFlags & 0x02)
{
- SAL_INFO("drawinglayer", "EMF+\tuse transformation");
EmfPlusHelperData::readXForm(s, brush_transformation);
hasTransformation = true;
- SAL_INFO("drawinglayer",
- "EMF+\tm11: " << brush_transformation.get(0,0) << " m12: " << brush_transformation.get(1,0) <<
- "\nEMF+\tm21: " << brush_transformation.get(0,1) << " m22: " << brush_transformation.get(1,1) <<
- "\nEMF+\tdx: " << brush_transformation.get(0,2) << " dy: " << brush_transformation.get(1,2));
+ SAL_INFO("drawinglayer", "EMF+\tuse brush transformation: " << brush_transformation);
}
if (additionalFlags & 0x08)