summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vprint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/vprint.cxx')
-rw-r--r--sw/source/core/view/vprint.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx
index b75bed152bfd..de212163967b 100644
--- a/sw/source/core/view/vprint.cxx
+++ b/sw/source/core/view/vprint.cxx
@@ -92,7 +92,7 @@ SwQueuedPaint *SwPaintQueue::pQueue = 0;
// saves some settings from the draw view
class SwDrawViewSave
{
- String sLayerNm;
+ OUString sLayerNm;
SdrView* pDV;
sal_Bool bPrintControls;
public:
@@ -586,7 +586,7 @@ SwDrawViewSave::SwDrawViewSave( SdrView* pSdrView )
{
if ( pDV )
{
- sLayerNm.AssignAscii( RTL_CONSTASCII_STRINGPARAM("Controls" ) );
+ sLayerNm = "Controls";
bPrintControls = pDV->IsLayerPrintable( sLayerNm );
}
}
@@ -612,8 +612,8 @@ void ViewShell::PrepareForPrint( const SwPrintData &rOptions )
if ( HasDrawView() )
{
SdrView *pDrawView = GetDrawView();
- String sLayerNm;
- sLayerNm.AssignAscii(RTL_CONSTASCII_STRINGPARAM("Controls" ));
+ OUString sLayerNm;
+ sLayerNm = "Controls";
// OD 09.01.2003 #i6467# - consider, if view shell belongs to page preview
if ( !IsPreView() )
{