summaryrefslogtreecommitdiff
path: root/extensions/source/scanner/scanunx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/scanner/scanunx.cxx')
-rw-r--r--extensions/source/scanner/scanunx.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx
index d6d7615d93cc..93ec06b3a531 100644
--- a/extensions/source/scanner/scanunx.cxx
+++ b/extensions/source/scanner/scanunx.cxx
@@ -256,8 +256,8 @@ Sequence< ScannerContext > ScannerManager::getAvailableScanners() throw()
if( Sane::IsSane() )
{
Sequence< ScannerContext > aRet(1);
- aRet.getArray()[0].ScannerName = OUString("SANE");
- aRet.getArray()[0].InternalData = 0;
+ aRet[0].ScannerName = "SANE";
+ aRet[0].InternalData = 0;
return aRet;
}