ooo-build r14524 - in trunk: . patches/dev300
- From: kyoshida svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r14524 - in trunk: . patches/dev300
- Date: Tue, 18 Nov 2008 05:24:44 +0000 (UTC)
Author: kyoshida
Date: Tue Nov 18 05:24:44 2008
New Revision: 14524
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14524&view=rev
Log:
2008-11-18 Kohei Yoshida <kyoshida novell com>
* patches/dev300/document-password-change-sfx2.diff: flag the document
modified when the document password changes in the File - Document
Properties dialog.
Modified:
trunk/ChangeLog
trunk/patches/dev300/document-password-change-sfx2.diff
Modified: trunk/patches/dev300/document-password-change-sfx2.diff
==============================================================================
--- trunk/patches/dev300/document-password-change-sfx2.diff (original)
+++ trunk/patches/dev300/document-password-change-sfx2.diff Tue Nov 18 05:24:44 2008
@@ -21,7 +21,7 @@
protected:
SfxDocumentPage( Window* pParent, const SfxItemSet& );
diff --git sfx2/source/dialog/dinfdlg.cxx sfx2/source/dialog/dinfdlg.cxx
-index 075f9ee..b897c9c 100644
+index 075f9ee..811c068 100644
--- sfx2/source/dialog/dinfdlg.cxx
+++ sfx2/source/dialog/dinfdlg.cxx
@@ -66,6 +66,7 @@
@@ -51,7 +51,7 @@
// if the button text is too wide, then broaden it
const long nOffset = 12;
-@@ -878,6 +882,31 @@ IMPL_LINK( SfxDocumentPage, SignatureHdl, PushButton*, EMPTYARG )
+@@ -878,6 +882,32 @@ IMPL_LINK( SfxDocumentPage, SignatureHdl, PushButton*, EMPTYARG )
return 0;
}
@@ -75,6 +75,7 @@
+
+ String aNewPass = pDlg->GetPassword();
+ pMedSet->Put( SfxStringItem(SID_PASSWORD, aNewPass) );
++ pShell->SetModified(true);
+ }
+ while (false);
+ return 0;
@@ -83,7 +84,7 @@
void SfxDocumentPage::ImplUpdateSignatures()
{
SfxObjectShell* pDoc = SfxObjectShell::Current();
-@@ -913,6 +942,34 @@ void SfxDocumentPage::ImplUpdateSignatures()
+@@ -913,6 +943,34 @@ void SfxDocumentPage::ImplUpdateSignatures()
}
}
@@ -154,4 +155,3 @@
FixedLine FL_FILE_1
{
Pos = MAP_APPFONT ( 6 , 31 ) ;
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]