summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authornavin patidar <patidar@kacst.edu.sa>2013-03-23 09:49:46 +0300
committerAhmad Harthi <aalharthi@kacst.edu.sa>2013-03-23 07:08:30 +0000
commita56a162e66269bfe39ba76bacc51efe4cff314da (patch)
treea073d70a7944db334deb0e5b2824043a769d638b /sw
parent092bf2fb0052ca73855127dc03ff1ae3f9321506 (diff)
In writer’s RTL UI show author name and date at right side of comment window
Change-Id: Ie15482e9953d14927b4f918c43537100a8332689 Reviewed-on: https://gerrit.libreoffice.org/2923 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/SidebarWin.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx
index a848fb64a2c0..45f367d5e4dd 100644
--- a/sw/source/ui/docvw/SidebarWin.cxx
+++ b/sw/source/ui/docvw/SidebarWin.cxx
@@ -278,6 +278,7 @@ void SwSidebarWin::InitControls()
// window controls for author and date
mpMetadataAuthor = new Edit( this, 0 );
mpMetadataAuthor->SetAccessibleName( SW_RES( STR_ACCESS_ANNOTATION_AUTHOR_NAME ) );
+ mpMetadataAuthor->EnableRTL(Application::GetSettings().GetLayoutRTL());
mpMetadataAuthor->SetReadOnly();
mpMetadataAuthor->AlwaysDisableInput(true);
mpMetadataAuthor->SetCallHandlersOnInputDisabled(true);
@@ -296,6 +297,7 @@ void SwSidebarWin::InitControls()
mpMetadataDate = new Edit( this, 0 );
mpMetadataDate->SetAccessibleName( SW_RES( STR_ACCESS_ANNOTATION_DATE_NAME ) );
+ mpMetadataDate->EnableRTL(Application::GetSettings().GetLayoutRTL());
mpMetadataDate->SetReadOnly();
mpMetadataDate->AlwaysDisableInput(true);
mpMetadataDate->SetCallHandlersOnInputDisabled(true);