diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 674caf4b0bb0..3a2cbae0d596 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -63,7 +63,7 @@ static void NotebookbarAddonValues( if (rProp.Name == MERGE_NOTEBOOKBAR_IMAGEID) { rProp.Value >>= sImage; - aImage = framework::AddonsOptions().GetImageFromURL(sImage, isBigImage); + aImage = Image(framework::AddonsOptions().GetImageFromURL(sImage, isBigImage)); } } if(!aImage) @@ -74,7 +74,7 @@ static void NotebookbarAddonValues( if (rProp.Name == MERGE_NOTEBOOKBAR_URL) { rProp.Value >>= sImage; - aImage = framework::AddonsOptions().GetImageFromURL(sImage, isBigImage); + aImage = Image(framework::AddonsOptions().GetImageFromURL(sImage, isBigImage)); } } } |