diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-05-03 09:08:38 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-05-03 09:08:38 +0200 |
commit | 2005bc7b8b04f6eaa3d4636a3a1df1d6ff02f550 (patch) | |
tree | 4ce64ddfb3a4f8862f7ff6186eadb7f2962b2e97 /sfx2 | |
parent | cws tl78: merge with DEV300 m77 (diff) | |
download | core-2005bc7b8b04f6eaa3d4636a3a1df1d6ff02f550.tar.gz core-2005bc7b8b04f6eaa3d4636a3a1df1d6ff02f550.zip |
cws tl78: build issues after merging with DEV300_m77
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index aedd383b042a..c8cf7bd8c6c8 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -82,6 +82,7 @@ #include <comphelper/componentcontext.hxx> #include <comphelper/namedvaluecollection.hxx> #include <comphelper/configurationhelper.hxx> +#include <comphelper/docpasswordrequest.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/ucb/XContent.hpp> @@ -183,9 +184,6 @@ static sal_Bool AskPasswordToModify_Impl( const uno::Reference< task::XInteracti while ( !bResult && !bCancel ) { sal_Bool bMSType = !pFilter->IsOwnFormat(); - ::comphelper::DocPasswordRequestType nType = bMSType ? - ::comphelper::DocPasswordRequestType_MS : - ::comphelper::DocPasswordRequestType_STANDARD; ::rtl::Reference< ::comphelper::DocPasswordRequest > pPasswordRequest( new ::comphelper::DocPasswordRequest( |