summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-13 10:43:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-13 10:53:27 +0100
commitabbe7d8219b48405f48d7cec22e5c4dcb4515451 (patch)
tree95f7b725b9342ea2e96cde5b9d7e654618781ea5 /sc
parent1ddd165418d72536e494ce6d2a078ab1ef3b20c9 (diff)
Presumably this is what was intended
...in 70af05cf740d3b4639f110489dc0e9e1e7571931 "Convert Calc page header/footer content to Widget UI" Change-Id: I327318b6fc45a2e63c6398d657e766ac9b471324
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/pagedlg/scuitphfedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index d01f01c4265d..8ab48212ac61 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -804,7 +804,7 @@ IMPL_LINK( ScHFEditPage, MenuHdl, ScExtIButton*, pBtn )
if(pBtn!=NULL)
{
- OSL_ENSURE( true, pBtn->GetSelected());
+ SAL_WARN_IF(pBtn->GetSelected() == 0, "sc.ui", "nothing selected");
OString sSelectedId = pBtn->GetSelectedIdent();
if (sSelectedId == "title")