summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwsh3.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index c74de5aed9b2..d8d482738f3b 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -190,8 +190,10 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
case SID_DELETE_PRINTAREA:
{
+ // Clear currently defined print range if any, and reset it to
+ // print entire sheet which is the default.
OUString aEmpty;
- SetPrintRanges( false, &aEmpty, NULL, NULL, false ); // Druckbereich loeschen
+ SetPrintRanges(true, &aEmpty, NULL, NULL, false);
rReq.Done();
}
break;