Kaydet (Commit) ea01c61f authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Tomaž Vajngerl

remove define for GraphicObject url and inline the string

Change-Id: I505f7c21f666d78955aace1776536d34a9e29ce3
Reviewed-on: https://gerrit.libreoffice.org/51391Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst da9c8289
...@@ -1071,11 +1071,9 @@ IMPL_LINK_NOARG(GraphicObject, ImplAutoSwapOutHdl, Timer *, void) ...@@ -1071,11 +1071,9 @@ IMPL_LINK_NOARG(GraphicObject, ImplAutoSwapOutHdl, Timer *, void)
mxSwapOutTimer->Start(); mxSwapOutTimer->Start();
} }
#define UNO_NAME_GRAPHOBJ_URLPREFIX "vnd.sun.star.GraphicObject:"
bool GraphicObject::isGraphicObjectUniqueIdURL(OUString const & rURL) bool GraphicObject::isGraphicObjectUniqueIdURL(OUString const & rURL)
{ {
const OUString aPrefix(UNO_NAME_GRAPHOBJ_URLPREFIX); const OUString aPrefix("vnd.sun.star.GraphicObject:");
return rURL.startsWith(aPrefix); return rURL.startsWith(aPrefix);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment