summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 14:43:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 14:43:58 +0200
commitac4cfb4cf76d1cf1459d3cbf1c135aae2753f32d (patch)
tree908ec531d4a3e57312a8605322a455739427079f /sc
parent931c51f65b77285d912b4f3d4a5385a82fb28172 (diff)
Avoid some confusing uses of "document name" instead of "document URL"
Change-Id: I88258d3aaa2a18315a5a38ea01e77bdfd4bc1a84
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx
index 121491ad0520..7f863843b375 100644
--- a/sc/source/filter/ftools/fapihelper.cxx
+++ b/sc/source/filter/ftools/fapihelper.cxx
@@ -114,11 +114,9 @@ uno::Sequence< beans::NamedValue > ScfApiHelper::QueryEncryptionDataForMedium( S
if ( pPasswordItem )
aPassword = pPasswordItem->GetValue();
- OUString aDocName = rMedium.GetOrigURL();
-
bool bIsDefaultPassword = false;
aEncryptionData = ::comphelper::DocPasswordHelper::requestAndVerifyDocPassword(
- rVerifier, aEncryptionData, aPassword, rMedium.GetInteractionHandler(), aDocName,
+ rVerifier, aEncryptionData, aPassword, rMedium.GetInteractionHandler(), rMedium.GetOrigURL(),
::comphelper::DocPasswordRequestType_MS, pDefaultPasswords, &bIsDefaultPassword );
rMedium.GetItemSet()->ClearItem( SID_PASSWORD );