diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-03-15 22:19:52 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-03-18 06:26:39 +0100 |
commit | ea01c61fe374b1122a03568d72f166bb16fa7858 (patch) | |
tree | 8c1c475a7c572dda2b55dce433eb4f64c331aa93 /vcl | |
parent | da9c8289757657bf36963ffaea45ac5a2a821ac8 (diff) |
remove define for GraphicObject url and inline the string
Change-Id: I505f7c21f666d78955aace1776536d34a9e29ce3
Reviewed-on: https://gerrit.libreoffice.org/51391
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/graphic/GraphicObject.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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); } |