vcl/source/graphic/GraphicObject.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit ea01c61fe374b1122a03568d72f166bb16fa7858 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Thu Mar 15 22:19:52 2018 +0900 remove define for GraphicObject url and inline the string Change-Id: I505f7c21f666d78955aace1776536d34a9e29ce3 Reviewed-on: https://gerrit.libreoffice.org/51391 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx index b67ad659e8e1..d302d6952877 100644 --- a/vcl/source/graphic/GraphicObject.cxx +++ b/vcl/source/graphic/GraphicObject.cxx @@ -1071,11 +1071,9 @@ IMPL_LINK_NOARG(GraphicObject, ImplAutoSwapOutHdl, Timer *, void) mxSwapOutTimer->Start(); } -#define UNO_NAME_GRAPHOBJ_URLPREFIX "vnd.sun.star.GraphicObject:" - bool GraphicObject::isGraphicObjectUniqueIdURL(OUString const & rURL) { - const OUString aPrefix(UNO_NAME_GRAPHOBJ_URLPREFIX); + const OUString aPrefix("vnd.sun.star.GraphicObject:"); return rURL.startsWith(aPrefix); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits