diff options
author | Andras Timar <atimar@suse.com> | 2012-07-06 17:52:34 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-07-06 17:52:34 +0200 |
commit | c24e9feaba790cef148b678137dec911eda08280 (patch) | |
tree | a824351bab586191683cb1d61f41f5bf4d98260e | |
parent | d50cbfe13f416eaab16159cb91038005800e2aa5 (diff) |
change dialog caption in view mode
Change-Id: I9dac5dd42b485265110c91e3472206517d7b8e1c
-rw-r--r-- | sfx2/source/dialog/dialog.hrc | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/versdlg.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/versdlg.src | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dialog.hrc b/sfx2/source/dialog/dialog.hrc index bc8332ca5014..22f876b801bf 100644 --- a/sfx2/source/dialog/dialog.hrc +++ b/sfx2/source/dialog/dialog.hrc @@ -55,6 +55,7 @@ #define DLG_VERSIONS ( RC_DIALOG_BEGIN + 69 ) #define DLG_COMMENTS ( RC_DIALOG_BEGIN + 70 ) +#define STR_VIEWVERSIONCOMMENT ( RC_DIALOG_BEGIN + 71 ) #define MSG_ERROR_WRONG_CONFIRM ( RC_DIALOG_BEGIN + 76 ) diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx index 9a4fa8eaafe9..fd84899e8ecb 100644 --- a/sfx2/source/dialog/versdlg.cxx +++ b/sfx2/source/dialog/versdlg.cxx @@ -475,6 +475,7 @@ SfxViewVersionDialog_Impl::SfxViewVersionDialog_Impl ( Window *pParent, SfxVersi aOKButton.Hide(); aCancelButton.Hide(); aEdit.SetReadOnly( sal_True ); + SetText( SfxResId( STR_VIEWVERSIONCOMMENT ) ); } else { diff --git a/sfx2/source/dialog/versdlg.src b/sfx2/source/dialog/versdlg.src index ffe67d64636f..1c50b4f61561 100644 --- a/sfx2/source/dialog/versdlg.src +++ b/sfx2/source/dialog/versdlg.src @@ -185,3 +185,7 @@ String DLG_COMMENTS { Text [ en-US ] = "Version comment" ; }; +String STR_VIEWVERSIONCOMMENT +{ + Text [ en-US ] = "View Version Comment" ; +}; |