summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui/tmpdlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:02:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:02:22 +0100
commita5eddfbf45277eea21dd2271b36e9668313eadf3 (patch)
tree21ed6f32d767656ad1c577fd7cc948f5ca22f0f3 /sw/source/ui/fmtui/tmpdlg.cxx
parent87e3d60776db4e2ff1ba0040b04a0fa348a46ffa (diff)
More loplugin:cstylecast: sw
Change-Id: I75f75b53e58221a3bd0a6eb837483e7ebae3a02b
Diffstat (limited to 'sw/source/ui/fmtui/tmpdlg.cxx')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index f272c10db37c..c4dd10f50cc3 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -74,9 +74,9 @@ SwTemplateDlg::SwTemplateDlg(vcl::Window* pParent,
SwWrtShell* pActShell,
bool bNew)
: SfxStyleDialog(pParent,
- "TemplateDialog" + OUString::number((sal_uInt16)nRegion),
+ "TemplateDialog" + OUString::number(static_cast<sal_uInt16>(nRegion)),
"modules/swriter/ui/templatedialog" +
- OUString::number((sal_uInt16)nRegion) + ".ui",
+ OUString::number(static_cast<sal_uInt16>(nRegion)) + ".ui",
rBase)
, nType(nRegion)
, pWrtShell(pActShell)