summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r--cui/source/customize/cfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 29f34e3f17a0..5418c4a9de7e 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -3090,7 +3090,6 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL )
aMediaProps[0].Name = "URL";
uno::Reference< graphic::XGraphic > xGraphic;
- css::awt::Size aSize;
aMediaProps[0].Value <<= aURL;
try
{
@@ -3103,6 +3102,7 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL )
if ( xGraphic.is() )
{
bool bOK = true;
+ css::awt::Size aSize;
a >>= aSize;
if ( 0 == aSize.Width || 0 == aSize.Height )