summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-25 13:30:29 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-25 15:22:52 +0000
commitd4c97a522e269a8875a8dadea1f6d728e91d77f7 (patch)
tree3e88f7f6d46541b02c99376d67dd50468a7c4cd9 /sw/source/ui
parentab5c85f1307ceb3e0ac97b601e01d74ffd5778b7 (diff)
String to OUString
Change-Id: I4e35c8876d9bfbddb9da6c96cd605905343df1e7 Reviewed-on: https://gerrit.libreoffice.org/5626 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/utlui/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx
index 5bc51f2583c7..1a471c17e41e 100644
--- a/sw/source/ui/utlui/content.cxx
+++ b/sw/source/ui/utlui/content.cxx
@@ -1051,7 +1051,7 @@ PopupMenu* SwContentTree::CreateContextMenu( void )
pSubPop4->InsertItem(403, aContextStrings[ST_EDIT_ENTRY - ST_CONTEXT_FIRST]);
pSubPop4->InsertItem(404, sUnprotTbl);
sal_Bool bFull = sal_False;
- String sTblName = ((SwContent*)pEntry->GetUserData())->GetName();
+ OUString sTblName = ((SwContent*)pEntry->GetUserData())->GetName();
sal_Bool bProt =pActiveShell->HasTblAnyProtection( &sTblName, &bFull );
pSubPop4->EnableItem(403, !bFull );
pSubPop4->EnableItem(404, bProt );