svtools/source/filter/DocumentToGraphicRenderer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 76b116e5076010f49e177d9d4dc0a39f23bc3d26 Author: Eike Rathke <er...@redhat.com> Date: Tue Sep 19 19:11:49 2017 +0200 oops.. Change-Id: I78c5bff1cc7503de066b151658f01fdc5d4b303b Reviewed-on: https://gerrit.libreoffice.org/42490 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/svtools/source/filter/DocumentToGraphicRenderer.cxx b/svtools/source/filter/DocumentToGraphicRenderer.cxx index 8cf4e0e53a77..8051febbb763 100644 --- a/svtools/source/filter/DocumentToGraphicRenderer.cxx +++ b/svtools/source/filter/DocumentToGraphicRenderer.cxx @@ -83,7 +83,7 @@ uno::Any DocumentToGraphicRenderer::getSelection() const { uno::Any aSelection; if (hasSelection()) - aSelection <<= maSelection; + aSelection = maSelection; else aSelection <<= mxDocument; // default: render whole document return aSelection; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits