summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/taskpane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/taskpane.cxx')
-rw-r--r--sfx2/source/dialog/taskpane.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx
index 42d9c3a1ed94..54ea70e91ec2 100644
--- a/sfx2/source/dialog/taskpane.cxx
+++ b/sfx2/source/dialog/taskpane.cxx
@@ -178,7 +178,7 @@ namespace sfx2
const OUString sCommandName( aCommandName.makeStringAndClear() );
const Image aPanelImage( GetImage( i_rDocFrame, sCommandName, sal_False ) );
- return aPanelImage.GetXGraphic();
+ return aPanelImage;
}
// otherwise, delegate to the GraphicProvider