summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/viewopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/config/viewopt.cxx')
-rw-r--r--sw/source/ui/config/viewopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/config/viewopt.cxx b/sw/source/ui/config/viewopt.cxx
index b0003d3feee2..a365e47091e5 100644
--- a/sw/source/ui/config/viewopt.cxx
+++ b/sw/source/ui/config/viewopt.cxx
@@ -128,7 +128,7 @@ void SwViewOption::DrawRectPrinter( OutputDevice *pOut,
sal_uInt16 SwViewOption::GetPostItsWidth( const OutputDevice *pOut ) const
{
OSL_ENSURE( pOut, "no Outdev" );
- return sal_uInt16(pOut->GetTextWidth( rtl::OUString(aPostItStr )));
+ return sal_uInt16(pOut->GetTextWidth( OUString(aPostItStr )));
}
void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, sal_Bool bIsScript ) const