diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 14:43:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 14:43:58 +0200 |
commit | ac4cfb4cf76d1cf1459d3cbf1c135aae2753f32d (patch) | |
tree | 908ec531d4a3e57312a8605322a455739427079f /sc | |
parent | 931c51f65b77285d912b4f3d4a5385a82fb28172 (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.cxx | 4 |
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 ); |