summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/unoidl/unopage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/unopage.cxx')
-rw-r--r--sd/source/ui/unoidl/unopage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 589e45bf3761..9d745a1d3292 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -2297,13 +2297,13 @@ void SAL_CALL SdDrawPage::setName( const OUString& rName )
}
if( nPageNumber == ( ( GetPage()->GetPageNum() - 1 ) >> 1 ) + 1 )
- aName = OUString();
+ aName.clear();
}
else
{
OUString aDefaultPageName( SD_RESSTR(STR_PAGE) + " " );
if( aName.startsWith( aDefaultPageName ) )
- aName = OUString();
+ aName.clear();
}
GetPage()->SetName( aName );