summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/dialog.hrc1
-rw-r--r--sfx2/source/dialog/versdlg.cxx1
-rw-r--r--sfx2/source/dialog/versdlg.src4
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" ;
+};