diff options
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/shapes/shapeimporter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx index 1add73896181..918b910a235e 100644 --- a/slideshow/source/engine/shapes/shapeimporter.cxx +++ b/slideshow/source/engine/shapes/shapeimporter.cxx @@ -90,8 +90,7 @@ std::unique_ptr<GraphicObject> importShapeGraphic(uno::Reference<beans::XPropert // unique ID string found in URL, extract // to separate string - OUString const aUniqueId( - aURL.copy( nIndex, aURL.getLength() - nIndex ) ); + OUString const aUniqueId( aURL.copy( nIndex ) ); // TODO(T2): Creating a GraphicObject is not // thread safe (internally calls VCL, and has |